/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CopyNation_UsingDefaultProcedure_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CopyNationTests)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksum; this.CopyNation_UsingDefaultProcedureData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); CopyNation_UsingDefaultProcedure_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // CopyNation_UsingDefaultProcedure_TestAction // CopyNation_UsingDefaultProcedure_TestAction.Conditions.Add(checksum); resources.ApplyResources(CopyNation_UsingDefaultProcedure_TestAction, "CopyNation_UsingDefaultProcedure_TestAction"); // // checksum // checksum.Checksum = "1636896192"; checksum.Enabled = true; checksum.Name = "checksum"; // // CopyNation_UsingDefaultProcedureData // this.CopyNation_UsingDefaultProcedureData.PosttestAction = null; this.CopyNation_UsingDefaultProcedureData.PretestAction = null; this.CopyNation_UsingDefaultProcedureData.TestAction = CopyNation_UsingDefaultProcedure_TestAction; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspCreateNewCustomerTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DatabaseDevopsUnitTests)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountConditionCreateNewCustomer; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspPlaceNewOrderTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueConditionPlaceNewOrder; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspShowOrderDetailsTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspPlaceNewOrderTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspShowOrderDetailsTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction Sales_uspCreateNewCustomerTest_PretestAction; this.Sales_uspCreateNewCustomerTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.Sales_uspPlaceNewOrderTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.Sales_uspShowOrderDetailsTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); Sales_uspCreateNewCustomerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountConditionCreateNewCustomer = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); Sales_uspPlaceNewOrderTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); scalarValueConditionPlaceNewOrder = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); Sales_uspShowOrderDetailsTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); expectedSchemaCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); Sales_uspPlaceNewOrderTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); Sales_uspShowOrderDetailsTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); Sales_uspCreateNewCustomerTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); // // Sales_uspCreateNewCustomerTest_TestAction // Sales_uspCreateNewCustomerTest_TestAction.Conditions.Add(rowCountConditionCreateNewCustomer); resources.ApplyResources(Sales_uspCreateNewCustomerTest_TestAction, "Sales_uspCreateNewCustomerTest_TestAction"); // // rowCountConditionCreateNewCustomer // rowCountConditionCreateNewCustomer.Enabled = true; rowCountConditionCreateNewCustomer.Name = "rowCountConditionCreateNewCustomer"; rowCountConditionCreateNewCustomer.ResultSet = 1; rowCountConditionCreateNewCustomer.RowCount = 1; // // Sales_uspPlaceNewOrderTest_TestAction // Sales_uspPlaceNewOrderTest_TestAction.Conditions.Add(scalarValueConditionPlaceNewOrder); resources.ApplyResources(Sales_uspPlaceNewOrderTest_TestAction, "Sales_uspPlaceNewOrderTest_TestAction"); // // scalarValueConditionPlaceNewOrder // scalarValueConditionPlaceNewOrder.ColumnNumber = 1; scalarValueConditionPlaceNewOrder.Enabled = true; scalarValueConditionPlaceNewOrder.ExpectedValue = "100"; scalarValueConditionPlaceNewOrder.Name = "scalarValueConditionPlaceNewOrder"; scalarValueConditionPlaceNewOrder.NullExpected = false; scalarValueConditionPlaceNewOrder.ResultSet = 1; scalarValueConditionPlaceNewOrder.RowNumber = 1; // // Sales_uspShowOrderDetailsTest_TestAction // Sales_uspShowOrderDetailsTest_TestAction.Conditions.Add(expectedSchemaCondition1); Sales_uspShowOrderDetailsTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(Sales_uspShowOrderDetailsTest_TestAction, "Sales_uspShowOrderDetailsTest_TestAction"); // // expectedSchemaCondition1 // expectedSchemaCondition1.Enabled = true; expectedSchemaCondition1.Name = "expectedSchemaCondition1"; resources.ApplyResources(expectedSchemaCondition1, "expectedSchemaCondition1"); expectedSchemaCondition1.Verbose = false; // // checksumCondition1 // checksumCondition1.Checksum = "-1979831374"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // Sales_uspPlaceNewOrderTest_PretestAction // resources.ApplyResources(Sales_uspPlaceNewOrderTest_PretestAction, "Sales_uspPlaceNewOrderTest_PretestAction"); // // Sales_uspShowOrderDetailsTest_PretestAction // resources.ApplyResources(Sales_uspShowOrderDetailsTest_PretestAction, "Sales_uspShowOrderDetailsTest_PretestAction"); // // Sales_uspCreateNewCustomerTest_PretestAction // resources.ApplyResources(Sales_uspCreateNewCustomerTest_PretestAction, "Sales_uspCreateNewCustomerTest_PretestAction"); // // Sales_uspCreateNewCustomerTestData // this.Sales_uspCreateNewCustomerTestData.PosttestAction = null; this.Sales_uspCreateNewCustomerTestData.PretestAction = Sales_uspCreateNewCustomerTest_PretestAction; this.Sales_uspCreateNewCustomerTestData.TestAction = Sales_uspCreateNewCustomerTest_TestAction; // // Sales_uspPlaceNewOrderTestData // this.Sales_uspPlaceNewOrderTestData.PosttestAction = null; this.Sales_uspPlaceNewOrderTestData.PretestAction = Sales_uspPlaceNewOrderTest_PretestAction; this.Sales_uspPlaceNewOrderTestData.TestAction = Sales_uspPlaceNewOrderTest_TestAction; // // Sales_uspShowOrderDetailsTestData // this.Sales_uspShowOrderDetailsTestData.PosttestAction = null; this.Sales_uspShowOrderDetailsTestData.PretestAction = Sales_uspShowOrderDetailsTest_PretestAction; this.Sales_uspShowOrderDetailsTestData.TestAction = Sales_uspShowOrderDetailsTest_TestAction; }