/// <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 Chronological_DateAsIntegerTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScalarFunctionTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     this.Chronological_DateAsIntegerTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     Chronological_DateAsIntegerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // Chronological_DateAsIntegerTest_TestAction
     //
     Chronological_DateAsIntegerTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(Chronological_DateAsIntegerTest_TestAction, "Chronological_DateAsIntegerTest_TestAction");
     //
     // Chronological_DateAsIntegerTestData
     //
     this.Chronological_DateAsIntegerTestData.PosttestAction = null;
     this.Chronological_DateAsIntegerTestData.PretestAction  = null;
     this.Chronological_DateAsIntegerTestData.TestAction     = Chronological_DateAsIntegerTest_TestAction;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "20190101";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.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 dbo_TestFunctionReturnOnlyTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestFunctionReturnOnlyUnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Result;
     this.dbo_TestFunctionReturnOnlyTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_TestFunctionReturnOnlyTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Result = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_TestFunctionReturnOnlyTest_TestAction
     //
     dbo_TestFunctionReturnOnlyTest_TestAction.Conditions.Add(Result);
     resources.ApplyResources(dbo_TestFunctionReturnOnlyTest_TestAction, "dbo_TestFunctionReturnOnlyTest_TestAction");
     //
     // dbo_TestFunctionReturnOnlyTestData
     //
     this.dbo_TestFunctionReturnOnlyTestData.PosttestAction = null;
     this.dbo_TestFunctionReturnOnlyTestData.PretestAction  = null;
     this.dbo_TestFunctionReturnOnlyTestData.TestAction     = dbo_TestFunctionReturnOnlyTest_TestAction;
     //
     // Result
     //
     Result.ColumnNumber  = 1;
     Result.Enabled       = true;
     Result.ExpectedValue = "3";
     Result.Name          = "Result";
     Result.NullExpected  = false;
     Result.ResultSet     = 1;
     Result.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 dbo_GetStaticDateTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GetStaticDate));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     this.dbo_GetStaticDateTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_GetStaticDateTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_GetStaticDateTest_TestAction
     //
     dbo_GetStaticDateTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(dbo_GetStaticDateTest_TestAction, "dbo_GetStaticDateTest_TestAction");
     //
     // dbo_GetStaticDateTestData
     //
     this.dbo_GetStaticDateTestData.PosttestAction = null;
     this.dbo_GetStaticDateTestData.PretestAction  = null;
     this.dbo_GetStaticDateTestData.TestAction     = dbo_GetStaticDateTest_TestAction;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "2018-06-29";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
 }
Пример #4
0
 /// <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 dbo_CalculateSalaryTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CalculateSalaryTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     this.dbo_CalculateSalaryTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_CalculateSalaryTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_CalculateSalaryTest_TestAction
     //
     dbo_CalculateSalaryTest_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_CalculateSalaryTest_TestAction.SqlScript = resources.GetString("dbo_CalculateSalaryTest_TestAction.SqlScript");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "7912.09";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // dbo_CalculateSalaryTestData
     //
     this.dbo_CalculateSalaryTestData.PosttestAction = null;
     this.dbo_CalculateSalaryTestData.PretestAction  = null;
     this.dbo_CalculateSalaryTestData.TestAction     = dbo_CalculateSalaryTest_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 dbo_ATable_UnitTests_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dbo_ATable_Testing));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition dbo_ATable_UnitTests_TableExists;
     this.dbo_ATable_UnitTestsData    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_ATable_UnitTests_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_ATable_UnitTests_TableExists = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_ATable_UnitTests_TestAction
     //
     dbo_ATable_UnitTests_TestAction.Conditions.Add(dbo_ATable_UnitTests_TableExists);
     resources.ApplyResources(dbo_ATable_UnitTests_TestAction, "dbo_ATable_UnitTests_TestAction");
     //
     // dbo_ATable_UnitTestsData
     //
     this.dbo_ATable_UnitTestsData.PosttestAction = null;
     this.dbo_ATable_UnitTestsData.PretestAction  = null;
     this.dbo_ATable_UnitTestsData.TestAction     = dbo_ATable_UnitTests_TestAction;
     //
     // dbo_ATable_UnitTests_TableExists
     //
     dbo_ATable_UnitTests_TableExists.ColumnNumber  = 1;
     dbo_ATable_UnitTests_TableExists.Enabled       = true;
     dbo_ATable_UnitTests_TableExists.ExpectedValue = "True";
     dbo_ATable_UnitTests_TableExists.Name          = "dbo_ATable_UnitTests_TableExists";
     dbo_ATable_UnitTests_TableExists.NullExpected  = false;
     dbo_ATable_UnitTests_TableExists.ResultSet     = 1;
     dbo_ATable_UnitTests_TableExists.RowNumber     = 1;
 }
Пример #6
0
 /// <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 dbo_fn_remove_lettersTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fn_remove_letters));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           TableNaming_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     this.dbo_fn_remove_lettersTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.TableNamingData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_fn_remove_lettersTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     TableNaming_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition2  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_fn_remove_lettersTest_TestAction
     //
     dbo_fn_remove_lettersTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(dbo_fn_remove_lettersTest_TestAction, "dbo_fn_remove_lettersTest_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "999";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // dbo_fn_remove_lettersTestData
     //
     this.dbo_fn_remove_lettersTestData.PosttestAction = null;
     this.dbo_fn_remove_lettersTestData.PretestAction  = null;
     this.dbo_fn_remove_lettersTestData.TestAction     = dbo_fn_remove_lettersTest_TestAction;
     //
     // TableNamingData
     //
     this.TableNamingData.PosttestAction = null;
     this.TableNamingData.PretestAction  = null;
     this.TableNamingData.TestAction     = TableNaming_TestAction;
     //
     // TableNaming_TestAction
     //
     TableNaming_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(TableNaming_TestAction, "TableNaming_TestAction");
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "0";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.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 dbo_sp_update_RecommendShirtColorTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(sp_update_RecommendShirtColor_UnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_sp_update_RecommendShirtColorTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     this.dbo_sp_update_RecommendShirtColorTestData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_sp_update_RecommendShirtColorTest_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_sp_update_RecommendShirtColorTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_sp_update_RecommendShirtColorTest_TestAction
     //
     dbo_sp_update_RecommendShirtColorTest_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_sp_update_RecommendShirtColorTest_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_sp_update_RecommendShirtColorTest_TestAction, "dbo_sp_update_RecommendShirtColorTest_TestAction");
     //
     // dbo_sp_update_RecommendShirtColorTestData
     //
     this.dbo_sp_update_RecommendShirtColorTestData.PosttestAction = null;
     this.dbo_sp_update_RecommendShirtColorTestData.PretestAction  = dbo_sp_update_RecommendShirtColorTest_PretestAction;
     this.dbo_sp_update_RecommendShirtColorTestData.TestAction     = dbo_sp_update_RecommendShirtColorTest_TestAction;
     //
     // dbo_sp_update_RecommendShirtColorTest_PretestAction
     //
     resources.ApplyResources(dbo_sp_update_RecommendShirtColorTest_PretestAction, "dbo_sp_update_RecommendShirtColorTest_PretestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "red";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 2;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "orange";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.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 dbo_sp_update_RecommendShirtColorTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(sp_update_RecommendShirtColor_UnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_sp_update_RecommendShirtColorTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     this.dbo_sp_update_RecommendShirtColorTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_sp_update_RecommendShirtColorTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_sp_update_RecommendShirtColorTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_sp_update_RecommendShirtColorTest_TestAction
     //
     dbo_sp_update_RecommendShirtColorTest_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_sp_update_RecommendShirtColorTest_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_sp_update_RecommendShirtColorTest_TestAction, "dbo_sp_update_RecommendShirtColorTest_TestAction");
     //
     // dbo_sp_update_RecommendShirtColorTestData
     //
     this.dbo_sp_update_RecommendShirtColorTestData.PosttestAction = null;
     this.dbo_sp_update_RecommendShirtColorTestData.PretestAction = dbo_sp_update_RecommendShirtColorTest_PretestAction;
     this.dbo_sp_update_RecommendShirtColorTestData.TestAction = dbo_sp_update_RecommendShirtColorTest_TestAction;
     //
     // dbo_sp_update_RecommendShirtColorTest_PretestAction
     //
     resources.ApplyResources(dbo_sp_update_RecommendShirtColorTest_PretestAction, "dbo_sp_update_RecommendShirtColorTest_PretestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber = 1;
     scalarValueCondition1.Enabled = true;
     scalarValueCondition1.ExpectedValue = "red";
     scalarValueCondition1.Name = "scalarValueCondition1";
     scalarValueCondition1.NullExpected = false;
     scalarValueCondition1.ResultSet = 1;
     scalarValueCondition1.RowNumber = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber = 2;
     scalarValueCondition2.Enabled = true;
     scalarValueCondition2.ExpectedValue = "orange";
     scalarValueCondition2.Name = "scalarValueCondition2";
     scalarValueCondition2.NullExpected = false;
     scalarValueCondition2.ResultSet = 1;
     scalarValueCondition2.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 dbo_TestProcedureWParametersTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestProcedureWParametersUnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition ReturnValue;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition OutputParam;
     this.dbo_TestProcedureWParametersTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_TestProcedureWParametersTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ReturnValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     OutputParam = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_TestProcedureWParametersTest_TestAction
     //
     dbo_TestProcedureWParametersTest_TestAction.Conditions.Add(ReturnValue);
     dbo_TestProcedureWParametersTest_TestAction.Conditions.Add(OutputParam);
     resources.ApplyResources(dbo_TestProcedureWParametersTest_TestAction, "dbo_TestProcedureWParametersTest_TestAction");
     //
     // ReturnValue
     //
     ReturnValue.ColumnNumber  = 1;
     ReturnValue.Enabled       = true;
     ReturnValue.ExpectedValue = "0";
     ReturnValue.Name          = "ReturnValue";
     ReturnValue.NullExpected  = false;
     ReturnValue.ResultSet     = 1;
     ReturnValue.RowNumber     = 1;
     //
     // OutputParam
     //
     OutputParam.ColumnNumber  = 2;
     OutputParam.Enabled       = true;
     OutputParam.ExpectedValue = "26";
     OutputParam.Name          = "OutputParam";
     OutputParam.NullExpected  = false;
     OutputParam.ResultSet     = 1;
     OutputParam.RowNumber     = 1;
     //
     // dbo_TestProcedureWParametersTestData
     //
     this.dbo_TestProcedureWParametersTestData.PosttestAction = null;
     this.dbo_TestProcedureWParametersTestData.PretestAction  = null;
     this.dbo_TestProcedureWParametersTestData.TestAction     = dbo_TestProcedureWParametersTest_TestAction;
 }
Пример #10
0
 /// <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 dbo_uspGetBillOfMaterialsTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(uspGetBillOfMaterials));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountConditionIsTrue;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueConditionComponentId;
     this.dbo_uspGetBillOfMaterialsTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_uspGetBillOfMaterialsTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountConditionIsTrue         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueConditionComponentId = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_uspGetBillOfMaterialsTest_TestAction
     //
     dbo_uspGetBillOfMaterialsTest_TestAction.Conditions.Add(rowCountConditionIsTrue);
     dbo_uspGetBillOfMaterialsTest_TestAction.Conditions.Add(scalarValueConditionComponentId);
     resources.ApplyResources(dbo_uspGetBillOfMaterialsTest_TestAction, "dbo_uspGetBillOfMaterialsTest_TestAction");
     //
     // rowCountConditionIsTrue
     //
     rowCountConditionIsTrue.Enabled   = true;
     rowCountConditionIsTrue.Name      = "rowCountConditionIsTrue";
     rowCountConditionIsTrue.ResultSet = 1;
     rowCountConditionIsTrue.RowCount  = 6;
     //
     // scalarValueConditionComponentId
     //
     scalarValueConditionComponentId.ColumnNumber  = 2;
     scalarValueConditionComponentId.Enabled       = true;
     scalarValueConditionComponentId.ExpectedValue = "323";
     scalarValueConditionComponentId.Name          = "scalarValueConditionComponentId";
     scalarValueConditionComponentId.NullExpected  = false;
     scalarValueConditionComponentId.ResultSet     = 1;
     scalarValueConditionComponentId.RowNumber     = 3;
     //
     // dbo_uspGetBillOfMaterialsTestData
     //
     this.dbo_uspGetBillOfMaterialsTestData.PosttestAction = null;
     this.dbo_uspGetBillOfMaterialsTestData.PretestAction  = null;
     this.dbo_uspGetBillOfMaterialsTestData.TestAction     = dbo_uspGetBillOfMaterialsTest_TestAction;
 }
Пример #11
0
 /// <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 dbo_ListProductsByCategoryTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ListProductsByCategoryUnitTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     this.dbo_ListProductsByCategoryTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_ListProductsByCategoryTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     rowCountCondition1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     //
     // dbo_ListProductsByCategoryTest_TestAction
     //
     dbo_ListProductsByCategoryTest_TestAction.Conditions.Add(scalarValueCondition2);
     dbo_ListProductsByCategoryTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dbo_ListProductsByCategoryTest_TestAction, "dbo_ListProductsByCategoryTest_TestAction");
     //
     // dbo_ListProductsByCategoryTestData
     //
     this.dbo_ListProductsByCategoryTestData.PosttestAction = null;
     this.dbo_ListProductsByCategoryTestData.PretestAction  = null;
     this.dbo_ListProductsByCategoryTestData.TestAction     = dbo_ListProductsByCategoryTest_TestAction;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 2;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "Test Product";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
 }
Пример #12
0
 /// <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 dbo_Test1_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SchemaTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Dbo_Test1_Exists;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testCleanupAction;
     this.dbo_Test1Data   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_Test1_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Dbo_Test1_Exists     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     testCleanupAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // dbo_Test1_TestAction
     //
     dbo_Test1_TestAction.Conditions.Add(Dbo_Test1_Exists);
     resources.ApplyResources(dbo_Test1_TestAction, "dbo_Test1_TestAction");
     //
     // Dbo_Test1_Exists
     //
     Dbo_Test1_Exists.ColumnNumber  = 1;
     Dbo_Test1_Exists.Enabled       = false;
     Dbo_Test1_Exists.ExpectedValue = "1";
     Dbo_Test1_Exists.Name          = "Dbo_Test1_Exists";
     Dbo_Test1_Exists.NullExpected  = false;
     Dbo_Test1_Exists.ResultSet     = 1;
     Dbo_Test1_Exists.RowNumber     = 1;
     //
     // testCleanupAction
     //
     resources.ApplyResources(testCleanupAction, "testCleanupAction");
     //
     // dbo_Test1Data
     //
     this.dbo_Test1Data.PosttestAction = null;
     this.dbo_Test1Data.PretestAction  = null;
     this.dbo_Test1Data.TestAction     = dbo_Test1_TestAction;
     //
     // SchemaTests
     //
     this.TestCleanupAction = testCleanupAction;
 }
 /// <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 dbo_ufnGetCustomerSalesCountTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ufnGetCustomerSalesCount));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition ScalarValue12;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountIs1;
     this.dbo_ufnGetCustomerSalesCountTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_ufnGetCustomerSalesCountTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ScalarValue12 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     rowCountIs1   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     //
     // dbo_ufnGetCustomerSalesCountTestData
     //
     this.dbo_ufnGetCustomerSalesCountTestData.PosttestAction = null;
     this.dbo_ufnGetCustomerSalesCountTestData.PretestAction  = null;
     this.dbo_ufnGetCustomerSalesCountTestData.TestAction     = dbo_ufnGetCustomerSalesCountTest_TestAction;
     //
     // dbo_ufnGetCustomerSalesCountTest_TestAction
     //
     dbo_ufnGetCustomerSalesCountTest_TestAction.Conditions.Add(ScalarValue12);
     dbo_ufnGetCustomerSalesCountTest_TestAction.Conditions.Add(rowCountIs1);
     resources.ApplyResources(dbo_ufnGetCustomerSalesCountTest_TestAction, "dbo_ufnGetCustomerSalesCountTest_TestAction");
     //
     // ScalarValue12
     //
     ScalarValue12.ColumnNumber  = 1;
     ScalarValue12.Enabled       = true;
     ScalarValue12.ExpectedValue = "12";
     ScalarValue12.Name          = "ScalarValue12";
     ScalarValue12.NullExpected  = false;
     ScalarValue12.ResultSet     = 1;
     ScalarValue12.RowNumber     = 1;
     //
     // rowCountIs1
     //
     rowCountIs1.Enabled   = true;
     rowCountIs1.Name      = "rowCountIs1";
     rowCountIs1.ResultSet = 1;
     rowCountIs1.RowCount  = 1;
 }
