예제 #1
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;
 }
예제 #2
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 SplitStringTests_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SplitTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition      SplitStringsDataCheckSum;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition TotalExecutionTime;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SplitIntsTests_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition      SplitIntsChecksum;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition SplitIntsTotalExecutionTime;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SplitBigIntsTests_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition      SplitBigIntsChecksum;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition SplitBigIntsTotalExecutionTime;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SplitFloatsTests_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition      SplitFloatsChecksum;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition SplitFloatsTotalExecutionTime;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             SplitStringEmptyTests_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      StringSplitEmptyRowDataRowCount;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      SplitStringRemoveEmptiesRowCount;
     this.SplitStringTestsData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.SplitIntsTestsData        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.SplitBigIntsTestsData     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.SplitFloatsTestsData      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.SplitStringEmptyTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     SplitStringTests_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SplitStringsDataCheckSum       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     TotalExecutionTime             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     SplitIntsTests_TestAction      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SplitIntsChecksum                = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     SplitIntsTotalExecutionTime      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     SplitBigIntsTests_TestAction     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SplitBigIntsChecksum             = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     SplitBigIntsTotalExecutionTime   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     SplitFloatsTests_TestAction      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     SplitFloatsChecksum              = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition();
     SplitFloatsTotalExecutionTime    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     SplitStringEmptyTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     StringSplitEmptyRowDataRowCount  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     SplitStringRemoveEmptiesRowCount = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     //
     // SplitStringTests_TestAction
     //
     SplitStringTests_TestAction.Conditions.Add(SplitStringsDataCheckSum);
     SplitStringTests_TestAction.Conditions.Add(TotalExecutionTime);
     resources.ApplyResources(SplitStringTests_TestAction, "SplitStringTests_TestAction");
     //
     // SplitStringsDataCheckSum
     //
     SplitStringsDataCheckSum.Checksum = "-898979040";
     SplitStringsDataCheckSum.Enabled  = true;
     SplitStringsDataCheckSum.Name     = "SplitStringsDataCheckSum";
     //
     // TotalExecutionTime
     //
     TotalExecutionTime.Enabled       = true;
     TotalExecutionTime.ExecutionTime = System.TimeSpan.Parse("00:00:00.5000000");
     TotalExecutionTime.Name          = "TotalExecutionTime";
     //
     // SplitIntsTests_TestAction
     //
     SplitIntsTests_TestAction.Conditions.Add(SplitIntsChecksum);
     SplitIntsTests_TestAction.Conditions.Add(SplitIntsTotalExecutionTime);
     resources.ApplyResources(SplitIntsTests_TestAction, "SplitIntsTests_TestAction");
     //
     // SplitIntsChecksum
     //
     SplitIntsChecksum.Checksum = "689696137";
     SplitIntsChecksum.Enabled  = true;
     SplitIntsChecksum.Name     = "SplitIntsChecksum";
     //
     // SplitIntsTotalExecutionTime
     //
     SplitIntsTotalExecutionTime.Enabled       = true;
     SplitIntsTotalExecutionTime.ExecutionTime = System.TimeSpan.Parse("00:00:00.5000000");
     SplitIntsTotalExecutionTime.Name          = "SplitIntsTotalExecutionTime";
     //
     // SplitBigIntsTests_TestAction
     //
     SplitBigIntsTests_TestAction.Conditions.Add(SplitBigIntsChecksum);
     SplitBigIntsTests_TestAction.Conditions.Add(SplitBigIntsTotalExecutionTime);
     resources.ApplyResources(SplitBigIntsTests_TestAction, "SplitBigIntsTests_TestAction");
     //
     // SplitBigIntsChecksum
     //
     SplitBigIntsChecksum.Checksum = "275330368";
     SplitBigIntsChecksum.Enabled  = true;
     SplitBigIntsChecksum.Name     = "SplitBigIntsChecksum";
     //
     // SplitBigIntsTotalExecutionTime
     //
     SplitBigIntsTotalExecutionTime.Enabled       = true;
     SplitBigIntsTotalExecutionTime.ExecutionTime = System.TimeSpan.Parse("00:00:00.7500000");
     SplitBigIntsTotalExecutionTime.Name          = "SplitBigIntsTotalExecutionTime";
     //
     // SplitFloatsTests_TestAction
     //
     SplitFloatsTests_TestAction.Conditions.Add(SplitFloatsChecksum);
     SplitFloatsTests_TestAction.Conditions.Add(SplitFloatsTotalExecutionTime);
     resources.ApplyResources(SplitFloatsTests_TestAction, "SplitFloatsTests_TestAction");
     //
     // SplitFloatsChecksum
     //
     SplitFloatsChecksum.Checksum = "-1905467329";
     SplitFloatsChecksum.Enabled  = true;
     SplitFloatsChecksum.Name     = "SplitFloatsChecksum";
     //
     // SplitFloatsTotalExecutionTime
     //
     SplitFloatsTotalExecutionTime.Enabled       = true;
     SplitFloatsTotalExecutionTime.ExecutionTime = System.TimeSpan.Parse("00:00:00.5000000");
     SplitFloatsTotalExecutionTime.Name          = "SplitFloatsTotalExecutionTime";
     //
     // SplitStringEmptyTests_TestAction
     //
     SplitStringEmptyTests_TestAction.Conditions.Add(StringSplitEmptyRowDataRowCount);
     SplitStringEmptyTests_TestAction.Conditions.Add(SplitStringRemoveEmptiesRowCount);
     resources.ApplyResources(SplitStringEmptyTests_TestAction, "SplitStringEmptyTests_TestAction");
     //
     // StringSplitEmptyRowDataRowCount
     //
     StringSplitEmptyRowDataRowCount.Enabled   = true;
     StringSplitEmptyRowDataRowCount.Name      = "StringSplitEmptyRowDataRowCount";
     StringSplitEmptyRowDataRowCount.ResultSet = 1;
     StringSplitEmptyRowDataRowCount.RowCount  = 3;
     //
     // SplitStringRemoveEmptiesRowCount
     //
     SplitStringRemoveEmptiesRowCount.Enabled   = true;
     SplitStringRemoveEmptiesRowCount.Name      = "SplitStringRemoveEmptiesRowCount";
     SplitStringRemoveEmptiesRowCount.ResultSet = 2;
     SplitStringRemoveEmptiesRowCount.RowCount  = 2;
     //
     // SplitStringTestsData
     //
     this.SplitStringTestsData.PosttestAction = null;
     this.SplitStringTestsData.PretestAction  = null;
     this.SplitStringTestsData.TestAction     = SplitStringTests_TestAction;
     //
     // SplitIntsTestsData
     //
     this.SplitIntsTestsData.PosttestAction = null;
     this.SplitIntsTestsData.PretestAction  = null;
     this.SplitIntsTestsData.TestAction     = SplitIntsTests_TestAction;
     //
     // SplitBigIntsTestsData
     //
     this.SplitBigIntsTestsData.PosttestAction = null;
     this.SplitBigIntsTestsData.PretestAction  = null;
     this.SplitBigIntsTestsData.TestAction     = SplitBigIntsTests_TestAction;
     //
     // SplitFloatsTestsData
     //
     this.SplitFloatsTestsData.PosttestAction = null;
     this.SplitFloatsTestsData.PretestAction  = null;
     this.SplitFloatsTestsData.TestAction     = SplitFloatsTests_TestAction;
     //
     // SplitStringEmptyTestsData
     //
     this.SplitStringEmptyTestsData.PosttestAction = null;
     this.SplitStringEmptyTestsData.PretestAction  = null;
     this.SplitStringEmptyTestsData.TestAction     = SplitStringEmptyTests_TestAction;
 }
