/// <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 SqlTest1_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction SqlTest1_PretestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition bookTitleIsHarryPotter; this.SqlTest1Data = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); SqlTest1_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); SqlTest1_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); bookTitleIsHarryPotter = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); // // SqlTest1Data // this.SqlTest1Data.PosttestAction = null; this.SqlTest1Data.PretestAction = SqlTest1_PretestAction; this.SqlTest1Data.TestAction = SqlTest1_TestAction; // // SqlTest1_TestAction // SqlTest1_TestAction.Conditions.Add(bookTitleIsHarryPotter); resources.ApplyResources(SqlTest1_TestAction, "SqlTest1_TestAction"); // // SqlTest1_PretestAction // resources.ApplyResources(SqlTest1_PretestAction, "SqlTest1_PretestAction"); // // bookTitleIsHarryPotter // bookTitleIsHarryPotter.ColumnNumber = 1; bookTitleIsHarryPotter.Enabled = true; bookTitleIsHarryPotter.ExpectedValue = "Harry Potter and the Sorcerers Stone"; bookTitleIsHarryPotter.Name = "bookTitleIsHarryPotter"; bookTitleIsHarryPotter.NullExpected = false; bookTitleIsHarryPotter.ResultSet = 1; bookTitleIsHarryPotter.RowNumber = 1; }
/// <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; }