Пример #14
0
 /// <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 dbo_TestDangNhapTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestDangNhap));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition KhongCoGiaTriNullTraVe;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       TraVeMSSV;
     this.dbo_TestDangNhapTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_TestDangNhapTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     KhongCoGiaTriNullTraVe          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     TraVeMSSV = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_TestDangNhapTest_TestAction
     //
     dbo_TestDangNhapTest_TestAction.Conditions.Add(KhongCoGiaTriNullTraVe);
     dbo_TestDangNhapTest_TestAction.Conditions.Add(TraVeMSSV);
     resources.ApplyResources(dbo_TestDangNhapTest_TestAction, "dbo_TestDangNhapTest_TestAction");
     //
     // KhongCoGiaTriNullTraVe
     //
     KhongCoGiaTriNullTraVe.Enabled   = true;
     KhongCoGiaTriNullTraVe.Name      = "KhongCoGiaTriNullTraVe";
     KhongCoGiaTriNullTraVe.ResultSet = 1;
     //
     // TraVeMSSV
     //
     TraVeMSSV.ColumnNumber  = 1;
     TraVeMSSV.Enabled       = true;
     TraVeMSSV.ExpectedValue = "1551010046";
     TraVeMSSV.Name          = "TraVeMSSV";
     TraVeMSSV.NullExpected  = false;
     TraVeMSSV.ResultSet     = 1;
     TraVeMSSV.RowNumber     = 1;
     //
     // dbo_TestDangNhapTestData
     //
     this.dbo_TestDangNhapTestData.PosttestAction = null;
     this.dbo_TestDangNhapTestData.PretestAction  = null;
     this.dbo_TestDangNhapTestData.TestAction     = dbo_TestDangNhapTest_TestAction;
 }
Пример #15
0
 /// <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 simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScalarFunctions_SimSig));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition chk_FN_GET_LOCATIONNODE_NODEID_correct_value;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction;
     this.simsig_Fn_GET_LOCATIONNODE_NODEIDTestData       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction
     //
     simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction.Conditions.Add(chk_FN_GET_LOCATIONNODE_NODEID_correct_value);
     resources.ApplyResources(simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction, "simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction");
     //
     // simsig_Fn_GET_LOCATIONNODE_NODEIDTestData
     //
     this.simsig_Fn_GET_LOCATIONNODE_NODEIDTestData.PosttestAction = simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction;
     this.simsig_Fn_GET_LOCATIONNODE_NODEIDTestData.PretestAction  = null;
     this.simsig_Fn_GET_LOCATIONNODE_NODEIDTestData.TestAction     = simsig_Fn_GET_LOCATIONNODE_NODEIDTest_TestAction;
     //
     // chk_FN_GET_LOCATIONNODE_NODEID_correct_value
     //
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.ColumnNumber  = 1;
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.Enabled       = true;
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.ExpectedValue = "true";
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.Name          = "chk_FN_GET_LOCATIONNODE_NODEID_correct_value";
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.NullExpected  = false;
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.ResultSet     = 1;
     chk_FN_GET_LOCATIONNODE_NODEID_correct_value.RowNumber     = 1;
     //
     // simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction
     //
     resources.ApplyResources(simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction, "simsig_Fn_GET_LOCATIONNODE_NODEIDTest_PosttestAction");
 }
Пример #16
0
 /// <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 dbo_t_RecalcSalaryTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NapkinTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    positionLookupFail;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    positionLookupSuccess;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition       insertResult;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    calculationResult1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    calculationResult2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition deleteResult;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    baseSalary;
     this.dbo_t_RecalcSalaryTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_t_RecalcSalaryTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     positionLookupFail    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     positionLookupSuccess = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     insertResult          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     calculationResult1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     calculationResult2    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     deleteResult          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition();
     baseSalary            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_t_RecalcSalaryTest_TestAction
     //
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(positionLookupFail);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(positionLookupSuccess);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(insertResult);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(calculationResult1);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(calculationResult2);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(deleteResult);
     dbo_t_RecalcSalaryTest_TestAction.Conditions.Add(baseSalary);
     resources.ApplyResources(dbo_t_RecalcSalaryTest_TestAction, "dbo_t_RecalcSalaryTest_TestAction");
     //
     // dbo_t_RecalcSalaryTestData
     //
     this.dbo_t_RecalcSalaryTestData.PosttestAction = null;
     this.dbo_t_RecalcSalaryTestData.PretestAction  = null;
     this.dbo_t_RecalcSalaryTestData.TestAction     = dbo_t_RecalcSalaryTest_TestAction;
     //
     // positionLookupFail
     //
     positionLookupFail.ColumnNumber  = 1;
     positionLookupFail.Enabled       = true;
     positionLookupFail.ExpectedValue = null;
     positionLookupFail.Name          = "positionLookupFail";
     positionLookupFail.NullExpected  = true;
     positionLookupFail.ResultSet     = 1;
     positionLookupFail.RowNumber     = 1;
     //
     // positionLookupSuccess
     //
     positionLookupSuccess.ColumnNumber  = 1;
     positionLookupSuccess.Enabled       = true;
     positionLookupSuccess.ExpectedValue = "1";
     positionLookupSuccess.Name          = "positionLookupSuccess";
     positionLookupSuccess.NullExpected  = false;
     positionLookupSuccess.ResultSet     = 2;
     positionLookupSuccess.RowNumber     = 1;
     //
     // insertResult
     //
     insertResult.Enabled   = true;
     insertResult.Name      = "insertResult";
     insertResult.ResultSet = 4;
     insertResult.RowCount  = 1;
     //
     // calculationResult1
     //
     calculationResult1.ColumnNumber  = 1;
     calculationResult1.Enabled       = true;
     calculationResult1.ExpectedValue = "1380";
     calculationResult1.Name          = "calculationResult1";
     calculationResult1.NullExpected  = false;
     calculationResult1.ResultSet     = 4;
     calculationResult1.RowNumber     = 1;
     //
     // calculationResult2
     //
     calculationResult2.ColumnNumber  = 2;
     calculationResult2.Enabled       = true;
     calculationResult2.ExpectedValue = "2180";
     calculationResult2.Name          = "calculationResult2";
     calculationResult2.NullExpected  = false;
     calculationResult2.ResultSet     = 4;
     calculationResult2.RowNumber     = 1;
     //
     // deleteResult
     //
     deleteResult.Enabled   = true;
     deleteResult.Name      = "deleteResult";
     deleteResult.ResultSet = 5;
     //
     // baseSalary
     //
     baseSalary.ColumnNumber  = 1;
     baseSalary.Enabled       = true;
     baseSalary.ExpectedValue = "1200";
     baseSalary.Name          = "baseSalary";
     baseSalary.NullExpected  = false;
     baseSalary.ResultSet     = 3;
     baseSalary.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              dbo_GetDepartmentNameTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition       checksumGetDepartmentName;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition       rowCountGetDepartmentName;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaGetDepartmentName;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GetDepartmentNameTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetGetDepartmentName;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       scalarValueGetDepartmentName;
     this.dbo_GetDepartmentNameTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_GetDepartmentNameTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     checksumGetDepartmentName            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     rowCountGetDepartmentName            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     expectedSchemaGetDepartmentName      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition();
     notEmptyResultSetGetDepartmentName   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     scalarValueGetDepartmentName         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_GetDepartmentNameTestData
     //
     this.dbo_GetDepartmentNameTestData.PosttestAction = null;
     this.dbo_GetDepartmentNameTestData.PretestAction  = null;
     this.dbo_GetDepartmentNameTestData.TestAction     = dbo_GetDepartmentNameTest_TestAction;
     //
     // dbo_GetDepartmentNameTest_TestAction
     //
     dbo_GetDepartmentNameTest_TestAction.Conditions.Add(checksumGetDepartmentName);
     dbo_GetDepartmentNameTest_TestAction.Conditions.Add(rowCountGetDepartmentName);
     dbo_GetDepartmentNameTest_TestAction.Conditions.Add(expectedSchemaGetDepartmentName);
     dbo_GetDepartmentNameTest_TestAction.Conditions.Add(notEmptyResultSetGetDepartmentName);
     dbo_GetDepartmentNameTest_TestAction.Conditions.Add(scalarValueGetDepartmentName);
     resources.ApplyResources(dbo_GetDepartmentNameTest_TestAction, "dbo_GetDepartmentNameTest_TestAction");
     //
     // checksumGetDepartmentName
     //
     checksumGetDepartmentName.Checksum = "-397670858";
     checksumGetDepartmentName.Enabled  = true;
     checksumGetDepartmentName.Name     = "checksumGetDepartmentName";
     //
     // rowCountGetDepartmentName
     //
     rowCountGetDepartmentName.Enabled   = true;
     rowCountGetDepartmentName.Name      = "rowCountGetDepartmentName";
     rowCountGetDepartmentName.ResultSet = 1;
     rowCountGetDepartmentName.RowCount  = 1;
     //
     // expectedSchemaGetDepartmentName
     //
     expectedSchemaGetDepartmentName.Enabled = true;
     expectedSchemaGetDepartmentName.Name    = "expectedSchemaGetDepartmentName";
     resources.ApplyResources(expectedSchemaGetDepartmentName, "expectedSchemaGetDepartmentName");
     expectedSchemaGetDepartmentName.Verbose = false;
     //
     // notEmptyResultSetGetDepartmentName
     //
     notEmptyResultSetGetDepartmentName.Enabled   = true;
     notEmptyResultSetGetDepartmentName.Name      = "notEmptyResultSetGetDepartmentName";
     notEmptyResultSetGetDepartmentName.ResultSet = 1;
     //
     // scalarValueGetDepartmentName
     //
     scalarValueGetDepartmentName.ColumnNumber  = 1;
     scalarValueGetDepartmentName.Enabled       = true;
     scalarValueGetDepartmentName.ExpectedValue = "0";
     scalarValueGetDepartmentName.Name          = "scalarValueGetDepartmentName";
     scalarValueGetDepartmentName.NullExpected  = false;
     scalarValueGetDepartmentName.ResultSet     = 1;
     scalarValueGetDepartmentName.RowNumber     = 1;
 }
Пример #18
0
 /// <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 debug_Usp_INSERT_TEVENTTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StoredProcs_Audit));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition chk_NoSessionContext_Error;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition chk_InvalidSourceObjectID_Error;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_SessionID;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_EventDateTime;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_SourceObjectID;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_Event;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_DBUser;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_AppID;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition check_Insert_AppUserID;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           debug_Usp_INSERT_TEVENTTest_PosttestAction;
     this.debug_Usp_INSERT_TEVENTTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     debug_Usp_INSERT_TEVENTTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     chk_NoSessionContext_Error             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     chk_InvalidSourceObjectID_Error        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_SessionID      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_EventDateTime  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_SourceObjectID = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_Event          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_DBUser         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_AppID          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     check_Insert_AppUserID      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     debug_Usp_INSERT_TEVENTTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // debug_Usp_INSERT_TEVENTTest_TestAction
     //
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(chk_NoSessionContext_Error);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(chk_InvalidSourceObjectID_Error);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_SessionID);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_EventDateTime);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_SourceObjectID);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_Event);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_DBUser);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_AppID);
     debug_Usp_INSERT_TEVENTTest_TestAction.Conditions.Add(check_Insert_AppUserID);
     resources.ApplyResources(debug_Usp_INSERT_TEVENTTest_TestAction, "debug_Usp_INSERT_TEVENTTest_TestAction");
     //
     // chk_NoSessionContext_Error
     //
     chk_NoSessionContext_Error.ColumnNumber  = 1;
     chk_NoSessionContext_Error.Enabled       = true;
     chk_NoSessionContext_Error.ExpectedValue = "Error executing [audit].[USp_INSERT_TEVENT]: - The user is not logged in.";
     chk_NoSessionContext_Error.Name          = "chk_NoSessionContext_Error";
     chk_NoSessionContext_Error.NullExpected  = false;
     chk_NoSessionContext_Error.ResultSet     = 1;
     chk_NoSessionContext_Error.RowNumber     = 1;
     //
     // chk_InvalidSourceObjectID_Error
     //
     chk_InvalidSourceObjectID_Error.ColumnNumber  = 1;
     chk_InvalidSourceObjectID_Error.Enabled       = true;
     chk_InvalidSourceObjectID_Error.ExpectedValue = "Error executing [audit].[USp_INSERT_TEVENT]: - @object_id 10000001 is not a valid" +
                                                     " object.";
     chk_InvalidSourceObjectID_Error.Name         = "chk_InvalidSourceObjectID_Error";
     chk_InvalidSourceObjectID_Error.NullExpected = false;
     chk_InvalidSourceObjectID_Error.ResultSet    = 2;
     chk_InvalidSourceObjectID_Error.RowNumber    = 1;
     //
     // check_Insert_SessionID
     //
     check_Insert_SessionID.ColumnNumber  = 1;
     check_Insert_SessionID.Enabled       = true;
     check_Insert_SessionID.ExpectedValue = "true";
     check_Insert_SessionID.Name          = "check_Insert_SessionID";
     check_Insert_SessionID.NullExpected  = false;
     check_Insert_SessionID.ResultSet     = 3;
     check_Insert_SessionID.RowNumber     = 1;
     //
     // check_Insert_EventDateTime
     //
     check_Insert_EventDateTime.ColumnNumber  = 2;
     check_Insert_EventDateTime.Enabled       = true;
     check_Insert_EventDateTime.ExpectedValue = "true";
     check_Insert_EventDateTime.Name          = "check_Insert_EventDateTime";
     check_Insert_EventDateTime.NullExpected  = false;
     check_Insert_EventDateTime.ResultSet     = 3;
     check_Insert_EventDateTime.RowNumber     = 1;
     //
     // check_Insert_SourceObjectID
     //
     check_Insert_SourceObjectID.ColumnNumber  = 3;
     check_Insert_SourceObjectID.Enabled       = true;
     check_Insert_SourceObjectID.ExpectedValue = "true";
     check_Insert_SourceObjectID.Name          = "check_Insert_SourceObjectID";
     check_Insert_SourceObjectID.NullExpected  = false;
     check_Insert_SourceObjectID.ResultSet     = 3;
     check_Insert_SourceObjectID.RowNumber     = 1;
     //
     // check_Insert_Event
     //
     check_Insert_Event.ColumnNumber  = 4;
     check_Insert_Event.Enabled       = true;
     check_Insert_Event.ExpectedValue = "Check 3";
     check_Insert_Event.Name          = "check_Insert_Event";
     check_Insert_Event.NullExpected  = false;
     check_Insert_Event.ResultSet     = 3;
     check_Insert_Event.RowNumber     = 1;
     //
     // check_Insert_DBUser
     //
     check_Insert_DBUser.ColumnNumber  = 5;
     check_Insert_DBUser.Enabled       = true;
     check_Insert_DBUser.ExpectedValue = "true";
     check_Insert_DBUser.Name          = "check_Insert_DBUser";
     check_Insert_DBUser.NullExpected  = false;
     check_Insert_DBUser.ResultSet     = 3;
     check_Insert_DBUser.RowNumber     = 1;
     //
     // check_Insert_AppID
     //
     check_Insert_AppID.ColumnNumber  = 6;
     check_Insert_AppID.Enabled       = true;
     check_Insert_AppID.ExpectedValue = "2";
     check_Insert_AppID.Name          = "check_Insert_AppID";
     check_Insert_AppID.NullExpected  = false;
     check_Insert_AppID.ResultSet     = 3;
     check_Insert_AppID.RowNumber     = 1;
     //
     // check_Insert_AppUserID
     //
     check_Insert_AppUserID.ColumnNumber  = 7;
     check_Insert_AppUserID.Enabled       = true;
     check_Insert_AppUserID.ExpectedValue = "2";
     check_Insert_AppUserID.Name          = "check_Insert_AppUserID";
     check_Insert_AppUserID.NullExpected  = false;
     check_Insert_AppUserID.ResultSet     = 3;
     check_Insert_AppUserID.RowNumber     = 1;
     //
     // debug_Usp_INSERT_TEVENTTest_PosttestAction
     //
     resources.ApplyResources(debug_Usp_INSERT_TEVENTTest_PosttestAction, "debug_Usp_INSERT_TEVENTTest_PosttestAction");
     //
     // debug_Usp_INSERT_TEVENTTestData
     //
     this.debug_Usp_INSERT_TEVENTTestData.PosttestAction = debug_Usp_INSERT_TEVENTTest_PosttestAction;
     this.debug_Usp_INSERT_TEVENTTestData.PretestAction  = null;
     this.debug_Usp_INSERT_TEVENTTestData.TestAction     = debug_Usp_INSERT_TEVENTTest_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 audit_up_CreateRejectsLogTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UTst));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition6;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction audit_up_CreateRejectsLogTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction audit_up_CreateRejectsLogTest_PosttestAction;
     this.audit_up_CreateRejectsLogTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     audit_up_CreateRejectsLogTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     audit_up_CreateRejectsLogTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     audit_up_CreateRejectsLogTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     // 
     // audit_up_CreateRejectsLogTest_TestAction
     // 
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(rowCountCondition1);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition1);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition2);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition3);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition4);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition5);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(scalarValueCondition6);
     audit_up_CreateRejectsLogTest_TestAction.Conditions.Add(checksumCondition1);
     resources.ApplyResources(audit_up_CreateRejectsLogTest_TestAction, "audit_up_CreateRejectsLogTest_TestAction");
     // 
     // rowCountCondition1
     // 
     rowCountCondition1.Enabled = true;
     rowCountCondition1.Name = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount = 1;
     // 
     // scalarValueCondition1
     // 
     scalarValueCondition1.ColumnNumber = 1;
     scalarValueCondition1.Enabled = true;
     scalarValueCondition1.ExpectedValue = "99";
     scalarValueCondition1.Name = "scalarValueCondition1";
     scalarValueCondition1.NullExpected = false;
     scalarValueCondition1.ResultSet = 1;
     scalarValueCondition1.RowNumber = 1;
     // 
     // scalarValueCondition2
     // 
     scalarValueCondition2.ColumnNumber = 2;
     scalarValueCondition2.Enabled = true;
     scalarValueCondition2.ExpectedValue = "Test Component";
     scalarValueCondition2.Name = "scalarValueCondition2";
     scalarValueCondition2.NullExpected = false;
     scalarValueCondition2.ResultSet = 1;
     scalarValueCondition2.RowNumber = 1;
     // 
     // scalarValueCondition3
     // 
     scalarValueCondition3.ColumnNumber = 3;
     scalarValueCondition3.Enabled = true;
     scalarValueCondition3.ExpectedValue = "Test_Field";
     scalarValueCondition3.Name = "scalarValueCondition3";
     scalarValueCondition3.NullExpected = false;
     scalarValueCondition3.ResultSet = 1;
     scalarValueCondition3.RowNumber = 1;
     // 
     // scalarValueCondition4
     // 
     scalarValueCondition4.ColumnNumber = 4;
     scalarValueCondition4.Enabled = true;
     scalarValueCondition4.ExpectedValue = "TESTCODE";
     scalarValueCondition4.Name = "scalarValueCondition4";
     scalarValueCondition4.NullExpected = false;
     scalarValueCondition4.ResultSet = 1;
     scalarValueCondition4.RowNumber = 1;
     // 
     // scalarValueCondition5
     // 
     scalarValueCondition5.ColumnNumber = 5;
     scalarValueCondition5.Enabled = true;
     scalarValueCondition5.ExpectedValue = "2";
     scalarValueCondition5.Name = "scalarValueCondition5";
     scalarValueCondition5.NullExpected = false;
     scalarValueCondition5.ResultSet = 1;
     scalarValueCondition5.RowNumber = 1;
     // 
     // scalarValueCondition6
     // 
     scalarValueCondition6.ColumnNumber = 6;
     scalarValueCondition6.Enabled = true;
     scalarValueCondition6.ExpectedValue = "FIELD2:34,FIELD3:FOO,FIELD4:BAR";
     scalarValueCondition6.Name = "scalarValueCondition6";
     scalarValueCondition6.NullExpected = false;
     scalarValueCondition6.ResultSet = 1;
     scalarValueCondition6.RowNumber = 1;
     // 
     // checksumCondition1
     // 
     checksumCondition1.Checksum = "-2001793917";
     checksumCondition1.Enabled = true;
     checksumCondition1.Name = "checksumCondition1";
     // 
     // audit_up_CreateRejectsLogTest_PretestAction
     // 
     resources.ApplyResources(audit_up_CreateRejectsLogTest_PretestAction, "audit_up_CreateRejectsLogTest_PretestAction");
     // 
     // audit_up_CreateRejectsLogTestData
     // 
     this.audit_up_CreateRejectsLogTestData.PosttestAction = audit_up_CreateRejectsLogTest_PosttestAction;
     this.audit_up_CreateRejectsLogTestData.PretestAction = audit_up_CreateRejectsLogTest_PretestAction;
     this.audit_up_CreateRejectsLogTestData.TestAction = audit_up_CreateRejectsLogTest_TestAction;
     // 
     // audit_up_CreateRejectsLogTest_PosttestAction
     // 
     resources.ApplyResources(audit_up_CreateRejectsLogTest_PosttestAction, "audit_up_CreateRejectsLogTest_PosttestAction");
 }