예제 #3
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 CategoryInsert_Bikes_NotEmpty_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AuctionTests));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition     executionTimeCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CategoryInsert_Bikes_NotEmpty_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CategoryInsert_Duplicate_Fails_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction CategoryInsert_Duplicate_Fails_PretestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction testInitializeAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspCategoryDelete_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspCategoryInsert_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspCategorySelect_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspListingDelete_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspListingInsert_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspListingSelect_Test_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction uspListingUpdate_Test_TestAction;
     this.CategoryInsert_Bikes_NotEmptyData   = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.CategoryInsert_Duplicate_FailsData  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspCategoryDelete_TestData          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspCategoryInsert_TestData          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspCategorySelect_TestData          = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspListingDelete_TestData           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspListingInsert_TestData           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspListingSelect_TestData           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.uspListingUpdate_TestData           = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     CategoryInsert_Bikes_NotEmpty_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     notEmptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition();
     executionTimeCondition1     = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     CategoryInsert_Bikes_NotEmpty_PretestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     CategoryInsert_Duplicate_Fails_TestAction    = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     CategoryInsert_Duplicate_Fails_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     testInitializeAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspCategoryDelete_Test_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspCategoryInsert_Test_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspCategorySelect_Test_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspListingDelete_Test_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspListingInsert_Test_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspListingSelect_Test_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     uspListingUpdate_Test_TestAction  = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     //
     // CategoryInsert_Bikes_NotEmpty_TestAction
     //
     CategoryInsert_Bikes_NotEmpty_TestAction.Conditions.Add(notEmptyResultSetCondition1);
     CategoryInsert_Bikes_NotEmpty_TestAction.Conditions.Add(executionTimeCondition1);
     resources.ApplyResources(CategoryInsert_Bikes_NotEmpty_TestAction, "CategoryInsert_Bikes_NotEmpty_TestAction");
     //
     // notEmptyResultSetCondition1
     //
     notEmptyResultSetCondition1.Enabled   = true;
     notEmptyResultSetCondition1.Name      = "notEmptyResultSetCondition1";
     notEmptyResultSetCondition1.ResultSet = 1;
     //
     // executionTimeCondition1
     //
     executionTimeCondition1.Enabled       = true;
     executionTimeCondition1.ExecutionTime = System.TimeSpan.Parse("00:00:05");
     executionTimeCondition1.Name          = "executionTimeCondition1";
     //
     // CategoryInsert_Bikes_NotEmpty_PretestAction
     //
     resources.ApplyResources(CategoryInsert_Bikes_NotEmpty_PretestAction, "CategoryInsert_Bikes_NotEmpty_PretestAction");
     //
     // CategoryInsert_Duplicate_Fails_TestAction
     //
     resources.ApplyResources(CategoryInsert_Duplicate_Fails_TestAction, "CategoryInsert_Duplicate_Fails_TestAction");
     //
     // CategoryInsert_Duplicate_Fails_PretestAction
     //
     resources.ApplyResources(CategoryInsert_Duplicate_Fails_PretestAction, "CategoryInsert_Duplicate_Fails_PretestAction");
     //
     // testInitializeAction
     //
     resources.ApplyResources(testInitializeAction, "testInitializeAction");
     //
     // CategoryInsert_Bikes_NotEmptyData
     //
     this.CategoryInsert_Bikes_NotEmptyData.PosttestAction = null;
     this.CategoryInsert_Bikes_NotEmptyData.PretestAction  = CategoryInsert_Bikes_NotEmpty_PretestAction;
     this.CategoryInsert_Bikes_NotEmptyData.TestAction     = CategoryInsert_Bikes_NotEmpty_TestAction;
     //
     // CategoryInsert_Duplicate_FailsData
     //
     this.CategoryInsert_Duplicate_FailsData.PosttestAction = null;
     this.CategoryInsert_Duplicate_FailsData.PretestAction  = CategoryInsert_Duplicate_Fails_PretestAction;
     this.CategoryInsert_Duplicate_FailsData.TestAction     = CategoryInsert_Duplicate_Fails_TestAction;
     //
     // uspCategoryDelete_TestData
     //
     this.uspCategoryDelete_TestData.PosttestAction = null;
     this.uspCategoryDelete_TestData.PretestAction  = null;
     this.uspCategoryDelete_TestData.TestAction     = uspCategoryDelete_Test_TestAction;
     //
     // uspCategoryDelete_Test_TestAction
     //
     resources.ApplyResources(uspCategoryDelete_Test_TestAction, "uspCategoryDelete_Test_TestAction");
     //
     // uspCategoryInsert_TestData
     //
     this.uspCategoryInsert_TestData.PosttestAction = null;
     this.uspCategoryInsert_TestData.PretestAction  = null;
     this.uspCategoryInsert_TestData.TestAction     = uspCategoryInsert_Test_TestAction;
     //
     // uspCategoryInsert_Test_TestAction
     //
     resources.ApplyResources(uspCategoryInsert_Test_TestAction, "uspCategoryInsert_Test_TestAction");
     //
     // uspCategorySelect_TestData
     //
     this.uspCategorySelect_TestData.PosttestAction = null;
     this.uspCategorySelect_TestData.PretestAction  = null;
     this.uspCategorySelect_TestData.TestAction     = uspCategorySelect_Test_TestAction;
     //
     // uspCategorySelect_Test_TestAction
     //
     resources.ApplyResources(uspCategorySelect_Test_TestAction, "uspCategorySelect_Test_TestAction");
     //
     // uspListingDelete_TestData
     //
     this.uspListingDelete_TestData.PosttestAction = null;
     this.uspListingDelete_TestData.PretestAction  = null;
     this.uspListingDelete_TestData.TestAction     = uspListingDelete_Test_TestAction;
     //
     // uspListingDelete_Test_TestAction
     //
     resources.ApplyResources(uspListingDelete_Test_TestAction, "uspListingDelete_Test_TestAction");
     //
     // uspListingInsert_TestData
     //
     this.uspListingInsert_TestData.PosttestAction = null;
     this.uspListingInsert_TestData.PretestAction  = null;
     this.uspListingInsert_TestData.TestAction     = uspListingInsert_Test_TestAction;
     //
     // uspListingInsert_Test_TestAction
     //
     resources.ApplyResources(uspListingInsert_Test_TestAction, "uspListingInsert_Test_TestAction");
     //
     // uspListingSelect_TestData
     //
     this.uspListingSelect_TestData.PosttestAction = null;
     this.uspListingSelect_TestData.PretestAction  = null;
     this.uspListingSelect_TestData.TestAction     = uspListingSelect_Test_TestAction;
     //
     // uspListingSelect_Test_TestAction
     //
     resources.ApplyResources(uspListingSelect_Test_TestAction, "uspListingSelect_Test_TestAction");
     //
     // uspListingUpdate_TestData
     //
     this.uspListingUpdate_TestData.PosttestAction = null;
     this.uspListingUpdate_TestData.PretestAction  = null;
     this.uspListingUpdate_TestData.TestAction     = uspListingUpdate_Test_TestAction;
     //
     // uspListingUpdate_Test_TestAction
     //
     resources.ApplyResources(uspListingUpdate_Test_TestAction, "uspListingUpdate_Test_TestAction");
     //
     // AuctionTests
     //
     this.TestInitializeAction = testInitializeAction;
 }
 /// <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_spGetFiveRecentResponseTextTest_TestAction;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1));
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition      rowCountCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             dbo_spInsert_server_response_logTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction             dbo_spPopulateData_server_response_logTest_TestAction;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition executionTimeCondition1;
     Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition executionTimeCondition2;
     this.dbo_spGetFiveRecentResponseTextTestData        = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_spInsert_server_response_logTestData       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     this.dbo_spPopulateData_server_response_logTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions();
     dbo_spGetFiveRecentResponseTextTest_TestAction      = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition();
     dbo_spInsert_server_response_logTest_TestAction       = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     dbo_spPopulateData_server_response_logTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction();
     executionTimeCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     executionTimeCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition();
     //
     // dbo_spGetFiveRecentResponseTextTest_TestAction
     //
     dbo_spGetFiveRecentResponseTextTest_TestAction.Conditions.Add(rowCountCondition1);
     resources.ApplyResources(dbo_spGetFiveRecentResponseTextTest_TestAction, "dbo_spGetFiveRecentResponseTextTest_TestAction");
     //
     // rowCountCondition1
     //
     rowCountCondition1.Enabled   = true;
     rowCountCondition1.Name      = "rowCountCondition1";
     rowCountCondition1.ResultSet = 1;
     rowCountCondition1.RowCount  = 5;
     //
     // dbo_spInsert_server_response_logTest_TestAction
     //
     dbo_spInsert_server_response_logTest_TestAction.Conditions.Add(executionTimeCondition2);
     resources.ApplyResources(dbo_spInsert_server_response_logTest_TestAction, "dbo_spInsert_server_response_logTest_TestAction");
     //
     // dbo_spPopulateData_server_response_logTest_TestAction
     //
     dbo_spPopulateData_server_response_logTest_TestAction.Conditions.Add(executionTimeCondition1);
     resources.ApplyResources(dbo_spPopulateData_server_response_logTest_TestAction, "dbo_spPopulateData_server_response_logTest_TestAction");
     //
     // executionTimeCondition1
     //
     executionTimeCondition1.Enabled       = true;
     executionTimeCondition1.ExecutionTime = System.TimeSpan.Parse("00:00:30");
     executionTimeCondition1.Name          = "executionTimeCondition1";
     //
     // dbo_spGetFiveRecentResponseTextTestData
     //
     this.dbo_spGetFiveRecentResponseTextTestData.PosttestAction = null;
     this.dbo_spGetFiveRecentResponseTextTestData.PretestAction  = null;
     this.dbo_spGetFiveRecentResponseTextTestData.TestAction     = dbo_spGetFiveRecentResponseTextTest_TestAction;
     //
     // dbo_spInsert_server_response_logTestData
     //
     this.dbo_spInsert_server_response_logTestData.PosttestAction = null;
     this.dbo_spInsert_server_response_logTestData.PretestAction  = null;
     this.dbo_spInsert_server_response_logTestData.TestAction     = dbo_spInsert_server_response_logTest_TestAction;
     //
     // dbo_spPopulateData_server_response_logTestData
     //
     this.dbo_spPopulateData_server_response_logTestData.PosttestAction = null;
     this.dbo_spPopulateData_server_response_logTestData.PretestAction  = null;
     this.dbo_spPopulateData_server_response_logTestData.TestAction     = dbo_spPopulateData_server_response_logTest_TestAction;
     //
     // executionTimeCondition2
     //
     executionTimeCondition2.Enabled       = true;
     executionTimeCondition2.ExecutionTime = System.TimeSpan.Parse("00:00:01");
     executionTimeCondition2.Name          = "executionTimeCondition2";
 }