Пример #20
0
 /// <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 dbo_Trigger_Skus_Del_PreventTest_ById_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TbSkus));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_InsertTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_InsertTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_InsertTest_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Add_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition6;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition9;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Add_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition6;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Add_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition7;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Subtract_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition8;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition7;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition10;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition8;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction;
     this.dbo_Trigger_Skus_Del_PreventTest_ByIdData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_Skus_InsertTestData             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_Skus_Del_PreventTest_ByNoData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_Skus_UpdateTest_AddData         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_Skus_UpdateTest_SubtractData    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_Trigger_Skus_Del_PreventTest_ById_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_Trigger_Skus_InsertTest_TestAction           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition4    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition2    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_InsertTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition3    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_InsertTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_Trigger_Skus_UpdateTest_Add_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     rowCountCondition9    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_Trigger_Skus_UpdateTest_Add_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition6    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_UpdateTest_Add_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition7 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_Trigger_Skus_UpdateTest_Subtract_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition8    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition7 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition10   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition8 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // dbo_Trigger_Skus_Del_PreventTest_ById_TestAction
     //
     resources.ApplyResources(dbo_Trigger_Skus_Del_PreventTest_ById_TestAction, "dbo_Trigger_Skus_Del_PreventTest_ById_TestAction");
     //
     // dbo_Trigger_Skus_InsertTest_TestAction
     //
     dbo_Trigger_Skus_InsertTest_TestAction.Conditions.Add(rowCountCondition4);
     dbo_Trigger_Skus_InsertTest_TestAction.Conditions.Add(scalarValueCondition4);
     resources.ApplyResources(dbo_Trigger_Skus_InsertTest_TestAction, "dbo_Trigger_Skus_InsertTest_TestAction");
     //
     // rowCountCondition4
     //
     rowCountCondition4.Enabled   = true;
     rowCountCondition4.Name      = "rowCountCondition4";
     rowCountCondition4.ResultSet = 1;
     rowCountCondition4.RowCount  = 1;
     //
     // scalarValueCondition4
     //
     scalarValueCondition4.ColumnNumber  = 1;
     scalarValueCondition4.Enabled       = true;
     scalarValueCondition4.ExpectedValue = "1";
     scalarValueCondition4.Name          = "scalarValueCondition4";
     scalarValueCondition4.NullExpected  = false;
     scalarValueCondition4.ResultSet     = 1;
     scalarValueCondition4.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction
     //
     dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction.Conditions.Add(rowCountCondition1);
     dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction, "dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "1";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction
     //
     resources.ApplyResources(dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction, "dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction");
     //
     // dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction
     //
     dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction.Conditions.Add(rowCountCondition2);
     dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction, "dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction");
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled   = true;
     rowCountCondition2.Name      = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount  = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "12345601";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_InsertTest_PretestAction
     //
     dbo_Trigger_Skus_InsertTest_PretestAction.Conditions.Add(rowCountCondition3);
     dbo_Trigger_Skus_InsertTest_PretestAction.Conditions.Add(scalarValueCondition3);
     resources.ApplyResources(dbo_Trigger_Skus_InsertTest_PretestAction, "dbo_Trigger_Skus_InsertTest_PretestAction");
     //
     // rowCountCondition3
     //
     rowCountCondition3.Enabled   = true;
     rowCountCondition3.Name      = "rowCountCondition3";
     rowCountCondition3.ResultSet = 1;
     rowCountCondition3.RowCount  = 1;
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "True";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_InsertTest_PosttestAction
     //
     dbo_Trigger_Skus_InsertTest_PosttestAction.Conditions.Add(rowCountCondition5);
     resources.ApplyResources(dbo_Trigger_Skus_InsertTest_PosttestAction, "dbo_Trigger_Skus_InsertTest_PosttestAction");
     //
     // rowCountCondition5
     //
     rowCountCondition5.Enabled   = true;
     rowCountCondition5.Name      = "rowCountCondition5";
     rowCountCondition5.ResultSet = 1;
     rowCountCondition5.RowCount  = 0;
     //
     // dbo_Trigger_Skus_UpdateTest_Add_TestAction
     //
     dbo_Trigger_Skus_UpdateTest_Add_TestAction.Conditions.Add(scalarValueCondition6);
     dbo_Trigger_Skus_UpdateTest_Add_TestAction.Conditions.Add(rowCountCondition9);
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Add_TestAction, "dbo_Trigger_Skus_UpdateTest_Add_TestAction");
     //
     // scalarValueCondition6
     //
     scalarValueCondition6.ColumnNumber  = 1;
     scalarValueCondition6.Enabled       = true;
     scalarValueCondition6.ExpectedValue = "False";
     scalarValueCondition6.Name          = "scalarValueCondition6";
     scalarValueCondition6.NullExpected  = false;
     scalarValueCondition6.ResultSet     = 1;
     scalarValueCondition6.RowNumber     = 1;
     //
     // rowCountCondition9
     //
     rowCountCondition9.Enabled   = true;
     rowCountCondition9.Name      = "rowCountCondition9";
     rowCountCondition9.ResultSet = 1;
     rowCountCondition9.RowCount  = 1;
     //
     // dbo_Trigger_Skus_UpdateTest_Add_PretestAction
     //
     dbo_Trigger_Skus_UpdateTest_Add_PretestAction.Conditions.Add(rowCountCondition6);
     dbo_Trigger_Skus_UpdateTest_Add_PretestAction.Conditions.Add(scalarValueCondition5);
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Add_PretestAction, "dbo_Trigger_Skus_UpdateTest_Add_PretestAction");
     //
     // rowCountCondition6
     //
     rowCountCondition6.Enabled   = true;
     rowCountCondition6.Name      = "rowCountCondition6";
     rowCountCondition6.ResultSet = 1;
     rowCountCondition6.RowCount  = 1;
     //
     // scalarValueCondition5
     //
     scalarValueCondition5.ColumnNumber  = 1;
     scalarValueCondition5.Enabled       = true;
     scalarValueCondition5.ExpectedValue = "True";
     scalarValueCondition5.Name          = "scalarValueCondition5";
     scalarValueCondition5.NullExpected  = false;
     scalarValueCondition5.ResultSet     = 1;
     scalarValueCondition5.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_UpdateTest_Add_PosttestAction
     //
     dbo_Trigger_Skus_UpdateTest_Add_PosttestAction.Conditions.Add(rowCountCondition7);
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Add_PosttestAction, "dbo_Trigger_Skus_UpdateTest_Add_PosttestAction");
     //
     // rowCountCondition7
     //
     rowCountCondition7.Enabled   = true;
     rowCountCondition7.Name      = "rowCountCondition7";
     rowCountCondition7.ResultSet = 1;
     rowCountCondition7.RowCount  = 0;
     //
     // dbo_Trigger_Skus_UpdateTest_Subtract_TestAction
     //
     dbo_Trigger_Skus_UpdateTest_Subtract_TestAction.Conditions.Add(rowCountCondition8);
     dbo_Trigger_Skus_UpdateTest_Subtract_TestAction.Conditions.Add(scalarValueCondition7);
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Subtract_TestAction, "dbo_Trigger_Skus_UpdateTest_Subtract_TestAction");
     //
     // rowCountCondition8
     //
     rowCountCondition8.Enabled   = true;
     rowCountCondition8.Name      = "rowCountCondition8";
     rowCountCondition8.ResultSet = 1;
     rowCountCondition8.RowCount  = 1;
     //
     // scalarValueCondition7
     //
     scalarValueCondition7.ColumnNumber  = 1;
     scalarValueCondition7.Enabled       = true;
     scalarValueCondition7.ExpectedValue = "True";
     scalarValueCondition7.Name          = "scalarValueCondition7";
     scalarValueCondition7.NullExpected  = false;
     scalarValueCondition7.ResultSet     = 1;
     scalarValueCondition7.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction
     //
     dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction.Conditions.Add(rowCountCondition10);
     dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction.Conditions.Add(scalarValueCondition8);
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction, "dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction");
     //
     // rowCountCondition10
     //
     rowCountCondition10.Enabled   = true;
     rowCountCondition10.Name      = "rowCountCondition10";
     rowCountCondition10.ResultSet = 1;
     rowCountCondition10.RowCount  = 1;
     //
     // scalarValueCondition8
     //
     scalarValueCondition8.ColumnNumber  = 1;
     scalarValueCondition8.Enabled       = true;
     scalarValueCondition8.ExpectedValue = "False";
     scalarValueCondition8.Name          = "scalarValueCondition8";
     scalarValueCondition8.NullExpected  = false;
     scalarValueCondition8.ResultSet     = 1;
     scalarValueCondition8.RowNumber     = 1;
     //
     // dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction
     //
     resources.ApplyResources(dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction, "dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction");
     //
     // dbo_Trigger_Skus_Del_PreventTest_ByIdData
     //
     this.dbo_Trigger_Skus_Del_PreventTest_ByIdData.PosttestAction = dbo_Trigger_Skus_Del_PreventTest_ById_PosttestAction;
     this.dbo_Trigger_Skus_Del_PreventTest_ByIdData.PretestAction  = null;
     this.dbo_Trigger_Skus_Del_PreventTest_ByIdData.TestAction     = dbo_Trigger_Skus_Del_PreventTest_ById_TestAction;
     //
     // dbo_Trigger_Skus_InsertTestData
     //
     this.dbo_Trigger_Skus_InsertTestData.PosttestAction = dbo_Trigger_Skus_InsertTest_PosttestAction;
     this.dbo_Trigger_Skus_InsertTestData.PretestAction  = dbo_Trigger_Skus_InsertTest_PretestAction;
     this.dbo_Trigger_Skus_InsertTestData.TestAction     = dbo_Trigger_Skus_InsertTest_TestAction;
     //
     // dbo_Trigger_Skus_Del_PreventTest_ByNoData
     //
     this.dbo_Trigger_Skus_Del_PreventTest_ByNoData.PosttestAction = dbo_Trigger_Skus_Del_PreventTest_ByNo_PosttestAction;
     this.dbo_Trigger_Skus_Del_PreventTest_ByNoData.PretestAction  = null;
     this.dbo_Trigger_Skus_Del_PreventTest_ByNoData.TestAction     = dbo_Trigger_Skus_Del_PreventTest_ByNo_TestAction;
     //
     // dbo_Trigger_Skus_UpdateTest_AddData
     //
     this.dbo_Trigger_Skus_UpdateTest_AddData.PosttestAction = dbo_Trigger_Skus_UpdateTest_Add_PosttestAction;
     this.dbo_Trigger_Skus_UpdateTest_AddData.PretestAction  = dbo_Trigger_Skus_UpdateTest_Add_PretestAction;
     this.dbo_Trigger_Skus_UpdateTest_AddData.TestAction     = dbo_Trigger_Skus_UpdateTest_Add_TestAction;
     //
     // dbo_Trigger_Skus_UpdateTest_SubtractData
     //
     this.dbo_Trigger_Skus_UpdateTest_SubtractData.PosttestAction = dbo_Trigger_Skus_UpdateTest_Subtract_PosttestAction;
     this.dbo_Trigger_Skus_UpdateTest_SubtractData.PretestAction  = dbo_Trigger_Skus_UpdateTest_Subtract_PretestAction;
     this.dbo_Trigger_Skus_UpdateTest_SubtractData.TestAction     = dbo_Trigger_Skus_UpdateTest_Subtract_TestAction;
 }
Пример #21
0
 /// <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 dbo_CustomerTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dbo_CustomerUnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition          rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition     executionTimeCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction        dbo_CustomerInvalidParamsReturns0Rows_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction        dbo_CustomerNullParamReturns0Rows_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction        dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition4;
     this.dbo_CustomerTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_CustomerInvalidParamsReturns0RowsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_CustomerNullParamReturns0RowsData     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCountData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_CustomerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     notEmptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     rowCountCondition1          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition1       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     executionTimeCondition1     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     dbo_CustomerInvalidParamsReturns0Rows_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_CustomerNullParamReturns0Rows_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     //
     // dbo_CustomerTest_TestAction
     //
     dbo_CustomerTest_TestAction.Conditions.Add(notEmptyResultSetCondition1);
     dbo_CustomerTest_TestAction.Conditions.Add(rowCountCondition1);
     dbo_CustomerTest_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_CustomerTest_TestAction.Conditions.Add(scalarValueCondition2);
     dbo_CustomerTest_TestAction.Conditions.Add(executionTimeCondition1);
     resources.ApplyResources(dbo_CustomerTest_TestAction, "dbo_CustomerTest_TestAction");
     //
     // notEmptyResultSetCondition1
     //
     notEmptyResultSetCondition1.Enabled   = true;
     notEmptyResultSetCondition1.Name      = "notEmptyResultSetCondition1";
     notEmptyResultSetCondition1.ResultSet = 1;
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 2;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "John";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 2;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "Beaver";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // executionTimeCondition1
     //
     executionTimeCondition1.Enabled       = true;
     executionTimeCondition1.ExecutionTime = System.TimeSpan.Parse("00:00:50");
     executionTimeCondition1.Name          = "executionTimeCondition1";
     //
     // dbo_CustomerInvalidParamsReturns0Rows_TestAction
     //
     dbo_CustomerInvalidParamsReturns0Rows_TestAction.Conditions.Add(rowCountCondition2);
     resources.ApplyResources(dbo_CustomerInvalidParamsReturns0Rows_TestAction, "dbo_CustomerInvalidParamsReturns0Rows_TestAction");
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled   = true;
     rowCountCondition2.Name      = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount  = 0;
     //
     // dbo_CustomerNullParamReturns0Rows_TestAction
     //
     dbo_CustomerNullParamReturns0Rows_TestAction.Conditions.Add(rowCountCondition3);
     resources.ApplyResources(dbo_CustomerNullParamReturns0Rows_TestAction, "dbo_CustomerNullParamReturns0Rows_TestAction");
     //
     // rowCountCondition3
     //
     rowCountCondition3.Enabled   = true;
     rowCountCondition3.Name      = "rowCountCondition3";
     rowCountCondition3.ResultSet = 1;
     rowCountCondition3.RowCount  = 0;
     //
     // dbo_CustomerTestData
     //
     this.dbo_CustomerTestData.PosttestAction = null;
     this.dbo_CustomerTestData.PretestAction  = null;
     this.dbo_CustomerTestData.TestAction     = dbo_CustomerTest_TestAction;
     //
     // dbo_CustomerInvalidParamsReturns0RowsData
     //
     this.dbo_CustomerInvalidParamsReturns0RowsData.PosttestAction = null;
     this.dbo_CustomerInvalidParamsReturns0RowsData.PretestAction  = null;
     this.dbo_CustomerInvalidParamsReturns0RowsData.TestAction     = dbo_CustomerInvalidParamsReturns0Rows_TestAction;
     //
     // dbo_CustomerNullParamReturns0RowsData
     //
     this.dbo_CustomerNullParamReturns0RowsData.PosttestAction = null;
     this.dbo_CustomerNullParamReturns0RowsData.PretestAction  = null;
     this.dbo_CustomerNullParamReturns0RowsData.TestAction     = dbo_CustomerNullParamReturns0Rows_TestAction;
     //
     // dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCountData
     //
     this.dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCountData.PosttestAction = null;
     this.dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCountData.PretestAction  = null;
     this.dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCountData.TestAction     = dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction;
     //
     // dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction
     //
     dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction.Conditions.Add(rowCountCondition4);
     resources.ApplyResources(dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction, "dbo_CustomerFirstNameNVarChar50ReturnsCorrectRowCount_TestAction");
     //
     // rowCountCondition4
     //
     rowCountCondition4.Enabled   = true;
     rowCountCondition4.Name      = "rowCountCondition4";
     rowCountCondition4.ResultSet = 1;
     rowCountCondition4.RowCount  = 1;
 }
Пример #22
0
 /// <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 RowCountCompany_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CompanyUnitTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition   scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             CompanyDataChecksumTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition      checksumCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             RowCount2_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition executionTimeCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             DepartmentAdd_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition executionTimeCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             DepartmentAdd_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             DepartmentAdd_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      rowCountCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             GetSearchTermCount_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition   scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             FetchDetails_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      rowCountCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SubDepartment_Update_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SubDepartment_Update_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition   scalarValueCondition3;
     this.RowCountCompanyData         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CompanyDataChecksumTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.RowCount2Data                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.DepartmentAddData              = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.GetSearchTermCountData         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.FetchDetailsData               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.SubDepartment_UpdateData       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     RowCountCompany_TestAction          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     CompanyDataChecksumTest_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     checksumCondition1                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     RowCount2_TestAction                = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     executionTimeCondition1             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     DepartmentAdd_TestAction            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     executionTimeCondition2             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     DepartmentAdd_PretestAction         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition2                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     DepartmentAdd_PosttestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition3                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     GetSearchTermCount_TestAction       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition2               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FetchDetails_TestAction             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition4                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     SubDepartment_Update_TestAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SubDepartment_Update_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition3               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // RowCountCompany_TestAction
     //
     RowCountCompany_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(RowCountCompany_TestAction, "RowCountCompany_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "4";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // CompanyDataChecksumTest_TestAction
     //
     CompanyDataChecksumTest_TestAction.Conditions.Add(checksumCondition1);
     resources.ApplyResources(CompanyDataChecksumTest_TestAction, "CompanyDataChecksumTest_TestAction");
     //
     // checksumCondition1
     //
     checksumCondition1.Checksum = "1342353854";
     checksumCondition1.Enabled  = true;
     checksumCondition1.Name     = "checksumCondition1";
     //
     // RowCount2_TestAction
     //
     RowCount2_TestAction.Conditions.Add(rowCountCondition1);
     RowCount2_TestAction.Conditions.Add(executionTimeCondition1);
     resources.ApplyResources(RowCount2_TestAction, "RowCount2_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 4;
     //
     // executionTimeCondition1
     //
     executionTimeCondition1.Enabled       = true;
     executionTimeCondition1.ExecutionTime = System.TimeSpan.Parse("00:00:00.5000000");
     executionTimeCondition1.Name          = "executionTimeCondition1";
     //
     // DepartmentAdd_TestAction
     //
     DepartmentAdd_TestAction.Conditions.Add(executionTimeCondition2);
     resources.ApplyResources(DepartmentAdd_TestAction, "DepartmentAdd_TestAction");
     //
     // executionTimeCondition2
     //
     executionTimeCondition2.Enabled       = true;
     executionTimeCondition2.ExecutionTime = System.TimeSpan.Parse("00:00:02");
     executionTimeCondition2.Name          = "executionTimeCondition2";
     //
     // DepartmentAdd_PretestAction
     //
     DepartmentAdd_PretestAction.Conditions.Add(rowCountCondition2);
     resources.ApplyResources(DepartmentAdd_PretestAction, "DepartmentAdd_PretestAction");
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled   = true;
     rowCountCondition2.Name      = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount  = 6;
     //
     // DepartmentAdd_PosttestAction
     //
     DepartmentAdd_PosttestAction.Conditions.Add(rowCountCondition3);
     resources.ApplyResources(DepartmentAdd_PosttestAction, "DepartmentAdd_PosttestAction");
     //
     // rowCountCondition3
     //
     rowCountCondition3.Enabled   = true;
     rowCountCondition3.Name      = "rowCountCondition3";
     rowCountCondition3.ResultSet = 1;
     rowCountCondition3.RowCount  = 7;
     //
     // GetSearchTermCount_TestAction
     //
     GetSearchTermCount_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(GetSearchTermCount_TestAction, "GetSearchTermCount_TestAction");
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "2";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // FetchDetails_TestAction
     //
     FetchDetails_TestAction.Conditions.Add(rowCountCondition4);
     resources.ApplyResources(FetchDetails_TestAction, "FetchDetails_TestAction");
     //
     // rowCountCondition4
     //
     rowCountCondition4.Enabled   = true;
     rowCountCondition4.Name      = "rowCountCondition4";
     rowCountCondition4.ResultSet = 1;
     rowCountCondition4.RowCount  = 9;
     //
     // SubDepartment_Update_TestAction
     //
     SubDepartment_Update_TestAction.Conditions.Add(scalarValueCondition3);
     resources.ApplyResources(SubDepartment_Update_TestAction, "SubDepartment_Update_TestAction");
     //
     // SubDepartment_Update_PosttestAction
     //
     resources.ApplyResources(SubDepartment_Update_PosttestAction, "SubDepartment_Update_PosttestAction");
     //
     // RowCountCompanyData
     //
     this.RowCountCompanyData.PosttestAction = null;
     this.RowCountCompanyData.PretestAction  = null;
     this.RowCountCompanyData.TestAction     = RowCountCompany_TestAction;
     //
     // CompanyDataChecksumTestData
     //
     this.CompanyDataChecksumTestData.PosttestAction = null;
     this.CompanyDataChecksumTestData.PretestAction  = null;
     this.CompanyDataChecksumTestData.TestAction     = CompanyDataChecksumTest_TestAction;
     //
     // RowCount2Data
     //
     this.RowCount2Data.PosttestAction = null;
     this.RowCount2Data.PretestAction  = null;
     this.RowCount2Data.TestAction     = RowCount2_TestAction;
     //
     // DepartmentAddData
     //
     this.DepartmentAddData.PosttestAction = DepartmentAdd_PosttestAction;
     this.DepartmentAddData.PretestAction  = DepartmentAdd_PretestAction;
     this.DepartmentAddData.TestAction     = DepartmentAdd_TestAction;
     //
     // GetSearchTermCountData
     //
     this.GetSearchTermCountData.PosttestAction = null;
     this.GetSearchTermCountData.PretestAction  = null;
     this.GetSearchTermCountData.TestAction     = GetSearchTermCount_TestAction;
     //
     // FetchDetailsData
     //
     this.FetchDetailsData.PosttestAction = null;
     this.FetchDetailsData.PretestAction  = null;
     this.FetchDetailsData.TestAction     = FetchDetails_TestAction;
     //
     // SubDepartment_UpdateData
     //
     this.SubDepartment_UpdateData.PosttestAction = SubDepartment_Update_PosttestAction;
     this.SubDepartment_UpdateData.PretestAction  = null;
     this.SubDepartment_UpdateData.TestAction     = SubDepartment_Update_TestAction;
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "1";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
 }
Пример #23
0
 /// <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 dbo_CreateANewJobTitleTestHandleNull_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_CreateANewJobTitleTestValidName_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_CreateANewJobTitleDisallowDuplicates_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     this.dbo_CreateANewJobTitleTestHandleNullData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_CreateANewJobTitleTestValidNameData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_CreateANewJobTitleDisallowDuplicatesData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_CreateANewJobTitleTestHandleNull_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_CreateANewJobTitleTestValidName_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_CreateANewJobTitleDisallowDuplicates_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_CreateANewJobTitleTestHandleNull_TestAction
     //
     resources.ApplyResources(dbo_CreateANewJobTitleTestHandleNull_TestAction, "dbo_CreateANewJobTitleTestHandleNull_TestAction");
     //
     // dbo_CreateANewJobTitleTestValidName_TestAction
     //
     dbo_CreateANewJobTitleTestValidName_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(dbo_CreateANewJobTitleTestValidName_TestAction, "dbo_CreateANewJobTitleTestValidName_TestAction");
     //
     // dbo_CreateANewJobTitleDisallowDuplicates_TestAction
     //
     resources.ApplyResources(dbo_CreateANewJobTitleDisallowDuplicates_TestAction, "dbo_CreateANewJobTitleDisallowDuplicates_TestAction");
     //
     // dbo_CreateANewJobTitleTestHandleNullData
     //
     this.dbo_CreateANewJobTitleTestHandleNullData.PosttestAction = null;
     this.dbo_CreateANewJobTitleTestHandleNullData.PretestAction = null;
     this.dbo_CreateANewJobTitleTestHandleNullData.TestAction = dbo_CreateANewJobTitleTestHandleNull_TestAction;
     //
     // dbo_CreateANewJobTitleTestValidNameData
     //
     this.dbo_CreateANewJobTitleTestValidNameData.PosttestAction = null;
     this.dbo_CreateANewJobTitleTestValidNameData.PretestAction = null;
     this.dbo_CreateANewJobTitleTestValidNameData.TestAction = dbo_CreateANewJobTitleTestValidName_TestAction;
     //
     // dbo_CreateANewJobTitleDisallowDuplicatesData
     //
     this.dbo_CreateANewJobTitleDisallowDuplicatesData.PosttestAction = null;
     this.dbo_CreateANewJobTitleDisallowDuplicatesData.PretestAction = null;
     this.dbo_CreateANewJobTitleDisallowDuplicatesData.TestAction = dbo_CreateANewJobTitleDisallowDuplicates_TestAction;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber = 1;
     scalarValueCondition1.Enabled = true;
     scalarValueCondition1.ExpectedValue = "1";
     scalarValueCondition1.Name = "scalarValueCondition1";
     scalarValueCondition1.NullExpected = false;
     scalarValueCondition1.ResultSet = 1;
     scalarValueCondition1.RowNumber = 1;
 }
Пример #24
0
 /// <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 ShouldInsertNewApiIntoApiKeys_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddApiCallTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ShouldNotInsertTheSameApiNameMultipleTimes_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testInitializeAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ShouldLinkApiKeyWithCalls_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition6;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ShouldRemoveAllEntriesOlderThanOneYear_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition8;
     this.ShouldInsertNewApiIntoApiKeysData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.ShouldNotInsertTheSameApiNameMultipleTimesData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.ShouldLinkApiKeyWithCallsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.ShouldRemoveAllEntriesOlderThanOneYearData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     ShouldInsertNewApiIntoApiKeys_TestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     ShouldNotInsertTheSameApiNameMultipleTimes_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     testInitializeAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ShouldLinkApiKeyWithCalls_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     rowCountCondition2    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     ShouldRemoveAllEntriesOlderThanOneYear_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition3    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition8 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // ShouldInsertNewApiIntoApiKeys_TestAction
     //
     ShouldInsertNewApiIntoApiKeys_TestAction.Conditions.Add(scalarValueCondition1);
     ShouldInsertNewApiIntoApiKeys_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(ShouldInsertNewApiIntoApiKeys_TestAction, "ShouldInsertNewApiIntoApiKeys_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "NoblePantherAPI";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 2;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "12343243fdaafd";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // ShouldNotInsertTheSameApiNameMultipleTimes_TestAction
     //
     ShouldNotInsertTheSameApiNameMultipleTimes_TestAction.Conditions.Add(rowCountCondition1);
     ShouldNotInsertTheSameApiNameMultipleTimes_TestAction.Conditions.Add(scalarValueCondition3);
     ShouldNotInsertTheSameApiNameMultipleTimes_TestAction.Conditions.Add(scalarValueCondition4);
     resources.ApplyResources(ShouldNotInsertTheSameApiNameMultipleTimes_TestAction, "ShouldNotInsertTheSameApiNameMultipleTimes_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "NoblePantherAPI";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
     //
     // scalarValueCondition4
     //
     scalarValueCondition4.ColumnNumber  = 2;
     scalarValueCondition4.Enabled       = true;
     scalarValueCondition4.ExpectedValue = "hunter2";
     scalarValueCondition4.Name          = "scalarValueCondition4";
     scalarValueCondition4.NullExpected  = false;
     scalarValueCondition4.ResultSet     = 1;
     scalarValueCondition4.RowNumber     = 1;
     //
     // testInitializeAction
     //
     resources.ApplyResources(testInitializeAction, "testInitializeAction");
     //
     // ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction
     //
     resources.ApplyResources(ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction, "ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction");
     //
     // ShouldLinkApiKeyWithCalls_TestAction
     //
     ShouldLinkApiKeyWithCalls_TestAction.Conditions.Add(scalarValueCondition5);
     ShouldLinkApiKeyWithCalls_TestAction.Conditions.Add(scalarValueCondition6);
     ShouldLinkApiKeyWithCalls_TestAction.Conditions.Add(rowCountCondition2);
     resources.ApplyResources(ShouldLinkApiKeyWithCalls_TestAction, "ShouldLinkApiKeyWithCalls_TestAction");
     //
     // scalarValueCondition5
     //
     scalarValueCondition5.ColumnNumber  = 1;
     scalarValueCondition5.Enabled       = true;
     scalarValueCondition5.ExpectedValue = "NoblePantherAPI";
     scalarValueCondition5.Name          = "scalarValueCondition5";
     scalarValueCondition5.NullExpected  = false;
     scalarValueCondition5.ResultSet     = 1;
     scalarValueCondition5.RowNumber     = 1;
     //
     // scalarValueCondition6
     //
     scalarValueCondition6.ColumnNumber  = 2;
     scalarValueCondition6.Enabled       = true;
     scalarValueCondition6.ExpectedValue = "12/04/9993 09:00:00.000";
     scalarValueCondition6.Name          = "scalarValueCondition6";
     scalarValueCondition6.NullExpected  = false;
     scalarValueCondition6.ResultSet     = 1;
     scalarValueCondition6.RowNumber     = 1;
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled   = true;
     rowCountCondition2.Name      = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount  = 1;
     //
     // ShouldRemoveAllEntriesOlderThanOneYear_TestAction
     //
     ShouldRemoveAllEntriesOlderThanOneYear_TestAction.Conditions.Add(rowCountCondition3);
     ShouldRemoveAllEntriesOlderThanOneYear_TestAction.Conditions.Add(scalarValueCondition8);
     resources.ApplyResources(ShouldRemoveAllEntriesOlderThanOneYear_TestAction, "ShouldRemoveAllEntriesOlderThanOneYear_TestAction");
     //
     // rowCountCondition3
     //
     rowCountCondition3.Enabled   = true;
     rowCountCondition3.Name      = "rowCountCondition3";
     rowCountCondition3.ResultSet = 1;
     rowCountCondition3.RowCount  = 1;
     //
     // scalarValueCondition8
     //
     scalarValueCondition8.ColumnNumber  = 1;
     scalarValueCondition8.Enabled       = true;
     scalarValueCondition8.ExpectedValue = "2038-01-19 03:14:06";
     scalarValueCondition8.Name          = "scalarValueCondition8";
     scalarValueCondition8.NullExpected  = false;
     scalarValueCondition8.ResultSet     = 1;
     scalarValueCondition8.RowNumber     = 1;
     //
     // ShouldInsertNewApiIntoApiKeysData
     //
     this.ShouldInsertNewApiIntoApiKeysData.PosttestAction = null;
     this.ShouldInsertNewApiIntoApiKeysData.PretestAction  = null;
     this.ShouldInsertNewApiIntoApiKeysData.TestAction     = ShouldInsertNewApiIntoApiKeys_TestAction;
     //
     // ShouldNotInsertTheSameApiNameMultipleTimesData
     //
     this.ShouldNotInsertTheSameApiNameMultipleTimesData.PosttestAction = null;
     this.ShouldNotInsertTheSameApiNameMultipleTimesData.PretestAction  = ShouldNotInsertTheSameApiNameMultipleTimes_PretestAction;
     this.ShouldNotInsertTheSameApiNameMultipleTimesData.TestAction     = ShouldNotInsertTheSameApiNameMultipleTimes_TestAction;
     //
     // ShouldLinkApiKeyWithCallsData
     //
     this.ShouldLinkApiKeyWithCallsData.PosttestAction = null;
     this.ShouldLinkApiKeyWithCallsData.PretestAction  = null;
     this.ShouldLinkApiKeyWithCallsData.TestAction     = ShouldLinkApiKeyWithCalls_TestAction;
     //
     // ShouldRemoveAllEntriesOlderThanOneYearData
     //
     this.ShouldRemoveAllEntriesOlderThanOneYearData.PosttestAction = null;
     this.ShouldRemoveAllEntriesOlderThanOneYearData.PretestAction  = null;
     this.ShouldRemoveAllEntriesOlderThanOneYearData.TestAction     = ShouldRemoveAllEntriesOlderThanOneYear_TestAction;
     //
     // AddApiCallTests
     //
     this.TestInitializeAction = testInitializeAction;
 }
Пример #25
0
 /// <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 dbo_csp_newClient_iTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(csp_newClient_i_Test));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    SlagendeTestRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition SlagendeTestClientNr;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    FalendeTestNameNullRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition FalendeTestNameNull;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    FalendeTestEmailFormatFoutRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition FalendeTestEmailFormatFout;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    FalendeTestCountryNullRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition FalendeTestCountryNull;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    FalendeTestCountryTeLangRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition FalendeTestCountryTeLang;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    FalendeTestAddressNullRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition FalendeTestAddressNull;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition SlagendeTestResultCode;
     this.dbo_csp_newClient_iTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_csp_newClient_iTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SlagendeTestRowCount               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     SlagendeTestClientNr               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FalendeTestNameNullRowCount        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     FalendeTestNameNull                = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FalendeTestEmailFormatFoutRowCount = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     FalendeTestEmailFormatFout         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FalendeTestCountryNullRowCount     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     FalendeTestCountryNull             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FalendeTestCountryTeLangRowCount   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     FalendeTestCountryTeLang           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     FalendeTestAddressNullRowCount     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     FalendeTestAddressNull             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     SlagendeTestResultCode             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_csp_newClient_iTest_TestAction
     //
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(SlagendeTestRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(SlagendeTestResultCode);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(SlagendeTestClientNr);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestNameNullRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestNameNull);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestEmailFormatFoutRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestEmailFormatFout);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestCountryNullRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestCountryNull);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestCountryTeLangRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestCountryTeLang);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestAddressNullRowCount);
     dbo_csp_newClient_iTest_TestAction.Conditions.Add(FalendeTestAddressNull);
     resources.ApplyResources(dbo_csp_newClient_iTest_TestAction, "dbo_csp_newClient_iTest_TestAction");
     //
     // SlagendeTestRowCount
     //
     SlagendeTestRowCount.Enabled   = true;
     SlagendeTestRowCount.Name      = "SlagendeTestRowCount";
     SlagendeTestRowCount.ResultSet = 1;
     SlagendeTestRowCount.RowCount  = 1;
     //
     // SlagendeTestClientNr
     //
     SlagendeTestClientNr.ColumnNumber  = 1;
     SlagendeTestClientNr.Enabled       = true;
     SlagendeTestClientNr.ExpectedValue = "1";
     SlagendeTestClientNr.Name          = "SlagendeTestClientNr";
     SlagendeTestClientNr.NullExpected  = false;
     SlagendeTestClientNr.ResultSet     = 2;
     SlagendeTestClientNr.RowNumber     = 1;
     //
     // FalendeTestNameNullRowCount
     //
     FalendeTestNameNullRowCount.Enabled   = true;
     FalendeTestNameNullRowCount.Name      = "FalendeTestNameNullRowCount";
     FalendeTestNameNullRowCount.ResultSet = 3;
     FalendeTestNameNullRowCount.RowCount  = 1;
     //
     // FalendeTestNameNull
     //
     FalendeTestNameNull.ColumnNumber  = 1;
     FalendeTestNameNull.Enabled       = true;
     FalendeTestNameNull.ExpectedValue = "-1";
     FalendeTestNameNull.Name          = "FalendeTestNameNull";
     FalendeTestNameNull.NullExpected  = false;
     FalendeTestNameNull.ResultSet     = 3;
     FalendeTestNameNull.RowNumber     = 1;
     //
     // FalendeTestEmailFormatFoutRowCount
     //
     FalendeTestEmailFormatFoutRowCount.Enabled   = true;
     FalendeTestEmailFormatFoutRowCount.Name      = "FalendeTestEmailFormatFoutRowCount";
     FalendeTestEmailFormatFoutRowCount.ResultSet = 4;
     FalendeTestEmailFormatFoutRowCount.RowCount  = 1;
     //
     // FalendeTestEmailFormatFout
     //
     FalendeTestEmailFormatFout.ColumnNumber  = 1;
     FalendeTestEmailFormatFout.Enabled       = true;
     FalendeTestEmailFormatFout.ExpectedValue = "-1";
     FalendeTestEmailFormatFout.Name          = "FalendeTestEmailFormatFout";
     FalendeTestEmailFormatFout.NullExpected  = false;
     FalendeTestEmailFormatFout.ResultSet     = 4;
     FalendeTestEmailFormatFout.RowNumber     = 1;
     //
     // FalendeTestCountryNullRowCount
     //
     FalendeTestCountryNullRowCount.Enabled   = true;
     FalendeTestCountryNullRowCount.Name      = "FalendeTestCountryNullRowCount";
     FalendeTestCountryNullRowCount.ResultSet = 5;
     FalendeTestCountryNullRowCount.RowCount  = 1;
     //
     // FalendeTestCountryNull
     //
     FalendeTestCountryNull.ColumnNumber  = 1;
     FalendeTestCountryNull.Enabled       = true;
     FalendeTestCountryNull.ExpectedValue = "-1";
     FalendeTestCountryNull.Name          = "FalendeTestCountryNull";
     FalendeTestCountryNull.NullExpected  = false;
     FalendeTestCountryNull.ResultSet     = 5;
     FalendeTestCountryNull.RowNumber     = 1;
     //
     // FalendeTestCountryTeLangRowCount
     //
     FalendeTestCountryTeLangRowCount.Enabled   = true;
     FalendeTestCountryTeLangRowCount.Name      = "FalendeTestCountryTeLangRowCount";
     FalendeTestCountryTeLangRowCount.ResultSet = 6;
     FalendeTestCountryTeLangRowCount.RowCount  = 1;
     //
     // FalendeTestCountryTeLang
     //
     FalendeTestCountryTeLang.ColumnNumber  = 1;
     FalendeTestCountryTeLang.Enabled       = false;
     FalendeTestCountryTeLang.ExpectedValue = "-1";
     FalendeTestCountryTeLang.Name          = "FalendeTestCountryTeLang";
     FalendeTestCountryTeLang.NullExpected  = false;
     FalendeTestCountryTeLang.ResultSet     = 6;
     FalendeTestCountryTeLang.RowNumber     = 1;
     //
     // FalendeTestAddressNullRowCount
     //
     FalendeTestAddressNullRowCount.Enabled   = true;
     FalendeTestAddressNullRowCount.Name      = "FalendeTestAddressNullRowCount";
     FalendeTestAddressNullRowCount.ResultSet = 7;
     FalendeTestAddressNullRowCount.RowCount  = 1;
     //
     // FalendeTestAddressNull
     //
     FalendeTestAddressNull.ColumnNumber  = 1;
     FalendeTestAddressNull.Enabled       = true;
     FalendeTestAddressNull.ExpectedValue = "-1";
     FalendeTestAddressNull.Name          = "FalendeTestAddressNull";
     FalendeTestAddressNull.NullExpected  = false;
     FalendeTestAddressNull.ResultSet     = 7;
     FalendeTestAddressNull.RowNumber     = 1;
     //
     // dbo_csp_newClient_iTestData
     //
     this.dbo_csp_newClient_iTestData.PosttestAction = null;
     this.dbo_csp_newClient_iTestData.PretestAction  = null;
     this.dbo_csp_newClient_iTestData.TestAction     = dbo_csp_newClient_iTest_TestAction;
     //
     // SlagendeTestResultCode
     //
     SlagendeTestResultCode.ColumnNumber  = 1;
     SlagendeTestResultCode.Enabled       = true;
     SlagendeTestResultCode.ExpectedValue = "0";
     SlagendeTestResultCode.Name          = "SlagendeTestResultCode";
     SlagendeTestResultCode.NullExpected  = false;
     SlagendeTestResultCode.ResultSet     = 1;
     SlagendeTestResultCode.RowNumber     = 1;
 }
Пример #26
0
 /// <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 CanVerifyCapeCanaveralMenu_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CarryOutTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition mustHaveResults;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       mustHaveCorrectRow1Id;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       mustHaveCorrectRow2Id;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition       mustHaveCorrectRow3Id;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CanFindJellyDonut_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyJellyDonut;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CannotFindJellyDonutInBackyard_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyJellyDonutResultsInBackyard;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition    noBurritoInBackyard;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition    noBurritoInFlorida;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition    noBurritoInRussia;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition foundBurritoInTexas;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           CanGetMilitaryDiscountOnPizza_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition pizzaCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition isReallyPizza;
     this.CanVerifyCapeCanaveralMenuData             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CanFindJellyDonutData                      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CannotFindJellyDonutInBackyardData         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CanFindBurritoAtJohnsonSpaceCenterOnlyData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CanGetMilitaryDiscountOnPizzaData          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     CanVerifyCapeCanaveralMenu_TestAction           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     mustHaveResults              = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     mustHaveCorrectRow1Id        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     mustHaveCorrectRow2Id        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     mustHaveCorrectRow3Id        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     CanFindJellyDonut_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     notEmptyJellyDonut           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     CannotFindJellyDonutInBackyard_TestAction         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     emptyJellyDonutResultsInBackyard                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition();
     CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     noBurritoInBackyard = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition();
     noBurritoInFlorida  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition();
     noBurritoInRussia   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition();
     foundBurritoInTexas = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     CanGetMilitaryDiscountOnPizza_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     pizzaCount    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     isReallyPizza = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // CanVerifyCapeCanaveralMenu_TestAction
     //
     CanVerifyCapeCanaveralMenu_TestAction.Conditions.Add(mustHaveResults);
     CanVerifyCapeCanaveralMenu_TestAction.Conditions.Add(mustHaveCorrectRow1Id);
     CanVerifyCapeCanaveralMenu_TestAction.Conditions.Add(mustHaveCorrectRow2Id);
     CanVerifyCapeCanaveralMenu_TestAction.Conditions.Add(mustHaveCorrectRow3Id);
     resources.ApplyResources(CanVerifyCapeCanaveralMenu_TestAction, "CanVerifyCapeCanaveralMenu_TestAction");
     //
     // mustHaveResults
     //
     mustHaveResults.Enabled   = true;
     mustHaveResults.Name      = "mustHaveResults";
     mustHaveResults.ResultSet = 1;
     //
     // mustHaveCorrectRow1Id
     //
     mustHaveCorrectRow1Id.ColumnNumber  = 1;
     mustHaveCorrectRow1Id.Enabled       = true;
     mustHaveCorrectRow1Id.ExpectedValue = "10000";
     mustHaveCorrectRow1Id.Name          = "mustHaveCorrectRow1Id";
     mustHaveCorrectRow1Id.NullExpected  = false;
     mustHaveCorrectRow1Id.ResultSet     = 1;
     mustHaveCorrectRow1Id.RowNumber     = 1;
     //
     // mustHaveCorrectRow2Id
     //
     mustHaveCorrectRow2Id.ColumnNumber  = 1;
     mustHaveCorrectRow2Id.Enabled       = true;
     mustHaveCorrectRow2Id.ExpectedValue = "10001";
     mustHaveCorrectRow2Id.Name          = "mustHaveCorrectRow2Id";
     mustHaveCorrectRow2Id.NullExpected  = false;
     mustHaveCorrectRow2Id.ResultSet     = 1;
     mustHaveCorrectRow2Id.RowNumber     = 2;
     //
     // mustHaveCorrectRow3Id
     //
     mustHaveCorrectRow3Id.ColumnNumber  = 1;
     mustHaveCorrectRow3Id.Enabled       = true;
     mustHaveCorrectRow3Id.ExpectedValue = "10002";
     mustHaveCorrectRow3Id.Name          = "mustHaveCorrectRow3Id";
     mustHaveCorrectRow3Id.NullExpected  = false;
     mustHaveCorrectRow3Id.ResultSet     = 1;
     mustHaveCorrectRow3Id.RowNumber     = 3;
     //
     // CanFindJellyDonut_TestAction
     //
     CanFindJellyDonut_TestAction.Conditions.Add(notEmptyJellyDonut);
     resources.ApplyResources(CanFindJellyDonut_TestAction, "CanFindJellyDonut_TestAction");
     //
     // notEmptyJellyDonut
     //
     notEmptyJellyDonut.Enabled   = true;
     notEmptyJellyDonut.Name      = "notEmptyJellyDonut";
     notEmptyJellyDonut.ResultSet = 1;
     //
     // CannotFindJellyDonutInBackyard_TestAction
     //
     CannotFindJellyDonutInBackyard_TestAction.Conditions.Add(emptyJellyDonutResultsInBackyard);
     resources.ApplyResources(CannotFindJellyDonutInBackyard_TestAction, "CannotFindJellyDonutInBackyard_TestAction");
     //
     // emptyJellyDonutResultsInBackyard
     //
     emptyJellyDonutResultsInBackyard.Enabled   = true;
     emptyJellyDonutResultsInBackyard.Name      = "emptyJellyDonutResultsInBackyard";
     emptyJellyDonutResultsInBackyard.ResultSet = 1;
     //
     // CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction
     //
     CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction.Conditions.Add(noBurritoInBackyard);
     CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction.Conditions.Add(noBurritoInFlorida);
     CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction.Conditions.Add(noBurritoInRussia);
     CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction.Conditions.Add(foundBurritoInTexas);
     resources.ApplyResources(CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction, "CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction");
     //
     // noBurritoInBackyard
     //
     noBurritoInBackyard.Enabled   = true;
     noBurritoInBackyard.Name      = "noBurritoInBackyard";
     noBurritoInBackyard.ResultSet = 1;
     //
     // noBurritoInFlorida
     //
     noBurritoInFlorida.Enabled   = true;
     noBurritoInFlorida.Name      = "noBurritoInFlorida";
     noBurritoInFlorida.ResultSet = 2;
     //
     // noBurritoInRussia
     //
     noBurritoInRussia.Enabled   = true;
     noBurritoInRussia.Name      = "noBurritoInRussia";
     noBurritoInRussia.ResultSet = 3;
     //
     // foundBurritoInTexas
     //
     foundBurritoInTexas.Enabled   = true;
     foundBurritoInTexas.Name      = "foundBurritoInTexas";
     foundBurritoInTexas.ResultSet = 4;
     //
     // CanGetMilitaryDiscountOnPizza_TestAction
     //
     CanGetMilitaryDiscountOnPizza_TestAction.Conditions.Add(pizzaCount);
     CanGetMilitaryDiscountOnPizza_TestAction.Conditions.Add(isReallyPizza);
     resources.ApplyResources(CanGetMilitaryDiscountOnPizza_TestAction, "CanGetMilitaryDiscountOnPizza_TestAction");
     //
     // pizzaCount
     //
     pizzaCount.ColumnNumber  = 1;
     pizzaCount.Enabled       = true;
     pizzaCount.ExpectedValue = "1";
     pizzaCount.Name          = "pizzaCount";
     pizzaCount.NullExpected  = false;
     pizzaCount.ResultSet     = 1;
     pizzaCount.RowNumber     = 1;
     //
     // isReallyPizza
     //
     isReallyPizza.ColumnNumber  = 2;
     isReallyPizza.Enabled       = true;
     isReallyPizza.ExpectedValue = "Pizza";
     isReallyPizza.Name          = "isReallyPizza";
     isReallyPizza.NullExpected  = false;
     isReallyPizza.ResultSet     = 1;
     isReallyPizza.RowNumber     = 1;
     //
     // CanVerifyCapeCanaveralMenuData
     //
     this.CanVerifyCapeCanaveralMenuData.PosttestAction = null;
     this.CanVerifyCapeCanaveralMenuData.PretestAction  = null;
     this.CanVerifyCapeCanaveralMenuData.TestAction     = CanVerifyCapeCanaveralMenu_TestAction;
     //
     // CanFindJellyDonutData
     //
     this.CanFindJellyDonutData.PosttestAction = null;
     this.CanFindJellyDonutData.PretestAction  = null;
     this.CanFindJellyDonutData.TestAction     = CanFindJellyDonut_TestAction;
     //
     // CannotFindJellyDonutInBackyardData
     //
     this.CannotFindJellyDonutInBackyardData.PosttestAction = null;
     this.CannotFindJellyDonutInBackyardData.PretestAction  = null;
     this.CannotFindJellyDonutInBackyardData.TestAction     = CannotFindJellyDonutInBackyard_TestAction;
     //
     // CanFindBurritoAtJohnsonSpaceCenterOnlyData
     //
     this.CanFindBurritoAtJohnsonSpaceCenterOnlyData.PosttestAction = null;
     this.CanFindBurritoAtJohnsonSpaceCenterOnlyData.PretestAction  = null;
     this.CanFindBurritoAtJohnsonSpaceCenterOnlyData.TestAction     = CanFindBurritoAtJohnsonSpaceCenterOnly_TestAction;
     //
     // CanGetMilitaryDiscountOnPizzaData
     //
     this.CanGetMilitaryDiscountOnPizzaData.PosttestAction = null;
     this.CanGetMilitaryDiscountOnPizzaData.PretestAction  = null;
     this.CanGetMilitaryDiscountOnPizzaData.TestAction     = CanGetMilitaryDiscountOnPizza_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 dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Test_Negative_PR_CreateEmployee));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testCleanupAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testInitializeAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     this.dbo_PR_CreateEmployeeTest_ROWCOUNTData       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_PR_CreateEmployeeTest_SCALARVALUEData    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     testCleanupAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     testInitializeAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction
     //
     dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction, "dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction");
     //
     // dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction
     //
     resources.ApplyResources(dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction, "dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction");
     //
     // dbo_PR_CreateEmployeeTest_ROWCOUNTData
     //
     this.dbo_PR_CreateEmployeeTest_ROWCOUNTData.PosttestAction = dbo_PR_CreateEmployeeTest_ROWCOUNT_PosttestAction;
     this.dbo_PR_CreateEmployeeTest_ROWCOUNTData.PretestAction  = null;
     this.dbo_PR_CreateEmployeeTest_ROWCOUNTData.TestAction     = dbo_PR_CreateEmployeeTest_ROWCOUNT_TestAction;
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // testCleanupAction
     //
     resources.ApplyResources(testCleanupAction, "testCleanupAction");
     //
     // testInitializeAction
     //
     resources.ApplyResources(testInitializeAction, "testInitializeAction");
     //
     // dbo_PR_CreateEmployeeTest_SCALARVALUEData
     //
     this.dbo_PR_CreateEmployeeTest_SCALARVALUEData.PosttestAction = null;
     this.dbo_PR_CreateEmployeeTest_SCALARVALUEData.PretestAction  = null;
     this.dbo_PR_CreateEmployeeTest_SCALARVALUEData.TestAction     = dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction;
     //
     // dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction
     //
     dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction, "dbo_PR_CreateEmployeeTest_SCALARVALUE_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "10001";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 2;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "Nick";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // Test_Negative_PR_CreateEmployee
     //
     this.TestCleanupAction    = testCleanupAction;
     this.TestInitializeAction = testInitializeAction;
 }
Пример #28
0
 /// <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 TestTheMonthBefore_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StoredProcedure));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition ageToBe15;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testInitializeAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           TestTheMonthOn_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition ageToBe16;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           TestTheMonthAfter_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition ageToBe16Too;
     this.TestTheMonthBeforeData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.TestTheMonthOnData       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.TestTheMonthAfterData    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     TestTheMonthBefore_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ageToBe15                    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     testInitializeAction         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     TestTheMonthOn_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ageToBe16                    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     TestTheMonthAfter_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ageToBe16Too                 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // TestTheMonthBefore_TestAction
     //
     TestTheMonthBefore_TestAction.Conditions.Add(ageToBe15);
     resources.ApplyResources(TestTheMonthBefore_TestAction, "TestTheMonthBefore_TestAction");
     //
     // ageToBe15
     //
     ageToBe15.ColumnNumber  = 1;
     ageToBe15.Enabled       = true;
     ageToBe15.ExpectedValue = "15";
     ageToBe15.Name          = "ageToBe15";
     ageToBe15.NullExpected  = false;
     ageToBe15.ResultSet     = 1;
     ageToBe15.RowNumber     = 1;
     //
     // testInitializeAction
     //
     resources.ApplyResources(testInitializeAction, "testInitializeAction");
     //
     // TestTheMonthBeforeData
     //
     this.TestTheMonthBeforeData.PosttestAction = null;
     this.TestTheMonthBeforeData.PretestAction  = null;
     this.TestTheMonthBeforeData.TestAction     = TestTheMonthBefore_TestAction;
     //
     // TestTheMonthOnData
     //
     this.TestTheMonthOnData.PosttestAction = null;
     this.TestTheMonthOnData.PretestAction  = null;
     this.TestTheMonthOnData.TestAction     = TestTheMonthOn_TestAction;
     //
     // TestTheMonthOn_TestAction
     //
     TestTheMonthOn_TestAction.Conditions.Add(ageToBe16);
     resources.ApplyResources(TestTheMonthOn_TestAction, "TestTheMonthOn_TestAction");
     //
     // ageToBe16
     //
     ageToBe16.ColumnNumber  = 1;
     ageToBe16.Enabled       = true;
     ageToBe16.ExpectedValue = "16";
     ageToBe16.Name          = "ageToBe16";
     ageToBe16.NullExpected  = false;
     ageToBe16.ResultSet     = 1;
     ageToBe16.RowNumber     = 1;
     //
     // TestTheMonthAfterData
     //
     this.TestTheMonthAfterData.PosttestAction = null;
     this.TestTheMonthAfterData.PretestAction  = null;
     this.TestTheMonthAfterData.TestAction     = TestTheMonthAfter_TestAction;
     //
     // TestTheMonthAfter_TestAction
     //
     TestTheMonthAfter_TestAction.Conditions.Add(ageToBe16Too);
     resources.ApplyResources(TestTheMonthAfter_TestAction, "TestTheMonthAfter_TestAction");
     //
     // ageToBe16Too
     //
     ageToBe16Too.ColumnNumber  = 1;
     ageToBe16Too.Enabled       = true;
     ageToBe16Too.ExpectedValue = "16";
     ageToBe16Too.Name          = "ageToBe16Too";
     ageToBe16Too.NullExpected  = false;
     ageToBe16Too.ResultSet     = 1;
     ageToBe16Too.RowNumber     = 1;
     //
     // StoredProcedure
     //
     this.TestInitializeAction = testInitializeAction;
 }
Пример #29
0
 /// <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 dbo_AddCityTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DBTest));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddRestaurantTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_RestaurantsGetByCityTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_ReviewsGetByUserTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_ReviewsGetByUserTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddRestaurantTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddRestaurantTestDuplicates_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddRestaurantTestDuplicates_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_RestaurantsGetByCityTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddCityTestDuplicates_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddCityTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddCityTestDuplicates_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddReviewTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddReviewTestDuplicates_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition6;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddReviewTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_AddReviewTestDuplicates_PretestAction;
     this.dbo_AddCityTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_AddRestaurantTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_RestaurantsGetByCityTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_ReviewsGetByUserTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_AddRestaurantTestDuplicatesData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_AddCityTestDuplicatesData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_AddReviewTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_AddReviewTestDuplicatesData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_AddCityTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_AddRestaurantTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_RestaurantsGetByCityTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_ReviewsGetByUserTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_ReviewsGetByUserTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddRestaurantTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddRestaurantTestDuplicates_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_AddRestaurantTestDuplicates_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_RestaurantsGetByCityTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddCityTestDuplicates_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_AddCityTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddCityTestDuplicates_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddReviewTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_AddReviewTestDuplicates_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_AddReviewTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_AddReviewTestDuplicates_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // dbo_AddCityTest_TestAction
     //
     dbo_AddCityTest_TestAction.Conditions.Add(scalarValueCondition3);
     resources.ApplyResources(dbo_AddCityTest_TestAction, "dbo_AddCityTest_TestAction");
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber = 1;
     scalarValueCondition3.Enabled = true;
     scalarValueCondition3.ExpectedValue = "0";
     scalarValueCondition3.Name = "scalarValueCondition3";
     scalarValueCondition3.NullExpected = false;
     scalarValueCondition3.ResultSet = 1;
     scalarValueCondition3.RowNumber = 1;
     //
     // dbo_AddRestaurantTest_TestAction
     //
     dbo_AddRestaurantTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(dbo_AddRestaurantTest_TestAction, "dbo_AddRestaurantTest_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber = 1;
     scalarValueCondition1.Enabled = true;
     scalarValueCondition1.ExpectedValue = "0";
     scalarValueCondition1.Name = "scalarValueCondition1";
     scalarValueCondition1.NullExpected = false;
     scalarValueCondition1.ResultSet = 1;
     scalarValueCondition1.RowNumber = 1;
     //
     // dbo_RestaurantsGetByCityTest_TestAction
     //
     dbo_RestaurantsGetByCityTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dbo_RestaurantsGetByCityTest_TestAction, "dbo_RestaurantsGetByCityTest_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled = true;
     rowCountCondition1.Name = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount = 2;
     //
     // dbo_ReviewsGetByUserTest_TestAction
     //
     dbo_ReviewsGetByUserTest_TestAction.Conditions.Add(rowCountCondition2);
     resources.ApplyResources(dbo_ReviewsGetByUserTest_TestAction, "dbo_ReviewsGetByUserTest_TestAction");
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled = true;
     rowCountCondition2.Name = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount = 2;
     //
     // dbo_ReviewsGetByUserTest_PretestAction
     //
     resources.ApplyResources(dbo_ReviewsGetByUserTest_PretestAction, "dbo_ReviewsGetByUserTest_PretestAction");
     //
     // dbo_AddRestaurantTest_PretestAction
     //
     resources.ApplyResources(dbo_AddRestaurantTest_PretestAction, "dbo_AddRestaurantTest_PretestAction");
     //
     // dbo_AddRestaurantTestDuplicates_TestAction
     //
     dbo_AddRestaurantTestDuplicates_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_AddRestaurantTestDuplicates_TestAction, "dbo_AddRestaurantTestDuplicates_TestAction");
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber = 1;
     scalarValueCondition2.Enabled = true;
     scalarValueCondition2.ExpectedValue = "-1";
     scalarValueCondition2.Name = "scalarValueCondition2";
     scalarValueCondition2.NullExpected = false;
     scalarValueCondition2.ResultSet = 2;
     scalarValueCondition2.RowNumber = 1;
     //
     // dbo_AddRestaurantTestDuplicates_PretestAction
     //
     resources.ApplyResources(dbo_AddRestaurantTestDuplicates_PretestAction, "dbo_AddRestaurantTestDuplicates_PretestAction");
     //
     // dbo_RestaurantsGetByCityTest_PretestAction
     //
     resources.ApplyResources(dbo_RestaurantsGetByCityTest_PretestAction, "dbo_RestaurantsGetByCityTest_PretestAction");
     //
     // dbo_AddCityTestDuplicates_TestAction
     //
     dbo_AddCityTestDuplicates_TestAction.Conditions.Add(scalarValueCondition4);
     resources.ApplyResources(dbo_AddCityTestDuplicates_TestAction, "dbo_AddCityTestDuplicates_TestAction");
     //
     // scalarValueCondition4
     //
     scalarValueCondition4.ColumnNumber = 1;
     scalarValueCondition4.Enabled = true;
     scalarValueCondition4.ExpectedValue = "-1";
     scalarValueCondition4.Name = "scalarValueCondition4";
     scalarValueCondition4.NullExpected = false;
     scalarValueCondition4.ResultSet = 3;
     scalarValueCondition4.RowNumber = 1;
     //
     // dbo_AddCityTest_PretestAction
     //
     resources.ApplyResources(dbo_AddCityTest_PretestAction, "dbo_AddCityTest_PretestAction");
     //
     // dbo_AddCityTestDuplicates_PretestAction
     //
     resources.ApplyResources(dbo_AddCityTestDuplicates_PretestAction, "dbo_AddCityTestDuplicates_PretestAction");
     //
     // dbo_AddReviewTest_TestAction
     //
     dbo_AddReviewTest_TestAction.Conditions.Add(scalarValueCondition5);
     resources.ApplyResources(dbo_AddReviewTest_TestAction, "dbo_AddReviewTest_TestAction");
     //
     // scalarValueCondition5
     //
     scalarValueCondition5.ColumnNumber = 1;
     scalarValueCondition5.Enabled = true;
     scalarValueCondition5.ExpectedValue = "0";
     scalarValueCondition5.Name = "scalarValueCondition5";
     scalarValueCondition5.NullExpected = false;
     scalarValueCondition5.ResultSet = 1;
     scalarValueCondition5.RowNumber = 1;
     //
     // dbo_AddReviewTestDuplicates_TestAction
     //
     dbo_AddReviewTestDuplicates_TestAction.Conditions.Add(scalarValueCondition6);
     resources.ApplyResources(dbo_AddReviewTestDuplicates_TestAction, "dbo_AddReviewTestDuplicates_TestAction");
     //
     // scalarValueCondition6
     //
     scalarValueCondition6.ColumnNumber = 1;
     scalarValueCondition6.Enabled = true;
     scalarValueCondition6.ExpectedValue = "-1";
     scalarValueCondition6.Name = "scalarValueCondition6";
     scalarValueCondition6.NullExpected = false;
     scalarValueCondition6.ResultSet = 2;
     scalarValueCondition6.RowNumber = 1;
     //
     // dbo_AddReviewTest_PretestAction
     //
     resources.ApplyResources(dbo_AddReviewTest_PretestAction, "dbo_AddReviewTest_PretestAction");
     //
     // dbo_AddReviewTestDuplicates_PretestAction
     //
     resources.ApplyResources(dbo_AddReviewTestDuplicates_PretestAction, "dbo_AddReviewTestDuplicates_PretestAction");
     //
     // dbo_AddCityTestData
     //
     this.dbo_AddCityTestData.PosttestAction = null;
     this.dbo_AddCityTestData.PretestAction = dbo_AddCityTest_PretestAction;
     this.dbo_AddCityTestData.TestAction = dbo_AddCityTest_TestAction;
     //
     // dbo_AddRestaurantTestData
     //
     this.dbo_AddRestaurantTestData.PosttestAction = null;
     this.dbo_AddRestaurantTestData.PretestAction = dbo_AddRestaurantTest_PretestAction;
     this.dbo_AddRestaurantTestData.TestAction = dbo_AddRestaurantTest_TestAction;
     //
     // dbo_RestaurantsGetByCityTestData
     //
     this.dbo_RestaurantsGetByCityTestData.PosttestAction = null;
     this.dbo_RestaurantsGetByCityTestData.PretestAction = dbo_RestaurantsGetByCityTest_PretestAction;
     this.dbo_RestaurantsGetByCityTestData.TestAction = dbo_RestaurantsGetByCityTest_TestAction;
     //
     // dbo_ReviewsGetByUserTestData
     //
     this.dbo_ReviewsGetByUserTestData.PosttestAction = null;
     this.dbo_ReviewsGetByUserTestData.PretestAction = dbo_ReviewsGetByUserTest_PretestAction;
     this.dbo_ReviewsGetByUserTestData.TestAction = dbo_ReviewsGetByUserTest_TestAction;
     //
     // dbo_AddRestaurantTestDuplicatesData
     //
     this.dbo_AddRestaurantTestDuplicatesData.PosttestAction = null;
     this.dbo_AddRestaurantTestDuplicatesData.PretestAction = dbo_AddRestaurantTestDuplicates_PretestAction;
     this.dbo_AddRestaurantTestDuplicatesData.TestAction = dbo_AddRestaurantTestDuplicates_TestAction;
     //
     // dbo_AddCityTestDuplicatesData
     //
     this.dbo_AddCityTestDuplicatesData.PosttestAction = null;
     this.dbo_AddCityTestDuplicatesData.PretestAction = dbo_AddCityTestDuplicates_PretestAction;
     this.dbo_AddCityTestDuplicatesData.TestAction = dbo_AddCityTestDuplicates_TestAction;
     //
     // dbo_AddReviewTestData
     //
     this.dbo_AddReviewTestData.PosttestAction = null;
     this.dbo_AddReviewTestData.PretestAction = dbo_AddReviewTest_PretestAction;
     this.dbo_AddReviewTestData.TestAction = dbo_AddReviewTest_TestAction;
     //
     // dbo_AddReviewTestDuplicatesData
     //
     this.dbo_AddReviewTestDuplicatesData.PosttestAction = null;
     this.dbo_AddReviewTestDuplicatesData.PretestAction = dbo_AddReviewTestDuplicates_PretestAction;
     this.dbo_AddReviewTestDuplicatesData.TestAction = dbo_AddReviewTestDuplicates_TestAction;
 }
Пример #30
0
 /// <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 dbo_XemLichThiTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UnitTestXemLichThi));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    SoDong;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition    checksumCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MSSV_hang1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MSSV_hang2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition CheckPhong;
     this.dbo_XemLichThiTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_XemLichThiTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SoDong             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     MSSV_hang1         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     MSSV_hang2         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     CheckPhong         = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_XemLichThiTest_TestAction
     //
     dbo_XemLichThiTest_TestAction.Conditions.Add(SoDong);
     dbo_XemLichThiTest_TestAction.Conditions.Add(checksumCondition1);
     dbo_XemLichThiTest_TestAction.Conditions.Add(MSSV_hang1);
     dbo_XemLichThiTest_TestAction.Conditions.Add(MSSV_hang2);
     dbo_XemLichThiTest_TestAction.Conditions.Add(CheckPhong);
     resources.ApplyResources(dbo_XemLichThiTest_TestAction, "dbo_XemLichThiTest_TestAction");
     //
     // SoDong
     //
     SoDong.Enabled   = true;
     SoDong.Name      = "SoDong";
     SoDong.ResultSet = 1;
     SoDong.RowCount  = 2;
     //
     // checksumCondition1
     //
     checksumCondition1.Checksum = "1410574321";
     checksumCondition1.Enabled  = true;
     checksumCondition1.Name     = "checksumCondition1";
     //
     // dbo_XemLichThiTestData
     //
     this.dbo_XemLichThiTestData.PosttestAction = null;
     this.dbo_XemLichThiTestData.PretestAction  = null;
     this.dbo_XemLichThiTestData.TestAction     = dbo_XemLichThiTest_TestAction;
     //
     // MSSV_hang1
     //
     MSSV_hang1.ColumnNumber  = 2;
     MSSV_hang1.Enabled       = true;
     MSSV_hang1.ExpectedValue = "1551010032";
     MSSV_hang1.Name          = "MSSV_hang1";
     MSSV_hang1.NullExpected  = false;
     MSSV_hang1.ResultSet     = 1;
     MSSV_hang1.RowNumber     = 1;
     //
     // MSSV_hang2
     //
     MSSV_hang2.ColumnNumber  = 2;
     MSSV_hang2.Enabled       = true;
     MSSV_hang2.ExpectedValue = "1551010032";
     MSSV_hang2.Name          = "MSSV_hang2";
     MSSV_hang2.NullExpected  = false;
     MSSV_hang2.ResultSet     = 1;
     MSSV_hang2.RowNumber     = 2;
     //
     // CheckPhong
     //
     CheckPhong.ColumnNumber  = 5;
     CheckPhong.Enabled       = true;
     CheckPhong.ExpectedValue = "105";
     CheckPhong.Name          = "CheckPhong";
     CheckPhong.NullExpected  = false;
     CheckPhong.ResultSet     = 1;
     CheckPhong.RowNumber     = 1;
 }
Пример #31
0
 /// <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 dbo_Trigger_OrderItems_Del_PreventTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TbOrderItems));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_OrderItems_InsertTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testInitializeAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           testCleanupAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_OrderItems_InsertTest_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     this.dbo_Trigger_OrderItems_Del_PreventTestData          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_OrderItems_InsertTestData               = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_Trigger_OrderItems_InsertTest_UpdateSoldOutData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_Trigger_OrderItems_Del_PreventTest_TestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_Trigger_OrderItems_InsertTest_TestAction             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition3    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     testInitializeAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     testCleanupAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition2    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_OrderItems_InsertTest_PosttestAction           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition4    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition5    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     //
     // dbo_Trigger_OrderItems_Del_PreventTest_TestAction
     //
     resources.ApplyResources(dbo_Trigger_OrderItems_Del_PreventTest_TestAction, "dbo_Trigger_OrderItems_Del_PreventTest_TestAction");
     //
     // dbo_Trigger_OrderItems_InsertTest_TestAction
     //
     dbo_Trigger_OrderItems_InsertTest_TestAction.Conditions.Add(rowCountCondition3);
     dbo_Trigger_OrderItems_InsertTest_TestAction.Conditions.Add(scalarValueCondition3);
     resources.ApplyResources(dbo_Trigger_OrderItems_InsertTest_TestAction, "dbo_Trigger_OrderItems_InsertTest_TestAction");
     //
     // rowCountCondition3
     //
     rowCountCondition3.Enabled   = true;
     rowCountCondition3.Name      = "rowCountCondition3";
     rowCountCondition3.ResultSet = 1;
     rowCountCondition3.RowCount  = 1;
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "1";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
     //
     // testInitializeAction
     //
     testInitializeAction.Conditions.Add(rowCountCondition1);
     testInitializeAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(testInitializeAction, "testInitializeAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "1";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // testCleanupAction
     //
     testCleanupAction.Conditions.Add(rowCountCondition2);
     testCleanupAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(testCleanupAction, "testCleanupAction");
     //
     // rowCountCondition2
     //
     rowCountCondition2.Enabled   = true;
     rowCountCondition2.Name      = "rowCountCondition2";
     rowCountCondition2.ResultSet = 1;
     rowCountCondition2.RowCount  = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "1";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // dbo_Trigger_OrderItems_InsertTest_PosttestAction
     //
     resources.ApplyResources(dbo_Trigger_OrderItems_InsertTest_PosttestAction, "dbo_Trigger_OrderItems_InsertTest_PosttestAction");
     //
     // dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction
     //
     dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction.Conditions.Add(rowCountCondition4);
     dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction.Conditions.Add(scalarValueCondition4);
     resources.ApplyResources(dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction, "dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction");
     //
     // rowCountCondition4
     //
     rowCountCondition4.Enabled   = true;
     rowCountCondition4.Name      = "rowCountCondition4";
     rowCountCondition4.ResultSet = 1;
     rowCountCondition4.RowCount  = 1;
     //
     // scalarValueCondition4
     //
     scalarValueCondition4.ColumnNumber  = 1;
     scalarValueCondition4.Enabled       = true;
     scalarValueCondition4.ExpectedValue = "1";
     scalarValueCondition4.Name          = "scalarValueCondition4";
     scalarValueCondition4.NullExpected  = false;
     scalarValueCondition4.ResultSet     = 1;
     scalarValueCondition4.RowNumber     = 1;
     //
     // dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction
     //
     resources.ApplyResources(dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction, "dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction");
     //
     // dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction
     //
     dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction.Conditions.Add(rowCountCondition5);
     dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction.Conditions.Add(scalarValueCondition5);
     resources.ApplyResources(dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction, "dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction");
     //
     // rowCountCondition5
     //
     rowCountCondition5.Enabled   = true;
     rowCountCondition5.Name      = "rowCountCondition5";
     rowCountCondition5.ResultSet = 1;
     rowCountCondition5.RowCount  = 1;
     //
     // scalarValueCondition5
     //
     scalarValueCondition5.ColumnNumber  = 1;
     scalarValueCondition5.Enabled       = true;
     scalarValueCondition5.ExpectedValue = "1";
     scalarValueCondition5.Name          = "scalarValueCondition5";
     scalarValueCondition5.NullExpected  = false;
     scalarValueCondition5.ResultSet     = 1;
     scalarValueCondition5.RowNumber     = 1;
     //
     // dbo_Trigger_OrderItems_Del_PreventTestData
     //
     this.dbo_Trigger_OrderItems_Del_PreventTestData.PosttestAction = dbo_Trigger_OrderItems_Del_PreventTest_PosttestAction;
     this.dbo_Trigger_OrderItems_Del_PreventTestData.PretestAction  = null;
     this.dbo_Trigger_OrderItems_Del_PreventTestData.TestAction     = dbo_Trigger_OrderItems_Del_PreventTest_TestAction;
     //
     // dbo_Trigger_OrderItems_InsertTestData
     //
     this.dbo_Trigger_OrderItems_InsertTestData.PosttestAction = dbo_Trigger_OrderItems_InsertTest_PosttestAction;
     this.dbo_Trigger_OrderItems_InsertTestData.PretestAction  = null;
     this.dbo_Trigger_OrderItems_InsertTestData.TestAction     = dbo_Trigger_OrderItems_InsertTest_TestAction;
     //
     // dbo_Trigger_OrderItems_InsertTest_UpdateSoldOutData
     //
     this.dbo_Trigger_OrderItems_InsertTest_UpdateSoldOutData.PosttestAction = dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_PosttestAction;
     this.dbo_Trigger_OrderItems_InsertTest_UpdateSoldOutData.PretestAction  = null;
     this.dbo_Trigger_OrderItems_InsertTest_UpdateSoldOutData.TestAction     = dbo_Trigger_OrderItems_InsertTest_UpdateSoldOut_TestAction;
     //
     // TbOrderItems
     //
     this.TestCleanupAction    = testCleanupAction;
     this.TestInitializeAction = testInitializeAction;
 }
Пример #32
0
 /// <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 dbo_uspCancelOrderTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SimpleUnitTest_UnitTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspFillOrderTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspNewCustomerTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspPlaceNewOrderTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspShowOrderDetailsTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition    checksumCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspPlaceNewOrderTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspFillOrderTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspShowOrderDetailsTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dbo_uspCancelOrderTest_PretestAction;
     this.dbo_uspCancelOrderTestData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_uspFillOrderTestData        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_uspNewCustomerTestData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_uspPlaceNewOrderTestData    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_uspShowOrderDetailsTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_uspCancelOrderTest_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition5             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_uspFillOrderTest_TestAction   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition3             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition4             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_uspNewCustomerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_uspPlaceNewOrderTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dbo_uspShowOrderDetailsTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     dbo_uspPlaceNewOrderTest_PretestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_uspFillOrderTest_PretestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_uspShowOrderDetailsTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_uspCancelOrderTest_PretestAction      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // dbo_uspCancelOrderTest_TestAction
     //
     dbo_uspCancelOrderTest_TestAction.Conditions.Add(scalarValueCondition5);
     resources.ApplyResources(dbo_uspCancelOrderTest_TestAction, "dbo_uspCancelOrderTest_TestAction");
     //
     // scalarValueCondition5
     //
     scalarValueCondition5.ColumnNumber  = 1;
     scalarValueCondition5.Enabled       = true;
     scalarValueCondition5.ExpectedValue = "0";
     scalarValueCondition5.Name          = "scalarValueCondition5";
     scalarValueCondition5.NullExpected  = false;
     scalarValueCondition5.ResultSet     = 1;
     scalarValueCondition5.RowNumber     = 1;
     //
     // dbo_uspFillOrderTest_TestAction
     //
     dbo_uspFillOrderTest_TestAction.Conditions.Add(scalarValueCondition3);
     dbo_uspFillOrderTest_TestAction.Conditions.Add(scalarValueCondition4);
     resources.ApplyResources(dbo_uspFillOrderTest_TestAction, "dbo_uspFillOrderTest_TestAction");
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "100";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
     //
     // scalarValueCondition4
     //
     scalarValueCondition4.ColumnNumber  = 1;
     scalarValueCondition4.Enabled       = true;
     scalarValueCondition4.ExpectedValue = "100";
     scalarValueCondition4.Name          = "scalarValueCondition4";
     scalarValueCondition4.NullExpected  = false;
     scalarValueCondition4.ResultSet     = 1;
     scalarValueCondition4.RowNumber     = 1;
     //
     // dbo_uspNewCustomerTest_TestAction
     //
     dbo_uspNewCustomerTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dbo_uspNewCustomerTest_TestAction, "dbo_uspNewCustomerTest_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // dbo_uspPlaceNewOrderTest_TestAction
     //
     dbo_uspPlaceNewOrderTest_TestAction.Conditions.Add(scalarValueCondition1);
     dbo_uspPlaceNewOrderTest_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(dbo_uspPlaceNewOrderTest_TestAction, "dbo_uspPlaceNewOrderTest_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "100";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "0";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 2;
     scalarValueCondition2.RowNumber     = 1;
     //
     // dbo_uspShowOrderDetailsTest_TestAction
     //
     dbo_uspShowOrderDetailsTest_TestAction.Conditions.Add(checksumCondition1);
     resources.ApplyResources(dbo_uspShowOrderDetailsTest_TestAction, "dbo_uspShowOrderDetailsTest_TestAction");
     //
     // checksumCondition1
     //
     checksumCondition1.Checksum = "790719402";
     checksumCondition1.Enabled  = true;
     checksumCondition1.Name     = "checksumCondition1";
     //
     // dbo_uspPlaceNewOrderTest_PretestAction
     //
     resources.ApplyResources(dbo_uspPlaceNewOrderTest_PretestAction, "dbo_uspPlaceNewOrderTest_PretestAction");
     //
     // dbo_uspFillOrderTest_PretestAction
     //
     resources.ApplyResources(dbo_uspFillOrderTest_PretestAction, "dbo_uspFillOrderTest_PretestAction");
     //
     // dbo_uspShowOrderDetailsTest_PretestAction
     //
     resources.ApplyResources(dbo_uspShowOrderDetailsTest_PretestAction, "dbo_uspShowOrderDetailsTest_PretestAction");
     //
     // dbo_uspCancelOrderTest_PretestAction
     //
     resources.ApplyResources(dbo_uspCancelOrderTest_PretestAction, "dbo_uspCancelOrderTest_PretestAction");
     //
     // dbo_uspCancelOrderTestData
     //
     this.dbo_uspCancelOrderTestData.PosttestAction = null;
     this.dbo_uspCancelOrderTestData.PretestAction  = dbo_uspCancelOrderTest_PretestAction;
     this.dbo_uspCancelOrderTestData.TestAction     = dbo_uspCancelOrderTest_TestAction;
     //
     // dbo_uspFillOrderTestData
     //
     this.dbo_uspFillOrderTestData.PosttestAction = null;
     this.dbo_uspFillOrderTestData.PretestAction  = dbo_uspFillOrderTest_PretestAction;
     this.dbo_uspFillOrderTestData.TestAction     = dbo_uspFillOrderTest_TestAction;
     //
     // dbo_uspNewCustomerTestData
     //
     this.dbo_uspNewCustomerTestData.PosttestAction = null;
     this.dbo_uspNewCustomerTestData.PretestAction  = null;
     this.dbo_uspNewCustomerTestData.TestAction     = dbo_uspNewCustomerTest_TestAction;
     //
     // dbo_uspPlaceNewOrderTestData
     //
     this.dbo_uspPlaceNewOrderTestData.PosttestAction = null;
     this.dbo_uspPlaceNewOrderTestData.PretestAction  = dbo_uspPlaceNewOrderTest_PretestAction;
     this.dbo_uspPlaceNewOrderTestData.TestAction     = dbo_uspPlaceNewOrderTest_TestAction;
     //
     // dbo_uspShowOrderDetailsTestData
     //
     this.dbo_uspShowOrderDetailsTestData.PosttestAction = null;
     this.dbo_uspShowOrderDetailsTestData.PretestAction  = dbo_uspShowOrderDetailsTest_PretestAction;
     this.dbo_uspShowOrderDetailsTestData.TestAction     = dbo_uspShowOrderDetailsTest_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_uspCancelOrderTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspFillOrderTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspNewCustomerTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition       rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspPlaceNewOrderTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspShowOrderDetailsTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspPlaceNewOrderTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    scalarValueCondition2;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspFillOrderTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspShowOrderDetailsTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition       checksumCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition    scalarValueCondition3;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction              Sales_uspCancelOrderTest_PretestAction;
     this.Sales_uspCancelOrderTestData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.Sales_uspFillOrderTestData        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.Sales_uspNewCustomerTestData      = 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_uspCancelOrderTest_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Sales_uspFillOrderTest_TestAction      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Sales_uspNewCustomerTest_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     Sales_uspPlaceNewOrderTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     Sales_uspShowOrderDetailsTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Sales_uspPlaceNewOrderTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     Sales_uspFillOrderTest_PretestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     expectedSchemaCondition1                    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition();
     Sales_uspShowOrderDetailsTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     checksumCondition1    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     Sales_uspCancelOrderTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // Sales_uspCancelOrderTest_TestAction
     //
     Sales_uspCancelOrderTest_TestAction.Conditions.Add(scalarValueCondition3);
     resources.ApplyResources(Sales_uspCancelOrderTest_TestAction, "Sales_uspCancelOrderTest_TestAction");
     //
     // Sales_uspFillOrderTest_TestAction
     //
     Sales_uspFillOrderTest_TestAction.Conditions.Add(scalarValueCondition2);
     resources.ApplyResources(Sales_uspFillOrderTest_TestAction, "Sales_uspFillOrderTest_TestAction");
     //
     // Sales_uspNewCustomerTest_TestAction
     //
     Sales_uspNewCustomerTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(Sales_uspNewCustomerTest_TestAction, "Sales_uspNewCustomerTest_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // Sales_uspPlaceNewOrderTest_TestAction
     //
     Sales_uspPlaceNewOrderTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(Sales_uspPlaceNewOrderTest_TestAction, "Sales_uspPlaceNewOrderTest_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "100";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.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");
     //
     // Sales_uspPlaceNewOrderTest_PretestAction
     //
     resources.ApplyResources(Sales_uspPlaceNewOrderTest_PretestAction, "Sales_uspPlaceNewOrderTest_PretestAction");
     //
     // Sales_uspCancelOrderTestData
     //
     this.Sales_uspCancelOrderTestData.PosttestAction = null;
     this.Sales_uspCancelOrderTestData.PretestAction  = Sales_uspCancelOrderTest_PretestAction;
     this.Sales_uspCancelOrderTestData.TestAction     = Sales_uspCancelOrderTest_TestAction;
     //
     // Sales_uspFillOrderTestData
     //
     this.Sales_uspFillOrderTestData.PosttestAction = null;
     this.Sales_uspFillOrderTestData.PretestAction  = Sales_uspFillOrderTest_PretestAction;
     this.Sales_uspFillOrderTestData.TestAction     = Sales_uspFillOrderTest_TestAction;
     //
     // Sales_uspNewCustomerTestData
     //
     this.Sales_uspNewCustomerTestData.PosttestAction = null;
     this.Sales_uspNewCustomerTestData.PretestAction  = null;
     this.Sales_uspNewCustomerTestData.TestAction     = Sales_uspNewCustomerTest_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;
     //
     // scalarValueCondition2
     //
     scalarValueCondition2.ColumnNumber  = 1;
     scalarValueCondition2.Enabled       = true;
     scalarValueCondition2.ExpectedValue = "100";
     scalarValueCondition2.Name          = "scalarValueCondition2";
     scalarValueCondition2.NullExpected  = false;
     scalarValueCondition2.ResultSet     = 1;
     scalarValueCondition2.RowNumber     = 1;
     //
     // Sales_uspFillOrderTest_PretestAction
     //
     resources.ApplyResources(Sales_uspFillOrderTest_PretestAction, "Sales_uspFillOrderTest_PretestAction");
     //
     // expectedSchemaCondition1
     //
     expectedSchemaCondition1.Enabled = true;
     expectedSchemaCondition1.Name    = "expectedSchemaCondition1";
     resources.ApplyResources(expectedSchemaCondition1, "expectedSchemaCondition1");
     expectedSchemaCondition1.Verbose = false;
     //
     // Sales_uspShowOrderDetailsTest_PretestAction
     //
     resources.ApplyResources(Sales_uspShowOrderDetailsTest_PretestAction, "Sales_uspShowOrderDetailsTest_PretestAction");
     //
     // checksumCondition1
     //
     checksumCondition1.Checksum = "-224134707";
     checksumCondition1.Enabled  = true;
     checksumCondition1.Name     = "checksumCondition1";
     //
     // scalarValueCondition3
     //
     scalarValueCondition3.ColumnNumber  = 1;
     scalarValueCondition3.Enabled       = true;
     scalarValueCondition3.ExpectedValue = "0";
     scalarValueCondition3.Name          = "scalarValueCondition3";
     scalarValueCondition3.NullExpected  = false;
     scalarValueCondition3.ResultSet     = 1;
     scalarValueCondition3.RowNumber     = 1;
     //
     // Sales_uspCancelOrderTest_PretestAction
     //
     resources.ApplyResources(Sales_uspCancelOrderTest_PretestAction, "Sales_uspCancelOrderTest_PretestAction");
 }
Пример #34
0
 /// <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 dq_sp_DataIssue_InsertTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataIssueTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition    rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dq_sp_DataIssue_InsertTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           dq_sp_DataIssue_InsertTest_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           StagingLookupTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           StagingLookupTest_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           StagingLookupTest_PosttestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ExecuteSimulatedSSISPackage_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Staging_ExampleDataRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DataVault_ExampleTypeData;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DataVault_ExampleData;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition dq_DataIssue;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ExecuteSimulatedSSISPackage_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction           ExecuteSimulatedSSISPackage_PosttestAction;
     this.dq_sp_DataIssue_InsertTestData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.StagingLookupTestData            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.ExecuteSimulatedSSISPackageData  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dq_sp_DataIssue_InsertTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dq_sp_DataIssue_InsertTest_PretestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dq_sp_DataIssue_InsertTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     StagingLookupTest_TestAction           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     scalarValueCondition1                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     StagingLookupTest_PretestAction        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     StagingLookupTest_PosttestAction       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ExecuteSimulatedSSISPackage_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     Staging_ExampleDataRowCount            = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     DataVault_ExampleTypeData              = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     DataVault_ExampleData                  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     dq_DataIssue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition();
     ExecuteSimulatedSSISPackage_PretestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     ExecuteSimulatedSSISPackage_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // dq_sp_DataIssue_InsertTest_TestAction
     //
     dq_sp_DataIssue_InsertTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dq_sp_DataIssue_InsertTest_TestAction, "dq_sp_DataIssue_InsertTest_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 1;
     //
     // dq_sp_DataIssue_InsertTest_PretestAction
     //
     resources.ApplyResources(dq_sp_DataIssue_InsertTest_PretestAction, "dq_sp_DataIssue_InsertTest_PretestAction");
     //
     // dq_sp_DataIssue_InsertTest_PosttestAction
     //
     resources.ApplyResources(dq_sp_DataIssue_InsertTest_PosttestAction, "dq_sp_DataIssue_InsertTest_PosttestAction");
     //
     // StagingLookupTest_TestAction
     //
     StagingLookupTest_TestAction.Conditions.Add(scalarValueCondition1);
     resources.ApplyResources(StagingLookupTest_TestAction, "StagingLookupTest_TestAction");
     //
     // scalarValueCondition1
     //
     scalarValueCondition1.ColumnNumber  = 1;
     scalarValueCondition1.Enabled       = true;
     scalarValueCondition1.ExpectedValue = "2";
     scalarValueCondition1.Name          = "scalarValueCondition1";
     scalarValueCondition1.NullExpected  = false;
     scalarValueCondition1.ResultSet     = 1;
     scalarValueCondition1.RowNumber     = 1;
     //
     // StagingLookupTest_PretestAction
     //
     resources.ApplyResources(StagingLookupTest_PretestAction, "StagingLookupTest_PretestAction");
     //
     // StagingLookupTest_PosttestAction
     //
     resources.ApplyResources(StagingLookupTest_PosttestAction, "StagingLookupTest_PosttestAction");
     //
     // ExecuteSimulatedSSISPackage_TestAction
     //
     ExecuteSimulatedSSISPackage_TestAction.Conditions.Add(Staging_ExampleDataRowCount);
     ExecuteSimulatedSSISPackage_TestAction.Conditions.Add(DataVault_ExampleTypeData);
     ExecuteSimulatedSSISPackage_TestAction.Conditions.Add(DataVault_ExampleData);
     ExecuteSimulatedSSISPackage_TestAction.Conditions.Add(dq_DataIssue);
     resources.ApplyResources(ExecuteSimulatedSSISPackage_TestAction, "ExecuteSimulatedSSISPackage_TestAction");
     //
     // Staging_ExampleDataRowCount
     //
     Staging_ExampleDataRowCount.ColumnNumber  = 1;
     Staging_ExampleDataRowCount.Enabled       = true;
     Staging_ExampleDataRowCount.ExpectedValue = "4";
     Staging_ExampleDataRowCount.Name          = "Staging_ExampleDataRowCount";
     Staging_ExampleDataRowCount.NullExpected  = false;
     Staging_ExampleDataRowCount.ResultSet     = 1;
     Staging_ExampleDataRowCount.RowNumber     = 1;
     //
     // DataVault_ExampleTypeData
     //
     DataVault_ExampleTypeData.ColumnNumber  = 1;
     DataVault_ExampleTypeData.Enabled       = true;
     DataVault_ExampleTypeData.ExpectedValue = "3";
     DataVault_ExampleTypeData.Name          = "DataVault_ExampleTypeData";
     DataVault_ExampleTypeData.NullExpected  = false;
     DataVault_ExampleTypeData.ResultSet     = 2;
     DataVault_ExampleTypeData.RowNumber     = 1;
     //
     // DataVault_ExampleData
     //
     DataVault_ExampleData.ColumnNumber  = 1;
     DataVault_ExampleData.Enabled       = true;
     DataVault_ExampleData.ExpectedValue = "3";
     DataVault_ExampleData.Name          = "DataVault_ExampleData";
     DataVault_ExampleData.NullExpected  = false;
     DataVault_ExampleData.ResultSet     = 3;
     DataVault_ExampleData.RowNumber     = 1;
     //
     // dq_DataIssue
     //
     dq_DataIssue.ColumnNumber  = 1;
     dq_DataIssue.Enabled       = true;
     dq_DataIssue.ExpectedValue = "3";
     dq_DataIssue.Name          = "dq_DataIssue";
     dq_DataIssue.NullExpected  = false;
     dq_DataIssue.ResultSet     = 4;
     dq_DataIssue.RowNumber     = 1;
     //
     // ExecuteSimulatedSSISPackage_PretestAction
     //
     resources.ApplyResources(ExecuteSimulatedSSISPackage_PretestAction, "ExecuteSimulatedSSISPackage_PretestAction");
     //
     // ExecuteSimulatedSSISPackage_PosttestAction
     //
     resources.ApplyResources(ExecuteSimulatedSSISPackage_PosttestAction, "ExecuteSimulatedSSISPackage_PosttestAction");
     //
     // dq_sp_DataIssue_InsertTestData
     //
     this.dq_sp_DataIssue_InsertTestData.PosttestAction = dq_sp_DataIssue_InsertTest_PosttestAction;
     this.dq_sp_DataIssue_InsertTestData.PretestAction  = dq_sp_DataIssue_InsertTest_PretestAction;
     this.dq_sp_DataIssue_InsertTestData.TestAction     = dq_sp_DataIssue_InsertTest_TestAction;
     //
     // StagingLookupTestData
     //
     this.StagingLookupTestData.PosttestAction = StagingLookupTest_PosttestAction;
     this.StagingLookupTestData.PretestAction  = StagingLookupTest_PretestAction;
     this.StagingLookupTestData.TestAction     = StagingLookupTest_TestAction;
     //
     // ExecuteSimulatedSSISPackageData
     //
     this.ExecuteSimulatedSSISPackageData.PosttestAction = ExecuteSimulatedSSISPackage_PosttestAction;
     this.ExecuteSimulatedSSISPackageData.PretestAction  = ExecuteSimulatedSSISPackage_PretestAction;
     this.ExecuteSimulatedSSISPackageData.TestAction     = ExecuteSimulatedSSISPackage_TestAction;
 }