/// <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_KiemTraTruocKhiNhanXetTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTestKTTruocKhiNhanXet)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_KiemTraTruocKhiNhanXetTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_KiemTraTruocKhiNhanXetTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_KiemTraTruocKhiNhanXetTestData // this.dbo_KiemTraTruocKhiNhanXetTestData.PosttestAction = null; this.dbo_KiemTraTruocKhiNhanXetTestData.PretestAction = null; this.dbo_KiemTraTruocKhiNhanXetTestData.TestAction = dbo_KiemTraTruocKhiNhanXetTest_TestAction; // // dbo_KiemTraTruocKhiNhanXetTest_TestAction // dbo_KiemTraTruocKhiNhanXetTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_KiemTraTruocKhiNhanXetTest_TestAction, "dbo_KiemTraTruocKhiNhanXetTest_TestAction"); // // checksumCondition1 // checksumCondition1.Checksum = "659269635"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; }
/// <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_TimTaiKhoanTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TaiKhoanTrung)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_TimTaiKhoanTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_TimTaiKhoanTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_TimTaiKhoanTest_TestAction // dbo_TimTaiKhoanTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_TimTaiKhoanTest_TestAction, "dbo_TimTaiKhoanTest_TestAction"); // // checksumCondition1 // checksumCondition1.Checksum = "-1913580479"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // dbo_TimTaiKhoanTestData // this.dbo_TimTaiKhoanTestData.PosttestAction = null; this.dbo_TimTaiKhoanTestData.PretestAction = null; this.dbo_TimTaiKhoanTestData.TestAction = dbo_TimTaiKhoanTest_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_spGetAllCustomerTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(GetAllCustomerUnitTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_spGetAllCustomerTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_spGetAllCustomerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_spGetAllCustomerTest_TestAction // dbo_spGetAllCustomerTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_spGetAllCustomerTest_TestAction, "dbo_spGetAllCustomerTest_TestAction"); // // dbo_spGetAllCustomerTestData // this.dbo_spGetAllCustomerTestData.PosttestAction = null; this.dbo_spGetAllCustomerTestData.PretestAction = null; this.dbo_spGetAllCustomerTestData.TestAction = dbo_spGetAllCustomerTest_TestAction; // // checksumCondition1 // checksumCondition1.Checksum = "211677648"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; }
/// <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_Country_InsertTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Country_Insert_Test)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_Country_InsertTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_Country_InsertTest_PosttestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExecutionTimeCondition executionTimeCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_Country_InsertTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_Country_InsertTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_Country_InsertTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_Country_InsertTest_PosttestAction = 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(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_Country_InsertTest_TestAction // dbo_Country_InsertTest_TestAction.Conditions.Add(rowCountCondition1); dbo_Country_InsertTest_TestAction.Conditions.Add(executionTimeCondition1); dbo_Country_InsertTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_Country_InsertTest_TestAction, "dbo_Country_InsertTest_TestAction"); // // dbo_Country_InsertTestData // this.dbo_Country_InsertTestData.PosttestAction = dbo_Country_InsertTest_PosttestAction; this.dbo_Country_InsertTestData.PretestAction = dbo_Country_InsertTest_PretestAction; this.dbo_Country_InsertTestData.TestAction = dbo_Country_InsertTest_TestAction; // // dbo_Country_InsertTest_PretestAction // resources.ApplyResources(dbo_Country_InsertTest_PretestAction, "dbo_Country_InsertTest_PretestAction"); // // dbo_Country_InsertTest_PosttestAction // resources.ApplyResources(dbo_Country_InsertTest_PosttestAction, "dbo_Country_InsertTest_PosttestAction"); // // rowCountCondition1 // rowCountCondition1.Enabled = true; rowCountCondition1.Name = "rowCountCondition1"; rowCountCondition1.ResultSet = 1; rowCountCondition1.RowCount = 1; // // executionTimeCondition1 // executionTimeCondition1.Enabled = true; executionTimeCondition1.ExecutionTime = System.TimeSpan.Parse("00:00:30"); executionTimeCondition1.Name = "executionTimeCondition1"; // // checksumCondition1 // checksumCondition1.Checksum = "-2016663507"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; }
/// <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_spGatAllCustomerTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_spGetAllRentedVideoTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition2; this.dbo_spGatAllCustomerTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_spGetAllRentedVideoTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_spGatAllCustomerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_spGetAllRentedVideoTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); checksumCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_spGatAllCustomerTest_TestAction // dbo_spGatAllCustomerTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_spGatAllCustomerTest_TestAction, "dbo_spGatAllCustomerTest_TestAction"); // // dbo_spGetAllRentedVideoTest_TestAction // dbo_spGetAllRentedVideoTest_TestAction.Conditions.Add(checksumCondition2); resources.ApplyResources(dbo_spGetAllRentedVideoTest_TestAction, "dbo_spGetAllRentedVideoTest_TestAction"); // // dbo_spGatAllCustomerTestData // this.dbo_spGatAllCustomerTestData.PosttestAction = null; this.dbo_spGatAllCustomerTestData.PretestAction = null; this.dbo_spGatAllCustomerTestData.TestAction = dbo_spGatAllCustomerTest_TestAction; // // dbo_spGetAllRentedVideoTestData // this.dbo_spGetAllRentedVideoTestData.PosttestAction = null; this.dbo_spGetAllRentedVideoTestData.PretestAction = null; this.dbo_spGetAllRentedVideoTestData.TestAction = dbo_spGetAllRentedVideoTest_TestAction; // // checksumCondition1 // checksumCondition1.Checksum = "2010718385"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // checksumCondition2 // checksumCondition2.Checksum = "-666878249"; checksumCondition2.Enabled = true; checksumCondition2.Name = "checksumCondition2"; }
/// <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_XemDiemTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestXemdiem_1551010024)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition1; this.dbo_XemDiemTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_XemDiemTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); emptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); // // dbo_XemDiemTest_TestAction // dbo_XemDiemTest_TestAction.Conditions.Add(rowCountCondition1); dbo_XemDiemTest_TestAction.Conditions.Add(checksumCondition1); dbo_XemDiemTest_TestAction.Conditions.Add(emptyResultSetCondition1); resources.ApplyResources(dbo_XemDiemTest_TestAction, "dbo_XemDiemTest_TestAction"); // // rowCountCondition1 // rowCountCondition1.Enabled = true; rowCountCondition1.Name = "rowCountCondition1"; rowCountCondition1.ResultSet = 1; rowCountCondition1.RowCount = 1; // // checksumCondition1 // checksumCondition1.Checksum = "-307226885"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // dbo_XemDiemTestData // this.dbo_XemDiemTestData.PosttestAction = null; this.dbo_XemDiemTestData.PretestAction = null; this.dbo_XemDiemTestData.TestAction = dbo_XemDiemTest_TestAction; // // emptyResultSetCondition1 // emptyResultSetCondition1.Enabled = false; emptyResultSetCondition1.Name = "emptyResultSetCondition1"; emptyResultSetCondition1.ResultSet = 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 SqlTest1_PretestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest1)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction SqlTest1_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.InconclusiveCondition inconclusiveCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.SqlTest1Data = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); SqlTest1_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); SqlTest1_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); inconclusiveCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.InconclusiveCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // SqlTest1_PretestAction // resources.ApplyResources(SqlTest1_PretestAction, "SqlTest1_PretestAction"); // // SqlTest1Data // this.SqlTest1Data.PosttestAction = null; this.SqlTest1Data.PretestAction = SqlTest1_PretestAction; this.SqlTest1Data.TestAction = SqlTest1_TestAction; // // SqlTest1_TestAction // SqlTest1_TestAction.Conditions.Add(inconclusiveCondition1); SqlTest1_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(SqlTest1_TestAction, "SqlTest1_TestAction"); // // inconclusiveCondition1 // inconclusiveCondition1.Enabled = true; inconclusiveCondition1.Name = "inconclusiveCondition1"; // // checksumCondition1 // checksumCondition1.Checksum = null; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; }
/// <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_InsertConfiguruationTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(test)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.InconclusiveCondition inconclusiveCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_PR_InsertConfiguruationTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_PR_InsertConfiguruationTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_PR_InsertConfiguruationTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); inconclusiveCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.InconclusiveCondition(); dbo_PR_InsertConfiguruationTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_PR_InsertConfiguruationTest_TestAction // dbo_PR_InsertConfiguruationTest_TestAction.Conditions.Add(inconclusiveCondition1); resources.ApplyResources(dbo_PR_InsertConfiguruationTest_TestAction, "dbo_PR_InsertConfiguruationTest_TestAction"); // // inconclusiveCondition1 // inconclusiveCondition1.Enabled = true; inconclusiveCondition1.Name = "inconclusiveCondition1"; // // dbo_PR_InsertConfiguruationTestData // this.dbo_PR_InsertConfiguruationTestData.PosttestAction = null; this.dbo_PR_InsertConfiguruationTestData.PretestAction = dbo_PR_InsertConfiguruationTest_PretestAction; this.dbo_PR_InsertConfiguruationTestData.TestAction = dbo_PR_InsertConfiguruationTest_TestAction; // // dbo_PR_InsertConfiguruationTest_PretestAction // dbo_PR_InsertConfiguruationTest_PretestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_PR_InsertConfiguruationTest_PretestAction, "dbo_PR_InsertConfiguruationTest_PretestAction"); // // checksumCondition1 // checksumCondition1.Checksum = null; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; }
/// <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_USP_GetListBillByDateTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest_USP_GetListBillByDate_)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; this.dbo_USP_GetListBillByDateTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_USP_GetListBillByDateTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // dbo_USP_GetListBillByDateTest_TestAction // dbo_USP_GetListBillByDateTest_TestAction.Conditions.Add(rowCountCondition1); dbo_USP_GetListBillByDateTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_USP_GetListBillByDateTest_TestAction, "dbo_USP_GetListBillByDateTest_TestAction"); // // rowCountCondition1 // rowCountCondition1.Enabled = true; rowCountCondition1.Name = "rowCountCondition1"; rowCountCondition1.ResultSet = 1; rowCountCondition1.RowCount = 6; // // checksumCondition1 // checksumCondition1.Checksum = null; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // dbo_USP_GetListBillByDateTestData // this.dbo_USP_GetListBillByDateTestData.PosttestAction = null; this.dbo_USP_GetListBillByDateTestData.PretestAction = null; this.dbo_USP_GetListBillByDateTestData.TestAction = dbo_USP_GetListBillByDateTest_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_TestXemThoiKhoaBieuTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestXemTKB)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition XemTKB; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition SoMonHocDaDK; this.dbo_TestXemThoiKhoaBieuTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_TestXemThoiKhoaBieuTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); XemTKB = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); SoMonHocDaDK = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); // // dbo_TestXemThoiKhoaBieuTest_TestAction // dbo_TestXemThoiKhoaBieuTest_TestAction.Conditions.Add(XemTKB); dbo_TestXemThoiKhoaBieuTest_TestAction.Conditions.Add(SoMonHocDaDK); resources.ApplyResources(dbo_TestXemThoiKhoaBieuTest_TestAction, "dbo_TestXemThoiKhoaBieuTest_TestAction"); // // XemTKB // XemTKB.Checksum = "1838100339"; XemTKB.Enabled = true; XemTKB.Name = "XemTKB"; // // SoMonHocDaDK // SoMonHocDaDK.Enabled = true; SoMonHocDaDK.Name = "SoMonHocDaDK"; SoMonHocDaDK.ResultSet = 1; SoMonHocDaDK.RowCount = 2; // // dbo_TestXemThoiKhoaBieuTestData // this.dbo_TestXemThoiKhoaBieuTestData.PosttestAction = null; this.dbo_TestXemThoiKhoaBieuTestData.PretestAction = null; this.dbo_TestXemThoiKhoaBieuTestData.TestAction = dbo_TestXemThoiKhoaBieuTest_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 StructuredError_SplitStringTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SQLStructuredErrorTests)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition5; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition6; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition5; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition6; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition7; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_ErrorConvertToStringTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition13; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_ErrorLookupTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition10; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_BeginAuditLogProcEntryTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition8; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_EndAuditLogEntryTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition11; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition12; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_ErrorHandlerTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition9; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_MaintenanceUpdatesTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition15; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition16; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition6; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction StructuredError_ErrorConvertToXMLTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition14; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition5; this.StructuredError_SplitStringTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_ErrorConvertToStringTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_ErrorLookupTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_BeginAuditLogProcEntryTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_EndAuditLogEntryTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_ErrorHandlerTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_MaintenanceUpdatesTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.StructuredError_ErrorConvertToXMLTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); StructuredError_SplitStringTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); emptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); emptyResultSetCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); emptyResultSetCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); emptyResultSetCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); emptyResultSetCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); rowCountCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); emptyResultSetCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); rowCountCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition7 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); StructuredError_ErrorConvertToStringTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition13 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); StructuredError_ErrorLookupTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition10 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); StructuredError_BeginAuditLogProcEntryTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition8 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); StructuredError_EndAuditLogEntryTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition11 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition12 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); StructuredError_ErrorHandlerTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition9 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); StructuredError_MaintenanceUpdatesTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition15 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); rowCountCondition16 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition6 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); StructuredError_ErrorConvertToXMLTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition14 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // StructuredError_SplitStringTest_TestAction // StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition1); StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition2); StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition3); StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition4); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition1); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition2); StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition5); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition3); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition4); StructuredError_SplitStringTest_TestAction.Conditions.Add(emptyResultSetCondition6); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition5); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition6); StructuredError_SplitStringTest_TestAction.Conditions.Add(rowCountCondition7); StructuredError_SplitStringTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(StructuredError_SplitStringTest_TestAction, "StructuredError_SplitStringTest_TestAction"); // // emptyResultSetCondition1 // emptyResultSetCondition1.Enabled = true; emptyResultSetCondition1.Name = "emptyResultSetCondition1"; emptyResultSetCondition1.ResultSet = 1; // // emptyResultSetCondition2 // emptyResultSetCondition2.Enabled = true; emptyResultSetCondition2.Name = "emptyResultSetCondition2"; emptyResultSetCondition2.ResultSet = 2; // // emptyResultSetCondition3 // emptyResultSetCondition3.Enabled = true; emptyResultSetCondition3.Name = "emptyResultSetCondition3"; emptyResultSetCondition3.ResultSet = 3; // // emptyResultSetCondition4 // emptyResultSetCondition4.Enabled = true; emptyResultSetCondition4.Name = "emptyResultSetCondition4"; emptyResultSetCondition4.ResultSet = 3; // // rowCountCondition1 // rowCountCondition1.Enabled = true; rowCountCondition1.Name = "rowCountCondition1"; rowCountCondition1.ResultSet = 4; rowCountCondition1.RowCount = 1; // // rowCountCondition2 // rowCountCondition2.Enabled = true; rowCountCondition2.Name = "rowCountCondition2"; rowCountCondition2.ResultSet = 5; rowCountCondition2.RowCount = 1; // // emptyResultSetCondition5 // emptyResultSetCondition5.Enabled = true; emptyResultSetCondition5.Name = "emptyResultSetCondition5"; emptyResultSetCondition5.ResultSet = 6; // // rowCountCondition3 // rowCountCondition3.Enabled = true; rowCountCondition3.Name = "rowCountCondition3"; rowCountCondition3.ResultSet = 7; rowCountCondition3.RowCount = 1; // // rowCountCondition4 // rowCountCondition4.Enabled = true; rowCountCondition4.Name = "rowCountCondition4"; rowCountCondition4.ResultSet = 8; rowCountCondition4.RowCount = 1; // // emptyResultSetCondition6 // emptyResultSetCondition6.Enabled = true; emptyResultSetCondition6.Name = "emptyResultSetCondition6"; emptyResultSetCondition6.ResultSet = 9; // // rowCountCondition5 // rowCountCondition5.Enabled = true; rowCountCondition5.Name = "rowCountCondition5"; rowCountCondition5.ResultSet = 10; rowCountCondition5.RowCount = 1; // // rowCountCondition6 // rowCountCondition6.Enabled = true; rowCountCondition6.Name = "rowCountCondition6"; rowCountCondition6.ResultSet = 11; rowCountCondition6.RowCount = 1; // // rowCountCondition7 // rowCountCondition7.Enabled = true; rowCountCondition7.Name = "rowCountCondition7"; rowCountCondition7.ResultSet = 12; rowCountCondition7.RowCount = 4; // // checksumCondition1 // checksumCondition1.Checksum = "-138619099"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // StructuredError_ErrorConvertToStringTest_TestAction // StructuredError_ErrorConvertToStringTest_TestAction.Conditions.Add(rowCountCondition13); StructuredError_ErrorConvertToStringTest_TestAction.Conditions.Add(checksumCondition4); resources.ApplyResources(StructuredError_ErrorConvertToStringTest_TestAction, "StructuredError_ErrorConvertToStringTest_TestAction"); // // rowCountCondition13 // rowCountCondition13.Enabled = true; rowCountCondition13.Name = "rowCountCondition13"; rowCountCondition13.ResultSet = 1; rowCountCondition13.RowCount = 2; // // checksumCondition4 // checksumCondition4.Checksum = "340935587"; checksumCondition4.Enabled = true; checksumCondition4.Name = "checksumCondition4"; // // StructuredError_ErrorLookupTest_TestAction // StructuredError_ErrorLookupTest_TestAction.Conditions.Add(rowCountCondition10); StructuredError_ErrorLookupTest_TestAction.Conditions.Add(checksumCondition2); resources.ApplyResources(StructuredError_ErrorLookupTest_TestAction, "StructuredError_ErrorLookupTest_TestAction"); // // rowCountCondition10 // rowCountCondition10.Enabled = true; rowCountCondition10.Name = "rowCountCondition10"; rowCountCondition10.ResultSet = 1; rowCountCondition10.RowCount = 2; // // checksumCondition2 // checksumCondition2.Checksum = "-736518073"; checksumCondition2.Enabled = true; checksumCondition2.Name = "checksumCondition2"; // // StructuredError_BeginAuditLogProcEntryTest_TestAction // StructuredError_BeginAuditLogProcEntryTest_TestAction.Conditions.Add(rowCountCondition8); StructuredError_BeginAuditLogProcEntryTest_TestAction.Conditions.Add(checksumCondition3); resources.ApplyResources(StructuredError_BeginAuditLogProcEntryTest_TestAction, "StructuredError_BeginAuditLogProcEntryTest_TestAction"); // // rowCountCondition8 // rowCountCondition8.Enabled = true; rowCountCondition8.Name = "rowCountCondition8"; rowCountCondition8.ResultSet = 1; rowCountCondition8.RowCount = 1; // // checksumCondition3 // checksumCondition3.Checksum = "-909019958"; checksumCondition3.Enabled = true; checksumCondition3.Name = "checksumCondition3"; // // StructuredError_EndAuditLogEntryTest_TestAction // StructuredError_EndAuditLogEntryTest_TestAction.Conditions.Add(rowCountCondition11); StructuredError_EndAuditLogEntryTest_TestAction.Conditions.Add(rowCountCondition12); resources.ApplyResources(StructuredError_EndAuditLogEntryTest_TestAction, "StructuredError_EndAuditLogEntryTest_TestAction"); // // rowCountCondition11 // rowCountCondition11.Enabled = true; rowCountCondition11.Name = "rowCountCondition11"; rowCountCondition11.ResultSet = 1; rowCountCondition11.RowCount = 1; // // rowCountCondition12 // rowCountCondition12.Enabled = true; rowCountCondition12.Name = "rowCountCondition12"; rowCountCondition12.ResultSet = 1; rowCountCondition12.RowCount = 1; // // StructuredError_ErrorHandlerTest_TestAction // StructuredError_ErrorHandlerTest_TestAction.Conditions.Add(rowCountCondition9); resources.ApplyResources(StructuredError_ErrorHandlerTest_TestAction, "StructuredError_ErrorHandlerTest_TestAction"); // // rowCountCondition9 // rowCountCondition9.Enabled = true; rowCountCondition9.Name = "rowCountCondition9"; rowCountCondition9.ResultSet = 1; rowCountCondition9.RowCount = 1; // // StructuredError_MaintenanceUpdatesTest_TestAction // StructuredError_MaintenanceUpdatesTest_TestAction.Conditions.Add(rowCountCondition15); StructuredError_MaintenanceUpdatesTest_TestAction.Conditions.Add(rowCountCondition16); StructuredError_MaintenanceUpdatesTest_TestAction.Conditions.Add(checksumCondition6); resources.ApplyResources(StructuredError_MaintenanceUpdatesTest_TestAction, "StructuredError_MaintenanceUpdatesTest_TestAction"); // // rowCountCondition15 // rowCountCondition15.Enabled = true; rowCountCondition15.Name = "rowCountCondition15"; rowCountCondition15.ResultSet = 1; rowCountCondition15.RowCount = 0; // // rowCountCondition16 // rowCountCondition16.Enabled = true; rowCountCondition16.Name = "rowCountCondition16"; rowCountCondition16.ResultSet = 2; rowCountCondition16.RowCount = 1; // // checksumCondition6 // checksumCondition6.Checksum = "-108243850"; checksumCondition6.Enabled = true; checksumCondition6.Name = "checksumCondition6"; // // StructuredError_ErrorConvertToXMLTest_TestAction // StructuredError_ErrorConvertToXMLTest_TestAction.Conditions.Add(rowCountCondition14); StructuredError_ErrorConvertToXMLTest_TestAction.Conditions.Add(checksumCondition5); resources.ApplyResources(StructuredError_ErrorConvertToXMLTest_TestAction, "StructuredError_ErrorConvertToXMLTest_TestAction"); // // rowCountCondition14 // rowCountCondition14.Enabled = true; rowCountCondition14.Name = "rowCountCondition14"; rowCountCondition14.ResultSet = 1; rowCountCondition14.RowCount = 2; // // checksumCondition5 // checksumCondition5.Checksum = "18519681"; checksumCondition5.Enabled = true; checksumCondition5.Name = "checksumCondition5"; // // StructuredError_SplitStringTestData // this.StructuredError_SplitStringTestData.PosttestAction = null; this.StructuredError_SplitStringTestData.PretestAction = null; this.StructuredError_SplitStringTestData.TestAction = StructuredError_SplitStringTest_TestAction; // // StructuredError_ErrorConvertToStringTestData // this.StructuredError_ErrorConvertToStringTestData.PosttestAction = null; this.StructuredError_ErrorConvertToStringTestData.PretestAction = null; this.StructuredError_ErrorConvertToStringTestData.TestAction = StructuredError_ErrorConvertToStringTest_TestAction; // // StructuredError_ErrorLookupTestData // this.StructuredError_ErrorLookupTestData.PosttestAction = null; this.StructuredError_ErrorLookupTestData.PretestAction = null; this.StructuredError_ErrorLookupTestData.TestAction = StructuredError_ErrorLookupTest_TestAction; // // StructuredError_BeginAuditLogProcEntryTestData // this.StructuredError_BeginAuditLogProcEntryTestData.PosttestAction = null; this.StructuredError_BeginAuditLogProcEntryTestData.PretestAction = null; this.StructuredError_BeginAuditLogProcEntryTestData.TestAction = StructuredError_BeginAuditLogProcEntryTest_TestAction; // // StructuredError_EndAuditLogEntryTestData // this.StructuredError_EndAuditLogEntryTestData.PosttestAction = null; this.StructuredError_EndAuditLogEntryTestData.PretestAction = null; this.StructuredError_EndAuditLogEntryTestData.TestAction = StructuredError_EndAuditLogEntryTest_TestAction; // // StructuredError_ErrorHandlerTestData // this.StructuredError_ErrorHandlerTestData.PosttestAction = null; this.StructuredError_ErrorHandlerTestData.PretestAction = null; this.StructuredError_ErrorHandlerTestData.TestAction = StructuredError_ErrorHandlerTest_TestAction; // // StructuredError_MaintenanceUpdatesTestData // this.StructuredError_MaintenanceUpdatesTestData.PosttestAction = null; this.StructuredError_MaintenanceUpdatesTestData.PretestAction = null; this.StructuredError_MaintenanceUpdatesTestData.TestAction = StructuredError_MaintenanceUpdatesTest_TestAction; // // StructuredError_ErrorConvertToXMLTestData // this.StructuredError_ErrorConvertToXMLTestData.PosttestAction = null; this.StructuredError_ErrorConvertToXMLTestData.PretestAction = null; this.StructuredError_ErrorConvertToXMLTestData.TestAction = StructuredError_ErrorConvertToXMLTest_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"); }
/// <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_TimLichThiTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UnitTestTimLichThi)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition SoLuongHangKetQua; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition CheckMSSV; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition CheckPhongThi; this.dbo_TimLichThiTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_TimLichThiTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); SoLuongHangKetQua = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); CheckMSSV = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); CheckPhongThi = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); // // dbo_TimLichThiTest_TestAction // dbo_TimLichThiTest_TestAction.Conditions.Add(checksumCondition1); dbo_TimLichThiTest_TestAction.Conditions.Add(SoLuongHangKetQua); dbo_TimLichThiTest_TestAction.Conditions.Add(CheckMSSV); dbo_TimLichThiTest_TestAction.Conditions.Add(CheckPhongThi); resources.ApplyResources(dbo_TimLichThiTest_TestAction, "dbo_TimLichThiTest_TestAction"); // // checksumCondition1 // checksumCondition1.Checksum = "1147688446"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // SoLuongHangKetQua // SoLuongHangKetQua.Enabled = true; SoLuongHangKetQua.Name = "SoLuongHangKetQua"; SoLuongHangKetQua.ResultSet = 1; SoLuongHangKetQua.RowCount = 1; // // dbo_TimLichThiTestData // this.dbo_TimLichThiTestData.PosttestAction = null; this.dbo_TimLichThiTestData.PretestAction = null; this.dbo_TimLichThiTestData.TestAction = dbo_TimLichThiTest_TestAction; // // CheckMSSV // CheckMSSV.ColumnNumber = 2; CheckMSSV.Enabled = true; CheckMSSV.ExpectedValue = "1551010032"; CheckMSSV.Name = "CheckMSSV"; CheckMSSV.NullExpected = false; CheckMSSV.ResultSet = 1; CheckMSSV.RowNumber = 1; // // CheckPhongThi // CheckPhongThi.ColumnNumber = 5; CheckPhongThi.Enabled = true; CheckPhongThi.ExpectedValue = "105"; CheckPhongThi.Name = "CheckPhongThi"; CheckPhongThi.NullExpected = false; CheckPhongThi.ResultSet = 1; CheckPhongThi.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 AggregatesConcatTests_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AggregatesTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition ConcatRowCount; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition ConcatChecksum; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction AggregatesMedianTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Median1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAdams1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAdams2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAllen1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAllen2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAnderson1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition MedianAnderson2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction AggregatesPercentileTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PercentileAdams1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PercentileAdams2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PercentileAllen1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PercentileAllen2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction AggregatesWeightedAvgTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition WeightedAvg1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition WeightedAvg2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction testInitializeAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction testCleanupAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction AggregatesTestDataNotEmpty_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition TestDataRowCount; this.AggregatesConcatTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.AggregatesMedianTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.AggregatesPercentileTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.AggregatesWeightedAvgTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.AggregatesTestDataNotEmptyData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); AggregatesConcatTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); ConcatRowCount = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); ConcatChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); AggregatesMedianTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); Median1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAdams1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAdams2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAllen1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAllen2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAnderson1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); MedianAnderson2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); AggregatesPercentileTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); PercentileAdams1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PercentileAdams2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PercentileAllen1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PercentileAllen2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); AggregatesWeightedAvgTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); WeightedAvg1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); WeightedAvg2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); testInitializeAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); testCleanupAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); AggregatesTestDataNotEmpty_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); TestDataRowCount = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); // // AggregatesConcatTests_TestAction // AggregatesConcatTests_TestAction.Conditions.Add(ConcatRowCount); AggregatesConcatTests_TestAction.Conditions.Add(ConcatChecksum); resources.ApplyResources(AggregatesConcatTests_TestAction, "AggregatesConcatTests_TestAction"); // // ConcatRowCount // ConcatRowCount.Enabled = true; ConcatRowCount.Name = "ConcatRowCount"; ConcatRowCount.ResultSet = 1; ConcatRowCount.RowCount = 2; // // ConcatChecksum // ConcatChecksum.Checksum = "1096366309"; ConcatChecksum.Enabled = true; ConcatChecksum.Name = "ConcatChecksum"; // // AggregatesMedianTests_TestAction // AggregatesMedianTests_TestAction.Conditions.Add(Median1); AggregatesMedianTests_TestAction.Conditions.Add(MedianAdams1); AggregatesMedianTests_TestAction.Conditions.Add(MedianAdams2); AggregatesMedianTests_TestAction.Conditions.Add(MedianAllen1); AggregatesMedianTests_TestAction.Conditions.Add(MedianAllen2); AggregatesMedianTests_TestAction.Conditions.Add(MedianAnderson1); AggregatesMedianTests_TestAction.Conditions.Add(MedianAnderson2); resources.ApplyResources(AggregatesMedianTests_TestAction, "AggregatesMedianTests_TestAction"); // // Median1 // Median1.ColumnNumber = 1; Median1.Enabled = true; Median1.ExpectedValue = "250.5"; Median1.Name = "Median1"; Median1.NullExpected = false; Median1.ResultSet = 1; Median1.RowNumber = 1; // // MedianAdams1 // MedianAdams1.ColumnNumber = 1; MedianAdams1.Enabled = true; MedianAdams1.ExpectedValue = "Adams"; MedianAdams1.Name = "MedianAdams1"; MedianAdams1.NullExpected = false; MedianAdams1.ResultSet = 2; MedianAdams1.RowNumber = 1; // // MedianAdams2 // MedianAdams2.ColumnNumber = 2; MedianAdams2.Enabled = true; MedianAdams2.ExpectedValue = "41"; MedianAdams2.Name = "MedianAdams2"; MedianAdams2.NullExpected = false; MedianAdams2.ResultSet = 2; MedianAdams2.RowNumber = 1; // // MedianAllen1 // MedianAllen1.ColumnNumber = 1; MedianAllen1.Enabled = true; MedianAllen1.ExpectedValue = "Allen"; MedianAllen1.Name = "MedianAllen1"; MedianAllen1.NullExpected = false; MedianAllen1.ResultSet = 2; MedianAllen1.RowNumber = 2; // // MedianAllen2 // MedianAllen2.ColumnNumber = 2; MedianAllen2.Enabled = true; MedianAllen2.ExpectedValue = "39"; MedianAllen2.Name = "MedianAllen2"; MedianAllen2.NullExpected = false; MedianAllen2.ResultSet = 2; MedianAllen2.RowNumber = 2; // // MedianAnderson1 // MedianAnderson1.ColumnNumber = 1; MedianAnderson1.Enabled = true; MedianAnderson1.ExpectedValue = "Anderson"; MedianAnderson1.Name = "MedianAnderson1"; MedianAnderson1.NullExpected = false; MedianAnderson1.ResultSet = 2; MedianAnderson1.RowNumber = 3; // // MedianAnderson2 // MedianAnderson2.ColumnNumber = 2; MedianAnderson2.Enabled = true; MedianAnderson2.ExpectedValue = "48.5"; MedianAnderson2.Name = "MedianAnderson2"; MedianAnderson2.NullExpected = false; MedianAnderson2.ResultSet = 2; MedianAnderson2.RowNumber = 3; // // AggregatesPercentileTests_TestAction // AggregatesPercentileTests_TestAction.Conditions.Add(PercentileAdams1); AggregatesPercentileTests_TestAction.Conditions.Add(PercentileAdams2); AggregatesPercentileTests_TestAction.Conditions.Add(PercentileAllen1); AggregatesPercentileTests_TestAction.Conditions.Add(PercentileAllen2); resources.ApplyResources(AggregatesPercentileTests_TestAction, "AggregatesPercentileTests_TestAction"); // // PercentileAdams1 // PercentileAdams1.ColumnNumber = 1; PercentileAdams1.Enabled = true; PercentileAdams1.ExpectedValue = "Adams"; PercentileAdams1.Name = "PercentileAdams1"; PercentileAdams1.NullExpected = false; PercentileAdams1.ResultSet = 1; PercentileAdams1.RowNumber = 1; // // PercentileAdams2 // PercentileAdams2.ColumnNumber = 2; PercentileAdams2.Enabled = true; PercentileAdams2.ExpectedValue = "52"; PercentileAdams2.Name = "PercentileAdams2"; PercentileAdams2.NullExpected = false; PercentileAdams2.ResultSet = 1; PercentileAdams2.RowNumber = 1; // // PercentileAllen1 // PercentileAllen1.ColumnNumber = 1; PercentileAllen1.Enabled = true; PercentileAllen1.ExpectedValue = "Allen"; PercentileAllen1.Name = "PercentileAllen1"; PercentileAllen1.NullExpected = false; PercentileAllen1.ResultSet = 1; PercentileAllen1.RowNumber = 2; // // PercentileAllen2 // PercentileAllen2.ColumnNumber = 2; PercentileAllen2.Enabled = true; PercentileAllen2.ExpectedValue = "57"; PercentileAllen2.Name = "PercentileAllen2"; PercentileAllen2.NullExpected = false; PercentileAllen2.ResultSet = 1; PercentileAllen2.RowNumber = 2; // // AggregatesWeightedAvgTests_TestAction // AggregatesWeightedAvgTests_TestAction.Conditions.Add(WeightedAvg1); AggregatesWeightedAvgTests_TestAction.Conditions.Add(WeightedAvg2); resources.ApplyResources(AggregatesWeightedAvgTests_TestAction, "AggregatesWeightedAvgTests_TestAction"); // // WeightedAvg1 // WeightedAvg1.ColumnNumber = 1; WeightedAvg1.Enabled = true; WeightedAvg1.ExpectedValue = "2"; WeightedAvg1.Name = "WeightedAvg1"; WeightedAvg1.NullExpected = false; WeightedAvg1.ResultSet = 2; WeightedAvg1.RowNumber = 1; // // WeightedAvg2 // WeightedAvg2.ColumnNumber = 2; WeightedAvg2.Enabled = true; WeightedAvg2.ExpectedValue = "3"; WeightedAvg2.Name = "WeightedAvg2"; WeightedAvg2.NullExpected = false; WeightedAvg2.ResultSet = 2; WeightedAvg2.RowNumber = 1; // // testInitializeAction // resources.ApplyResources(testInitializeAction, "testInitializeAction"); // // testCleanupAction // resources.ApplyResources(testCleanupAction, "testCleanupAction"); // // AggregatesTestDataNotEmpty_TestAction // AggregatesTestDataNotEmpty_TestAction.Conditions.Add(TestDataRowCount); resources.ApplyResources(AggregatesTestDataNotEmpty_TestAction, "AggregatesTestDataNotEmpty_TestAction"); // // TestDataRowCount // TestDataRowCount.Enabled = true; TestDataRowCount.Name = "TestDataRowCount"; TestDataRowCount.ResultSet = 1; TestDataRowCount.RowCount = 500; // // AggregatesConcatTestsData // this.AggregatesConcatTestsData.PosttestAction = null; this.AggregatesConcatTestsData.PretestAction = null; this.AggregatesConcatTestsData.TestAction = AggregatesConcatTests_TestAction; // // AggregatesMedianTestsData // this.AggregatesMedianTestsData.PosttestAction = null; this.AggregatesMedianTestsData.PretestAction = null; this.AggregatesMedianTestsData.TestAction = AggregatesMedianTests_TestAction; // // AggregatesPercentileTestsData // this.AggregatesPercentileTestsData.PosttestAction = null; this.AggregatesPercentileTestsData.PretestAction = null; this.AggregatesPercentileTestsData.TestAction = AggregatesPercentileTests_TestAction; // // AggregatesWeightedAvgTestsData // this.AggregatesWeightedAvgTestsData.PosttestAction = null; this.AggregatesWeightedAvgTestsData.PretestAction = null; this.AggregatesWeightedAvgTestsData.TestAction = AggregatesWeightedAvgTests_TestAction; // // AggregatesTestDataNotEmptyData // this.AggregatesTestDataNotEmptyData.PosttestAction = null; this.AggregatesTestDataNotEmptyData.PretestAction = null; this.AggregatesTestDataNotEmptyData.TestAction = AggregatesTestDataNotEmpty_TestAction; // // AggregatesTest // this.TestCleanupAction = testCleanupAction; 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_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; }
/// <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; }
/// <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_getDsHoaDonTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TestGetData)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_getDsKhachHangTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_getDsNhanVienTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_getDsPhongTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_getDsDatPhongTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCondition5; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition5; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition5; this.dbo_getDsHoaDonTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_getDsKhachHangTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_getDsNhanVienTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_getDsPhongTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_getDsDatPhongTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_getDsHoaDonTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_getDsKhachHangTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_getDsNhanVienTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_getDsPhongTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_getDsDatPhongTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); rowCountCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); checksumCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); scalarValueCondition5 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); // // dbo_getDsHoaDonTest_TestAction // dbo_getDsHoaDonTest_TestAction.Conditions.Add(rowCountCondition4); dbo_getDsHoaDonTest_TestAction.Conditions.Add(checksumCondition4); dbo_getDsHoaDonTest_TestAction.Conditions.Add(scalarValueCondition4); resources.ApplyResources(dbo_getDsHoaDonTest_TestAction, "dbo_getDsHoaDonTest_TestAction"); // // rowCountCondition4 // rowCountCondition4.Enabled = true; rowCountCondition4.Name = "rowCountCondition4"; rowCountCondition4.ResultSet = 1; rowCountCondition4.RowCount = 1; // // checksumCondition4 // checksumCondition4.Checksum = "1875785465"; checksumCondition4.Enabled = true; checksumCondition4.Name = "checksumCondition4"; // // scalarValueCondition4 // scalarValueCondition4.ColumnNumber = 3; scalarValueCondition4.Enabled = true; scalarValueCondition4.ExpectedValue = "DP001"; scalarValueCondition4.Name = "scalarValueCondition4"; scalarValueCondition4.NullExpected = false; scalarValueCondition4.ResultSet = 1; scalarValueCondition4.RowNumber = 1; // // dbo_getDsKhachHangTest_TestAction // dbo_getDsKhachHangTest_TestAction.Conditions.Add(rowCountCondition3); dbo_getDsKhachHangTest_TestAction.Conditions.Add(checksumCondition3); dbo_getDsKhachHangTest_TestAction.Conditions.Add(scalarValueCondition3); resources.ApplyResources(dbo_getDsKhachHangTest_TestAction, "dbo_getDsKhachHangTest_TestAction"); // // rowCountCondition3 // rowCountCondition3.Enabled = true; rowCountCondition3.Name = "rowCountCondition3"; rowCountCondition3.ResultSet = 1; rowCountCondition3.RowCount = 10; // // checksumCondition3 // checksumCondition3.Checksum = "-1496969242"; checksumCondition3.Enabled = true; checksumCondition3.Name = "checksumCondition3"; // // scalarValueCondition3 // scalarValueCondition3.ColumnNumber = 1; scalarValueCondition3.Enabled = true; scalarValueCondition3.ExpectedValue = "KH101"; scalarValueCondition3.Name = "scalarValueCondition3"; scalarValueCondition3.NullExpected = false; scalarValueCondition3.ResultSet = 1; scalarValueCondition3.RowNumber = 9; // // dbo_getDsNhanVienTest_TestAction // dbo_getDsNhanVienTest_TestAction.Conditions.Add(rowCountCondition2); dbo_getDsNhanVienTest_TestAction.Conditions.Add(checksumCondition2); dbo_getDsNhanVienTest_TestAction.Conditions.Add(scalarValueCondition2); resources.ApplyResources(dbo_getDsNhanVienTest_TestAction, "dbo_getDsNhanVienTest_TestAction"); // // rowCountCondition2 // rowCountCondition2.Enabled = true; rowCountCondition2.Name = "rowCountCondition2"; rowCountCondition2.ResultSet = 1; rowCountCondition2.RowCount = 13; // // checksumCondition2 // checksumCondition2.Checksum = "679578466"; checksumCondition2.Enabled = true; checksumCondition2.Name = "checksumCondition2"; // // scalarValueCondition2 // scalarValueCondition2.ColumnNumber = 1; scalarValueCondition2.Enabled = true; scalarValueCondition2.ExpectedValue = "NV004"; scalarValueCondition2.Name = "scalarValueCondition2"; scalarValueCondition2.NullExpected = false; scalarValueCondition2.ResultSet = 1; scalarValueCondition2.RowNumber = 4; // // dbo_getDsPhongTest_TestAction // dbo_getDsPhongTest_TestAction.Conditions.Add(rowCountCondition1); dbo_getDsPhongTest_TestAction.Conditions.Add(checksumCondition1); dbo_getDsPhongTest_TestAction.Conditions.Add(scalarValueCondition1); resources.ApplyResources(dbo_getDsPhongTest_TestAction, "dbo_getDsPhongTest_TestAction"); // // rowCountCondition1 // rowCountCondition1.Enabled = true; rowCountCondition1.Name = "rowCountCondition1"; rowCountCondition1.ResultSet = 1; rowCountCondition1.RowCount = 30; // // checksumCondition1 // checksumCondition1.Checksum = "1557271792"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // scalarValueCondition1 // scalarValueCondition1.ColumnNumber = 1; scalarValueCondition1.Enabled = true; scalarValueCondition1.ExpectedValue = "D104"; scalarValueCondition1.Name = "scalarValueCondition1"; scalarValueCondition1.NullExpected = false; scalarValueCondition1.ResultSet = 1; scalarValueCondition1.RowNumber = 1; // // dbo_getDsDatPhongTest_TestAction // dbo_getDsDatPhongTest_TestAction.Conditions.Add(rowCountCondition5); dbo_getDsDatPhongTest_TestAction.Conditions.Add(checksumCondition5); dbo_getDsDatPhongTest_TestAction.Conditions.Add(scalarValueCondition5); resources.ApplyResources(dbo_getDsDatPhongTest_TestAction, "dbo_getDsDatPhongTest_TestAction"); // // rowCountCondition5 // rowCountCondition5.Enabled = true; rowCountCondition5.Name = "rowCountCondition5"; rowCountCondition5.ResultSet = 1; rowCountCondition5.RowCount = 20; // // checksumCondition5 // checksumCondition5.Checksum = "1429950451"; checksumCondition5.Enabled = true; checksumCondition5.Name = "checksumCondition5"; // // scalarValueCondition5 // scalarValueCondition5.ColumnNumber = 3; scalarValueCondition5.Enabled = true; scalarValueCondition5.ExpectedValue = "KH002"; scalarValueCondition5.Name = "scalarValueCondition5"; scalarValueCondition5.NullExpected = false; scalarValueCondition5.ResultSet = 1; scalarValueCondition5.RowNumber = 19; // // dbo_getDsHoaDonTestData // this.dbo_getDsHoaDonTestData.PosttestAction = null; this.dbo_getDsHoaDonTestData.PretestAction = null; this.dbo_getDsHoaDonTestData.TestAction = dbo_getDsHoaDonTest_TestAction; // // dbo_getDsKhachHangTestData // this.dbo_getDsKhachHangTestData.PosttestAction = null; this.dbo_getDsKhachHangTestData.PretestAction = null; this.dbo_getDsKhachHangTestData.TestAction = dbo_getDsKhachHangTest_TestAction; // // dbo_getDsNhanVienTestData // this.dbo_getDsNhanVienTestData.PosttestAction = null; this.dbo_getDsNhanVienTestData.PretestAction = null; this.dbo_getDsNhanVienTestData.TestAction = dbo_getDsNhanVienTest_TestAction; // // dbo_getDsPhongTestData // this.dbo_getDsPhongTestData.PosttestAction = null; this.dbo_getDsPhongTestData.PretestAction = null; this.dbo_getDsPhongTestData.TestAction = dbo_getDsPhongTest_TestAction; // // dbo_getDsDatPhongTestData // this.dbo_getDsDatPhongTestData.PosttestAction = null; this.dbo_getDsDatPhongTestData.PretestAction = null; this.dbo_getDsDatPhongTestData.TestAction = dbo_getDsDatPhongTest_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 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; }
/// <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 PathTests_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PathTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetDirectoryName; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetFileName; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetFileNameWithoutExtension; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetGetExtension; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetPathRoot; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathIsPathRooted; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathCombine; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition PathGetPathRootUNC; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction PathNullChecks_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition PathNullChecksChecksum; this.PathTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.PathNullChecksData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); PathTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); PathGetDirectoryName = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathGetFileName = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathGetFileNameWithoutExtension = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathGetGetExtension = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathGetPathRoot = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathIsPathRooted = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathCombine = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathGetPathRootUNC = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); PathNullChecks_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); PathNullChecksChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // PathTestsData // this.PathTestsData.PosttestAction = null; this.PathTestsData.PretestAction = null; this.PathTestsData.TestAction = PathTests_TestAction; // // PathTests_TestAction // PathTests_TestAction.Conditions.Add(PathGetDirectoryName); PathTests_TestAction.Conditions.Add(PathGetFileName); PathTests_TestAction.Conditions.Add(PathGetFileNameWithoutExtension); PathTests_TestAction.Conditions.Add(PathGetGetExtension); PathTests_TestAction.Conditions.Add(PathGetPathRoot); PathTests_TestAction.Conditions.Add(PathIsPathRooted); PathTests_TestAction.Conditions.Add(PathCombine); PathTests_TestAction.Conditions.Add(PathGetPathRootUNC); resources.ApplyResources(PathTests_TestAction, "PathTests_TestAction"); // // PathGetDirectoryName // PathGetDirectoryName.ColumnNumber = 1; PathGetDirectoryName.Enabled = true; PathGetDirectoryName.ExpectedValue = "C:\\Program Files (x86)\\Microsoft SDKs\\Microsoft Sync Framework\\v1.0\\Runtime\\ADO.N" + "ET\\V2.0\\Samples\\blah\\sub directory"; PathGetDirectoryName.Name = "PathGetDirectoryName"; PathGetDirectoryName.NullExpected = false; PathGetDirectoryName.ResultSet = 1; PathGetDirectoryName.RowNumber = 1; // // PathGetFileName // PathGetFileName.ColumnNumber = 2; PathGetFileName.Enabled = true; PathGetFileName.ExpectedValue = "demo.sql"; PathGetFileName.Name = "PathGetFileName"; PathGetFileName.NullExpected = false; PathGetFileName.ResultSet = 1; PathGetFileName.RowNumber = 1; // // PathGetFileNameWithoutExtension // PathGetFileNameWithoutExtension.ColumnNumber = 3; PathGetFileNameWithoutExtension.Enabled = true; PathGetFileNameWithoutExtension.ExpectedValue = "demo"; PathGetFileNameWithoutExtension.Name = "PathGetFileNameWithoutExtension"; PathGetFileNameWithoutExtension.NullExpected = false; PathGetFileNameWithoutExtension.ResultSet = 1; PathGetFileNameWithoutExtension.RowNumber = 1; // // PathGetGetExtension // PathGetGetExtension.ColumnNumber = 4; PathGetGetExtension.Enabled = true; PathGetGetExtension.ExpectedValue = ".sql"; PathGetGetExtension.Name = "PathGetGetExtension"; PathGetGetExtension.NullExpected = false; PathGetGetExtension.ResultSet = 1; PathGetGetExtension.RowNumber = 1; // // PathGetPathRoot // PathGetPathRoot.ColumnNumber = 5; PathGetPathRoot.Enabled = true; PathGetPathRoot.ExpectedValue = "C:\\"; PathGetPathRoot.Name = "PathGetPathRoot"; PathGetPathRoot.NullExpected = false; PathGetPathRoot.ResultSet = 1; PathGetPathRoot.RowNumber = 1; // // PathIsPathRooted // PathIsPathRooted.ColumnNumber = 6; PathIsPathRooted.Enabled = true; PathIsPathRooted.ExpectedValue = "true"; PathIsPathRooted.Name = "PathIsPathRooted"; PathIsPathRooted.NullExpected = false; PathIsPathRooted.ResultSet = 1; PathIsPathRooted.RowNumber = 1; // // PathCombine // PathCombine.ColumnNumber = 7; PathCombine.Enabled = true; PathCombine.ExpectedValue = "C:\\Program Files (x86)\\Microsoft SDKs\\Microsoft Sync Framework\\v1.0\\Runtime\\ADO.N" + "ET\\V2.0\\Samples\\blah\\sub directory\\foo.sql"; PathCombine.Name = "PathCombine"; PathCombine.NullExpected = false; PathCombine.ResultSet = 1; PathCombine.RowNumber = 1; // // PathGetPathRootUNC // PathGetPathRootUNC.ColumnNumber = 8; PathGetPathRootUNC.Enabled = true; PathGetPathRootUNC.ExpectedValue = "\\\\server\\share"; PathGetPathRootUNC.Name = "PathGetPathRootUNC"; PathGetPathRootUNC.NullExpected = false; PathGetPathRootUNC.ResultSet = 1; PathGetPathRootUNC.RowNumber = 1; // // PathNullChecksData // this.PathNullChecksData.PosttestAction = null; this.PathNullChecksData.PretestAction = null; this.PathNullChecksData.TestAction = PathNullChecks_TestAction; // // PathNullChecks_TestAction // PathNullChecks_TestAction.Conditions.Add(PathNullChecksChecksum); resources.ApplyResources(PathNullChecks_TestAction, "PathNullChecks_TestAction"); // // PathNullChecksChecksum // PathNullChecksChecksum.Checksum = "-487856238"; PathNullChecksChecksum.Enabled = true; PathNullChecksChecksum.Name = "PathNullChecksChecksum"; }
/// <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; }
/// <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_AddToDKTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaCondition1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UnitTestDKMH)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_CheckClassTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCheckClass; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_DeleteFromDKTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumDeleteFromDK; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaDeleteFromDK; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_FindSubjectTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueFindSubject; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_GetInfoTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumGetInfo; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetGetInfo; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition expectedSchemaGetInfo; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetGetInfo; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition rowCountGetInfo; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueGetInfo; this.dbo_AddToDKTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_CheckClassTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_DeleteFromDKTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_FindSubjectTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_GetInfoTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_AddToDKTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); expectedSchemaCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); dbo_CheckClassTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); emptyResultSetCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); expectedSchemaCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); notEmptyResultSetCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); rowCountCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); scalarValueCheckClass = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_DeleteFromDKTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumDeleteFromDK = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); expectedSchemaDeleteFromDK = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); dbo_FindSubjectTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); emptyResultSetFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); expectedSchemaFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); notEmptyResultSetFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); rowCountFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); scalarValueFindSubject = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_GetInfoTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); checksumGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); emptyResultSetGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); expectedSchemaGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition(); notEmptyResultSetGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); rowCountGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); scalarValueGetInfo = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); // // dbo_AddToDKTest_TestAction // dbo_AddToDKTest_TestAction.Conditions.Add(checksumCondition1); dbo_AddToDKTest_TestAction.Conditions.Add(expectedSchemaCondition1); resources.ApplyResources(dbo_AddToDKTest_TestAction, "dbo_AddToDKTest_TestAction"); // // checksumCondition1 // checksumCondition1.Checksum = "-1113720315"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // expectedSchemaCondition1 // expectedSchemaCondition1.Enabled = true; expectedSchemaCondition1.Name = "expectedSchemaCondition1"; resources.ApplyResources(expectedSchemaCondition1, "expectedSchemaCondition1"); expectedSchemaCondition1.Verbose = false; // // dbo_CheckClassTest_TestAction // dbo_CheckClassTest_TestAction.Conditions.Add(checksumCheckClass); dbo_CheckClassTest_TestAction.Conditions.Add(emptyResultSetCheckClass); dbo_CheckClassTest_TestAction.Conditions.Add(expectedSchemaCheckClass); dbo_CheckClassTest_TestAction.Conditions.Add(notEmptyResultSetCheckClass); dbo_CheckClassTest_TestAction.Conditions.Add(rowCountCheckClass); dbo_CheckClassTest_TestAction.Conditions.Add(scalarValueCheckClass); resources.ApplyResources(dbo_CheckClassTest_TestAction, "dbo_CheckClassTest_TestAction"); // // checksumCheckClass // checksumCheckClass.Checksum = "1659998681"; checksumCheckClass.Enabled = false; checksumCheckClass.Name = "checksumCheckClass"; // // emptyResultSetCheckClass // emptyResultSetCheckClass.Enabled = false; emptyResultSetCheckClass.Name = "emptyResultSetCheckClass"; emptyResultSetCheckClass.ResultSet = 1; // // expectedSchemaCheckClass // expectedSchemaCheckClass.Enabled = true; expectedSchemaCheckClass.Name = "expectedSchemaCheckClass"; resources.ApplyResources(expectedSchemaCheckClass, "expectedSchemaCheckClass"); expectedSchemaCheckClass.Verbose = false; // // notEmptyResultSetCheckClass // notEmptyResultSetCheckClass.Enabled = true; notEmptyResultSetCheckClass.Name = "notEmptyResultSetCheckClass"; notEmptyResultSetCheckClass.ResultSet = 1; // // rowCountCheckClass // rowCountCheckClass.Enabled = true; rowCountCheckClass.Name = "rowCountCheckClass"; rowCountCheckClass.ResultSet = 1; rowCountCheckClass.RowCount = 1; // // scalarValueCheckClass // scalarValueCheckClass.ColumnNumber = 1; scalarValueCheckClass.Enabled = true; scalarValueCheckClass.ExpectedValue = "TH01"; scalarValueCheckClass.Name = "scalarValueCheckClass"; scalarValueCheckClass.NullExpected = false; scalarValueCheckClass.ResultSet = 1; scalarValueCheckClass.RowNumber = 1; // // dbo_DeleteFromDKTest_TestAction // dbo_DeleteFromDKTest_TestAction.Conditions.Add(checksumDeleteFromDK); dbo_DeleteFromDKTest_TestAction.Conditions.Add(expectedSchemaDeleteFromDK); resources.ApplyResources(dbo_DeleteFromDKTest_TestAction, "dbo_DeleteFromDKTest_TestAction"); // // checksumDeleteFromDK // checksumDeleteFromDK.Checksum = "-1113720315"; checksumDeleteFromDK.Enabled = false; checksumDeleteFromDK.Name = "checksumDeleteFromDK"; // // expectedSchemaDeleteFromDK // expectedSchemaDeleteFromDK.Enabled = true; expectedSchemaDeleteFromDK.Name = "expectedSchemaDeleteFromDK"; resources.ApplyResources(expectedSchemaDeleteFromDK, "expectedSchemaDeleteFromDK"); expectedSchemaDeleteFromDK.Verbose = false; // // dbo_FindSubjectTest_TestAction // dbo_FindSubjectTest_TestAction.Conditions.Add(checksumFindSubject); dbo_FindSubjectTest_TestAction.Conditions.Add(emptyResultSetFindSubject); dbo_FindSubjectTest_TestAction.Conditions.Add(expectedSchemaFindSubject); dbo_FindSubjectTest_TestAction.Conditions.Add(notEmptyResultSetFindSubject); dbo_FindSubjectTest_TestAction.Conditions.Add(rowCountFindSubject); dbo_FindSubjectTest_TestAction.Conditions.Add(scalarValueFindSubject); resources.ApplyResources(dbo_FindSubjectTest_TestAction, "dbo_FindSubjectTest_TestAction"); // // checksumFindSubject // checksumFindSubject.Checksum = "-34885523"; checksumFindSubject.Enabled = false; checksumFindSubject.Name = "checksumFindSubject"; // // emptyResultSetFindSubject // emptyResultSetFindSubject.Enabled = false; emptyResultSetFindSubject.Name = "emptyResultSetFindSubject"; emptyResultSetFindSubject.ResultSet = 1; // // expectedSchemaFindSubject // expectedSchemaFindSubject.Enabled = true; expectedSchemaFindSubject.Name = "expectedSchemaFindSubject"; resources.ApplyResources(expectedSchemaFindSubject, "expectedSchemaFindSubject"); expectedSchemaFindSubject.Verbose = false; // // notEmptyResultSetFindSubject // notEmptyResultSetFindSubject.Enabled = true; notEmptyResultSetFindSubject.Name = "notEmptyResultSetFindSubject"; notEmptyResultSetFindSubject.ResultSet = 1; // // rowCountFindSubject // rowCountFindSubject.Enabled = true; rowCountFindSubject.Name = "rowCountFindSubject"; rowCountFindSubject.ResultSet = 1; rowCountFindSubject.RowCount = 1; // // scalarValueFindSubject // scalarValueFindSubject.ColumnNumber = 2; scalarValueFindSubject.Enabled = true; scalarValueFindSubject.ExpectedValue = "Cơ sở dữ liệu"; scalarValueFindSubject.Name = "scalarValueFindSubject"; scalarValueFindSubject.NullExpected = false; scalarValueFindSubject.ResultSet = 1; scalarValueFindSubject.RowNumber = 1; // // dbo_GetInfoTest_TestAction // dbo_GetInfoTest_TestAction.Conditions.Add(checksumGetInfo); dbo_GetInfoTest_TestAction.Conditions.Add(emptyResultSetGetInfo); dbo_GetInfoTest_TestAction.Conditions.Add(expectedSchemaGetInfo); dbo_GetInfoTest_TestAction.Conditions.Add(notEmptyResultSetGetInfo); dbo_GetInfoTest_TestAction.Conditions.Add(rowCountGetInfo); dbo_GetInfoTest_TestAction.Conditions.Add(scalarValueGetInfo); resources.ApplyResources(dbo_GetInfoTest_TestAction, "dbo_GetInfoTest_TestAction"); // // checksumGetInfo // checksumGetInfo.Checksum = "432775949"; checksumGetInfo.Enabled = false; checksumGetInfo.Name = "checksumGetInfo"; // // emptyResultSetGetInfo // emptyResultSetGetInfo.Enabled = false; emptyResultSetGetInfo.Name = "emptyResultSetGetInfo"; emptyResultSetGetInfo.ResultSet = 1; // // expectedSchemaGetInfo // expectedSchemaGetInfo.Enabled = true; expectedSchemaGetInfo.Name = "expectedSchemaGetInfo"; resources.ApplyResources(expectedSchemaGetInfo, "expectedSchemaGetInfo"); expectedSchemaGetInfo.Verbose = false; // // notEmptyResultSetGetInfo // notEmptyResultSetGetInfo.Enabled = true; notEmptyResultSetGetInfo.Name = "notEmptyResultSetGetInfo"; notEmptyResultSetGetInfo.ResultSet = 1; // // rowCountGetInfo // rowCountGetInfo.Enabled = true; rowCountGetInfo.Name = "rowCountGetInfo"; rowCountGetInfo.ResultSet = 1; rowCountGetInfo.RowCount = 1; // // scalarValueGetInfo // scalarValueGetInfo.ColumnNumber = 1; scalarValueGetInfo.Enabled = true; scalarValueGetInfo.ExpectedValue = "Mai Lâm Tấn Đạt"; scalarValueGetInfo.Name = "scalarValueGetInfo"; scalarValueGetInfo.NullExpected = false; scalarValueGetInfo.ResultSet = 1; scalarValueGetInfo.RowNumber = 1; // // dbo_AddToDKTestData // this.dbo_AddToDKTestData.PosttestAction = null; this.dbo_AddToDKTestData.PretestAction = null; this.dbo_AddToDKTestData.TestAction = dbo_AddToDKTest_TestAction; // // dbo_CheckClassTestData // this.dbo_CheckClassTestData.PosttestAction = null; this.dbo_CheckClassTestData.PretestAction = null; this.dbo_CheckClassTestData.TestAction = dbo_CheckClassTest_TestAction; // // dbo_DeleteFromDKTestData // this.dbo_DeleteFromDKTestData.PosttestAction = null; this.dbo_DeleteFromDKTestData.PretestAction = null; this.dbo_DeleteFromDKTestData.TestAction = dbo_DeleteFromDKTest_TestAction; // // dbo_FindSubjectTestData // this.dbo_FindSubjectTestData.PosttestAction = null; this.dbo_FindSubjectTestData.PretestAction = null; this.dbo_FindSubjectTestData.TestAction = dbo_FindSubjectTest_TestAction; // // dbo_GetInfoTestData // this.dbo_GetInfoTestData.PosttestAction = null; this.dbo_GetInfoTestData.PretestAction = null; this.dbo_GetInfoTestData.TestAction = dbo_GetInfoTest_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_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 RegexValidationEmail_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RegExTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidEmail1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidEmail2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidEmail3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidEmail4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidEmailValueIsNull; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSZip1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSZip2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSZip3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSZipValueIsNull; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSPhone1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSPhone2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidUSPhoneValueIsNull; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidSSN1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidSSN2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidSSN3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexIsValidSSNValueIsNull; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexValidationSSN_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexValidationUSPhone_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexValidationUSZip_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexMatchTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexMatch1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexMatch2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexMatch3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexMatch4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexMatchesTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexMatches1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition RegexMatchesChecksum; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexGroupTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexGroup1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexGroup2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexGroupsTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition RegexGroupsChecksum; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition RegexGroupsRowCount; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction RegexReplaceTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexReplaceCaseInsensitive; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition RegexReplaceCaseSensitive; this.RegexValidationEmailData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexValidationSSNData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexValidationUSPhoneData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexValidationUSZipData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexMatchTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexMatchesTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexGroupTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexGroupsTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.RegexReplaceTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); RegexValidationEmail_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexIsValidEmail1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidEmail2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidEmail3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidEmail4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidEmailValueIsNull = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSZip1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSZip2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSZip3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSZipValueIsNull = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSPhone1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSPhone2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidUSPhoneValueIsNull = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidSSN1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidSSN2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidSSN3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexIsValidSSNValueIsNull = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexValidationSSN_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexValidationUSPhone_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexValidationUSZip_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexMatchTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexMatch1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexMatch2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexMatch3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexMatch4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexMatchesTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexMatches1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexMatchesChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); RegexGroupTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexGroup1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexGroup2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexGroupsTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexGroupsChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); RegexGroupsRowCount = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition(); RegexReplaceTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); RegexReplaceCaseInsensitive = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); RegexReplaceCaseSensitive = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); // // RegexValidationEmail_TestAction // RegexValidationEmail_TestAction.Conditions.Add(RegexIsValidEmail1); RegexValidationEmail_TestAction.Conditions.Add(RegexIsValidEmail2); RegexValidationEmail_TestAction.Conditions.Add(RegexIsValidEmail3); RegexValidationEmail_TestAction.Conditions.Add(RegexIsValidEmail4); RegexValidationEmail_TestAction.Conditions.Add(RegexIsValidEmailValueIsNull); resources.ApplyResources(RegexValidationEmail_TestAction, "RegexValidationEmail_TestAction"); // // RegexIsValidEmail1 // RegexIsValidEmail1.ColumnNumber = 1; RegexIsValidEmail1.Enabled = true; RegexIsValidEmail1.ExpectedValue = "true"; RegexIsValidEmail1.Name = "RegexIsValidEmail1"; RegexIsValidEmail1.NullExpected = false; RegexIsValidEmail1.ResultSet = 1; RegexIsValidEmail1.RowNumber = 1; // // RegexIsValidEmail2 // RegexIsValidEmail2.ColumnNumber = 2; RegexIsValidEmail2.Enabled = true; RegexIsValidEmail2.ExpectedValue = "false"; RegexIsValidEmail2.Name = "RegexIsValidEmail2"; RegexIsValidEmail2.NullExpected = false; RegexIsValidEmail2.ResultSet = 1; RegexIsValidEmail2.RowNumber = 1; // // RegexIsValidEmail3 // RegexIsValidEmail3.ColumnNumber = 3; RegexIsValidEmail3.Enabled = true; RegexIsValidEmail3.ExpectedValue = "false"; RegexIsValidEmail3.Name = "RegexIsValidEmail3"; RegexIsValidEmail3.NullExpected = false; RegexIsValidEmail3.ResultSet = 1; RegexIsValidEmail3.RowNumber = 1; // // RegexIsValidEmail4 // RegexIsValidEmail4.ColumnNumber = 4; RegexIsValidEmail4.Enabled = true; RegexIsValidEmail4.ExpectedValue = "false"; RegexIsValidEmail4.Name = "RegexIsValidEmail4"; RegexIsValidEmail4.NullExpected = false; RegexIsValidEmail4.ResultSet = 1; RegexIsValidEmail4.RowNumber = 1; // // RegexIsValidEmailValueIsNull // RegexIsValidEmailValueIsNull.ColumnNumber = 5; RegexIsValidEmailValueIsNull.Enabled = true; RegexIsValidEmailValueIsNull.ExpectedValue = "false"; RegexIsValidEmailValueIsNull.Name = "RegexIsValidEmailValueIsNull"; RegexIsValidEmailValueIsNull.NullExpected = false; RegexIsValidEmailValueIsNull.ResultSet = 1; RegexIsValidEmailValueIsNull.RowNumber = 1; // // RegexIsValidUSZip1 // RegexIsValidUSZip1.ColumnNumber = 1; RegexIsValidUSZip1.Enabled = true; RegexIsValidUSZip1.ExpectedValue = "true"; RegexIsValidUSZip1.Name = "RegexIsValidUSZip1"; RegexIsValidUSZip1.NullExpected = false; RegexIsValidUSZip1.ResultSet = 1; RegexIsValidUSZip1.RowNumber = 1; // // RegexIsValidUSZip2 // RegexIsValidUSZip2.ColumnNumber = 2; RegexIsValidUSZip2.Enabled = true; RegexIsValidUSZip2.ExpectedValue = "true"; RegexIsValidUSZip2.Name = "RegexIsValidUSZip2"; RegexIsValidUSZip2.NullExpected = false; RegexIsValidUSZip2.ResultSet = 1; RegexIsValidUSZip2.RowNumber = 1; // // RegexIsValidUSZip3 // RegexIsValidUSZip3.ColumnNumber = 3; RegexIsValidUSZip3.Enabled = true; RegexIsValidUSZip3.ExpectedValue = "false"; RegexIsValidUSZip3.Name = "RegexIsValidUSZip3"; RegexIsValidUSZip3.NullExpected = false; RegexIsValidUSZip3.ResultSet = 1; RegexIsValidUSZip3.RowNumber = 1; // // RegexIsValidUSZipValueIsNull // RegexIsValidUSZipValueIsNull.ColumnNumber = 4; RegexIsValidUSZipValueIsNull.Enabled = true; RegexIsValidUSZipValueIsNull.ExpectedValue = "false"; RegexIsValidUSZipValueIsNull.Name = "RegexIsValidUSZipValueIsNull"; RegexIsValidUSZipValueIsNull.NullExpected = false; RegexIsValidUSZipValueIsNull.ResultSet = 1; RegexIsValidUSZipValueIsNull.RowNumber = 1; // // RegexIsValidUSPhone1 // RegexIsValidUSPhone1.ColumnNumber = 1; RegexIsValidUSPhone1.Enabled = true; RegexIsValidUSPhone1.ExpectedValue = "true"; RegexIsValidUSPhone1.Name = "RegexIsValidUSPhone1"; RegexIsValidUSPhone1.NullExpected = false; RegexIsValidUSPhone1.ResultSet = 1; RegexIsValidUSPhone1.RowNumber = 1; // // RegexIsValidUSPhone2 // RegexIsValidUSPhone2.ColumnNumber = 2; RegexIsValidUSPhone2.Enabled = true; RegexIsValidUSPhone2.ExpectedValue = "false"; RegexIsValidUSPhone2.Name = "RegexIsValidUSPhone2"; RegexIsValidUSPhone2.NullExpected = false; RegexIsValidUSPhone2.ResultSet = 1; RegexIsValidUSPhone2.RowNumber = 1; // // RegexIsValidUSPhoneValueIsNull // RegexIsValidUSPhoneValueIsNull.ColumnNumber = 3; RegexIsValidUSPhoneValueIsNull.Enabled = true; RegexIsValidUSPhoneValueIsNull.ExpectedValue = "false"; RegexIsValidUSPhoneValueIsNull.Name = "RegexIsValidUSPhoneValueIsNull"; RegexIsValidUSPhoneValueIsNull.NullExpected = false; RegexIsValidUSPhoneValueIsNull.ResultSet = 1; RegexIsValidUSPhoneValueIsNull.RowNumber = 1; // // RegexIsValidSSN1 // RegexIsValidSSN1.ColumnNumber = 1; RegexIsValidSSN1.Enabled = true; RegexIsValidSSN1.ExpectedValue = "false"; RegexIsValidSSN1.Name = "RegexIsValidSSN1"; RegexIsValidSSN1.NullExpected = false; RegexIsValidSSN1.ResultSet = 1; RegexIsValidSSN1.RowNumber = 1; // // RegexIsValidSSN2 // RegexIsValidSSN2.ColumnNumber = 2; RegexIsValidSSN2.Enabled = true; RegexIsValidSSN2.ExpectedValue = "true"; RegexIsValidSSN2.Name = "RegexIsValidSSN2"; RegexIsValidSSN2.NullExpected = false; RegexIsValidSSN2.ResultSet = 1; RegexIsValidSSN2.RowNumber = 1; // // RegexIsValidSSN3 // RegexIsValidSSN3.ColumnNumber = 3; RegexIsValidSSN3.Enabled = true; RegexIsValidSSN3.ExpectedValue = "false"; RegexIsValidSSN3.Name = "RegexIsValidSSN3"; RegexIsValidSSN3.NullExpected = false; RegexIsValidSSN3.ResultSet = 1; RegexIsValidSSN3.RowNumber = 1; // // RegexIsValidSSNValueIsNull // RegexIsValidSSNValueIsNull.ColumnNumber = 4; RegexIsValidSSNValueIsNull.Enabled = true; RegexIsValidSSNValueIsNull.ExpectedValue = "false"; RegexIsValidSSNValueIsNull.Name = "RegexIsValidSSNValueIsNull"; RegexIsValidSSNValueIsNull.NullExpected = false; RegexIsValidSSNValueIsNull.ResultSet = 1; RegexIsValidSSNValueIsNull.RowNumber = 1; // // RegexValidationSSN_TestAction // RegexValidationSSN_TestAction.Conditions.Add(RegexIsValidSSN1); RegexValidationSSN_TestAction.Conditions.Add(RegexIsValidSSN2); RegexValidationSSN_TestAction.Conditions.Add(RegexIsValidSSN3); RegexValidationSSN_TestAction.Conditions.Add(RegexIsValidSSNValueIsNull); resources.ApplyResources(RegexValidationSSN_TestAction, "RegexValidationSSN_TestAction"); // // RegexValidationUSPhone_TestAction // RegexValidationUSPhone_TestAction.Conditions.Add(RegexIsValidUSPhone1); RegexValidationUSPhone_TestAction.Conditions.Add(RegexIsValidUSPhone2); RegexValidationUSPhone_TestAction.Conditions.Add(RegexIsValidUSPhoneValueIsNull); resources.ApplyResources(RegexValidationUSPhone_TestAction, "RegexValidationUSPhone_TestAction"); // // RegexValidationUSZip_TestAction // RegexValidationUSZip_TestAction.Conditions.Add(RegexIsValidUSZip1); RegexValidationUSZip_TestAction.Conditions.Add(RegexIsValidUSZip2); RegexValidationUSZip_TestAction.Conditions.Add(RegexIsValidUSZip3); RegexValidationUSZip_TestAction.Conditions.Add(RegexIsValidUSZipValueIsNull); resources.ApplyResources(RegexValidationUSZip_TestAction, "RegexValidationUSZip_TestAction"); // // RegexMatchTests_TestAction // RegexMatchTests_TestAction.Conditions.Add(RegexMatch1); RegexMatchTests_TestAction.Conditions.Add(RegexMatch2); RegexMatchTests_TestAction.Conditions.Add(RegexMatch3); RegexMatchTests_TestAction.Conditions.Add(RegexMatch4); resources.ApplyResources(RegexMatchTests_TestAction, "RegexMatchTests_TestAction"); // // RegexMatch1 // RegexMatch1.ColumnNumber = 1; RegexMatch1.Enabled = true; RegexMatch1.ExpectedValue = "true"; RegexMatch1.Name = "RegexMatch1"; RegexMatch1.NullExpected = false; RegexMatch1.ResultSet = 1; RegexMatch1.RowNumber = 1; // // RegexMatch2 // RegexMatch2.ColumnNumber = 2; RegexMatch2.Enabled = true; RegexMatch2.ExpectedValue = "false"; RegexMatch2.Name = "RegexMatch2"; RegexMatch2.NullExpected = false; RegexMatch2.ResultSet = 1; RegexMatch2.RowNumber = 1; // // RegexMatch3 // RegexMatch3.ColumnNumber = 3; RegexMatch3.Enabled = true; RegexMatch3.ExpectedValue = "true"; RegexMatch3.Name = "RegexMatch3"; RegexMatch3.NullExpected = false; RegexMatch3.ResultSet = 1; RegexMatch3.RowNumber = 1; // // RegexMatch4 // RegexMatch4.ColumnNumber = 4; RegexMatch4.Enabled = true; RegexMatch4.ExpectedValue = "false"; RegexMatch4.Name = "RegexMatch4"; RegexMatch4.NullExpected = false; RegexMatch4.ResultSet = 1; RegexMatch4.RowNumber = 1; // // RegexMatchesTests_TestAction // RegexMatchesTests_TestAction.Conditions.Add(RegexMatches1); RegexMatchesTests_TestAction.Conditions.Add(RegexMatchesChecksum); resources.ApplyResources(RegexMatchesTests_TestAction, "RegexMatchesTests_TestAction"); // // RegexMatches1 // RegexMatches1.ColumnNumber = 1; RegexMatches1.Enabled = true; RegexMatches1.ExpectedValue = "117"; RegexMatches1.Name = "RegexMatches1"; RegexMatches1.NullExpected = false; RegexMatches1.ResultSet = 1; RegexMatches1.RowNumber = 1; // // RegexMatchesChecksum // RegexMatchesChecksum.Checksum = "1901336314"; RegexMatchesChecksum.Enabled = true; RegexMatchesChecksum.Name = "RegexMatchesChecksum"; // // RegexGroupTests_TestAction // RegexGroupTests_TestAction.Conditions.Add(RegexGroup1); RegexGroupTests_TestAction.Conditions.Add(RegexGroup2); resources.ApplyResources(RegexGroupTests_TestAction, "RegexGroupTests_TestAction"); // // RegexGroup1 // RegexGroup1.ColumnNumber = 1; RegexGroup1.Enabled = true; RegexGroup1.ExpectedValue = "ipsum1"; RegexGroup1.Name = "RegexGroup1"; RegexGroup1.NullExpected = false; RegexGroup1.ResultSet = 1; RegexGroup1.RowNumber = 1; // // RegexGroup2 // RegexGroup2.ColumnNumber = 2; RegexGroup2.Enabled = true; RegexGroup2.ExpectedValue = "Sir Mix a Lot"; RegexGroup2.Name = "RegexGroup2"; RegexGroup2.NullExpected = false; RegexGroup2.ResultSet = 1; RegexGroup2.RowNumber = 1; // // RegexGroupsTest_TestAction // RegexGroupsTest_TestAction.Conditions.Add(RegexGroupsChecksum); RegexGroupsTest_TestAction.Conditions.Add(RegexGroupsRowCount); resources.ApplyResources(RegexGroupsTest_TestAction, "RegexGroupsTest_TestAction"); // // RegexGroupsChecksum // RegexGroupsChecksum.Checksum = "832971409"; RegexGroupsChecksum.Enabled = true; RegexGroupsChecksum.Name = "RegexGroupsChecksum"; // // RegexGroupsRowCount // RegexGroupsRowCount.Enabled = true; RegexGroupsRowCount.Name = "RegexGroupsRowCount"; RegexGroupsRowCount.ResultSet = 1; RegexGroupsRowCount.RowCount = 5; // // RegexValidationEmailData // this.RegexValidationEmailData.PosttestAction = null; this.RegexValidationEmailData.PretestAction = null; this.RegexValidationEmailData.TestAction = RegexValidationEmail_TestAction; // // RegexValidationSSNData // this.RegexValidationSSNData.PosttestAction = null; this.RegexValidationSSNData.PretestAction = null; this.RegexValidationSSNData.TestAction = RegexValidationSSN_TestAction; // // RegexValidationUSPhoneData // this.RegexValidationUSPhoneData.PosttestAction = null; this.RegexValidationUSPhoneData.PretestAction = null; this.RegexValidationUSPhoneData.TestAction = RegexValidationUSPhone_TestAction; // // RegexValidationUSZipData // this.RegexValidationUSZipData.PosttestAction = null; this.RegexValidationUSZipData.PretestAction = null; this.RegexValidationUSZipData.TestAction = RegexValidationUSZip_TestAction; // // RegexMatchTestsData // this.RegexMatchTestsData.PosttestAction = null; this.RegexMatchTestsData.PretestAction = null; this.RegexMatchTestsData.TestAction = RegexMatchTests_TestAction; // // RegexMatchesTestsData // this.RegexMatchesTestsData.PosttestAction = null; this.RegexMatchesTestsData.PretestAction = null; this.RegexMatchesTestsData.TestAction = RegexMatchesTests_TestAction; // // RegexGroupTestsData // this.RegexGroupTestsData.PosttestAction = null; this.RegexGroupTestsData.PretestAction = null; this.RegexGroupTestsData.TestAction = RegexGroupTests_TestAction; // // RegexGroupsTestData // this.RegexGroupsTestData.PosttestAction = null; this.RegexGroupsTestData.PretestAction = null; this.RegexGroupsTestData.TestAction = RegexGroupsTest_TestAction; // // RegexReplaceTestsData // this.RegexReplaceTestsData.PosttestAction = null; this.RegexReplaceTestsData.PretestAction = null; this.RegexReplaceTestsData.TestAction = RegexReplaceTests_TestAction; // // RegexReplaceTests_TestAction // RegexReplaceTests_TestAction.Conditions.Add(RegexReplaceCaseInsensitive); RegexReplaceTests_TestAction.Conditions.Add(RegexReplaceCaseSensitive); resources.ApplyResources(RegexReplaceTests_TestAction, "RegexReplaceTests_TestAction"); // // RegexReplaceCaseInsensitive // RegexReplaceCaseInsensitive.ColumnNumber = 1; RegexReplaceCaseInsensitive.Enabled = true; RegexReplaceCaseInsensitive.ExpectedValue = resources.GetString("RegexReplaceCaseInsensitive.ExpectedValue"); RegexReplaceCaseInsensitive.Name = "RegexReplaceCaseInsensitive"; RegexReplaceCaseInsensitive.NullExpected = false; RegexReplaceCaseInsensitive.ResultSet = 1; RegexReplaceCaseInsensitive.RowNumber = 1; // // RegexReplaceCaseSensitive // RegexReplaceCaseSensitive.ColumnNumber = 1; RegexReplaceCaseSensitive.Enabled = true; RegexReplaceCaseSensitive.ExpectedValue = resources.GetString("RegexReplaceCaseSensitive.ExpectedValue"); RegexReplaceCaseSensitive.Name = "RegexReplaceCaseSensitive"; RegexReplaceCaseSensitive.NullExpected = false; RegexReplaceCaseSensitive.ResultSet = 2; RegexReplaceCaseSensitive.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_usp_DeleteRoleTest_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlServerUnitTest_SSO)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_InsertLoginTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_InsertRoleTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateLoginTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateRoleTest_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_DeleteRoleTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition emptyResultSetCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_InsertLoginTest_PosttestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_InsertLoginTest_PretestAction; 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.ChecksumCondition checksumCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_InsertRoleTest_PosttestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateLoginTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetCondition1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateLoginTest_PosttestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateRoleTest_PretestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition notEmptyResultSetCondition2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition checksumCondition4; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction dbo_usp_UpdateRoleTest_PosttestAction; this.dbo_usp_DeleteRoleTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_usp_InsertLoginTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_usp_InsertRoleTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_usp_UpdateLoginTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.dbo_usp_UpdateRoleTestData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); dbo_usp_DeleteRoleTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_InsertLoginTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_InsertRoleTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_UpdateLoginTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_UpdateRoleTest_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_DeleteRoleTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); emptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition(); checksumCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); dbo_usp_InsertLoginTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); scalarValueCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_usp_InsertLoginTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); scalarValueCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); scalarValueCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); checksumCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); dbo_usp_InsertRoleTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); scalarValueCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); dbo_usp_UpdateLoginTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); notEmptyResultSetCondition1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); checksumCondition3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); dbo_usp_UpdateLoginTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); dbo_usp_UpdateRoleTest_PretestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); notEmptyResultSetCondition2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); checksumCondition4 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); dbo_usp_UpdateRoleTest_PosttestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); // // dbo_usp_DeleteRoleTest_TestAction // dbo_usp_DeleteRoleTest_TestAction.Conditions.Add(emptyResultSetCondition1); resources.ApplyResources(dbo_usp_DeleteRoleTest_TestAction, "dbo_usp_DeleteRoleTest_TestAction"); // // dbo_usp_InsertLoginTest_TestAction // dbo_usp_InsertLoginTest_TestAction.Conditions.Add(checksumCondition1); resources.ApplyResources(dbo_usp_InsertLoginTest_TestAction, "dbo_usp_InsertLoginTest_TestAction"); // // dbo_usp_InsertRoleTest_TestAction // dbo_usp_InsertRoleTest_TestAction.Conditions.Add(checksumCondition2); resources.ApplyResources(dbo_usp_InsertRoleTest_TestAction, "dbo_usp_InsertRoleTest_TestAction"); // // dbo_usp_UpdateLoginTest_TestAction // dbo_usp_UpdateLoginTest_TestAction.Conditions.Add(checksumCondition3); resources.ApplyResources(dbo_usp_UpdateLoginTest_TestAction, "dbo_usp_UpdateLoginTest_TestAction"); // // dbo_usp_UpdateRoleTest_TestAction // dbo_usp_UpdateRoleTest_TestAction.Conditions.Add(checksumCondition4); resources.ApplyResources(dbo_usp_UpdateRoleTest_TestAction, "dbo_usp_UpdateRoleTest_TestAction"); // // dbo_usp_DeleteRoleTestData // this.dbo_usp_DeleteRoleTestData.PosttestAction = null; this.dbo_usp_DeleteRoleTestData.PretestAction = dbo_usp_DeleteRoleTest_PretestAction; this.dbo_usp_DeleteRoleTestData.TestAction = dbo_usp_DeleteRoleTest_TestAction; // // dbo_usp_InsertLoginTestData // this.dbo_usp_InsertLoginTestData.PosttestAction = dbo_usp_InsertLoginTest_PosttestAction; this.dbo_usp_InsertLoginTestData.PretestAction = dbo_usp_InsertLoginTest_PretestAction; this.dbo_usp_InsertLoginTestData.TestAction = dbo_usp_InsertLoginTest_TestAction; // // dbo_usp_InsertRoleTestData // this.dbo_usp_InsertRoleTestData.PosttestAction = dbo_usp_InsertRoleTest_PosttestAction; this.dbo_usp_InsertRoleTestData.PretestAction = null; this.dbo_usp_InsertRoleTestData.TestAction = dbo_usp_InsertRoleTest_TestAction; // // dbo_usp_UpdateLoginTestData // this.dbo_usp_UpdateLoginTestData.PosttestAction = dbo_usp_UpdateLoginTest_PosttestAction; this.dbo_usp_UpdateLoginTestData.PretestAction = dbo_usp_UpdateLoginTest_PretestAction; this.dbo_usp_UpdateLoginTestData.TestAction = dbo_usp_UpdateLoginTest_TestAction; // // dbo_usp_UpdateRoleTestData // this.dbo_usp_UpdateRoleTestData.PosttestAction = dbo_usp_UpdateRoleTest_PosttestAction; this.dbo_usp_UpdateRoleTestData.PretestAction = dbo_usp_UpdateRoleTest_PretestAction; this.dbo_usp_UpdateRoleTestData.TestAction = dbo_usp_UpdateRoleTest_TestAction; // // dbo_usp_DeleteRoleTest_PretestAction // resources.ApplyResources(dbo_usp_DeleteRoleTest_PretestAction, "dbo_usp_DeleteRoleTest_PretestAction"); // // emptyResultSetCondition1 // emptyResultSetCondition1.Enabled = true; emptyResultSetCondition1.Name = "emptyResultSetCondition1"; emptyResultSetCondition1.ResultSet = 1; // // checksumCondition1 // checksumCondition1.Checksum = "-456507280"; checksumCondition1.Enabled = true; checksumCondition1.Name = "checksumCondition1"; // // dbo_usp_InsertLoginTest_PosttestAction // dbo_usp_InsertLoginTest_PosttestAction.Conditions.Add(scalarValueCondition1); dbo_usp_InsertLoginTest_PosttestAction.Conditions.Add(scalarValueCondition3); resources.ApplyResources(dbo_usp_InsertLoginTest_PosttestAction, "dbo_usp_InsertLoginTest_PosttestAction"); // // scalarValueCondition1 // scalarValueCondition1.ColumnNumber = 1; scalarValueCondition1.Enabled = true; scalarValueCondition1.ExpectedValue = "1"; scalarValueCondition1.Name = "scalarValueCondition1"; scalarValueCondition1.NullExpected = false; scalarValueCondition1.ResultSet = 1; scalarValueCondition1.RowNumber = 1; // // dbo_usp_InsertLoginTest_PretestAction // dbo_usp_InsertLoginTest_PretestAction.Conditions.Add(scalarValueCondition2); resources.ApplyResources(dbo_usp_InsertLoginTest_PretestAction, "dbo_usp_InsertLoginTest_PretestAction"); // // scalarValueCondition2 // scalarValueCondition2.ColumnNumber = 1; scalarValueCondition2.Enabled = true; scalarValueCondition2.ExpectedValue = "9BC84DC5-9342-4232-A66D-6D374EA2BB94"; scalarValueCondition2.Name = "scalarValueCondition2"; scalarValueCondition2.NullExpected = false; scalarValueCondition2.ResultSet = 1; scalarValueCondition2.RowNumber = 1; // // scalarValueCondition3 // scalarValueCondition3.ColumnNumber = 1; scalarValueCondition3.Enabled = true; scalarValueCondition3.ExpectedValue = "1"; scalarValueCondition3.Name = "scalarValueCondition3"; scalarValueCondition3.NullExpected = false; scalarValueCondition3.ResultSet = 2; scalarValueCondition3.RowNumber = 1; // // checksumCondition2 // checksumCondition2.Checksum = "614096374"; checksumCondition2.Enabled = true; checksumCondition2.Name = "checksumCondition2"; // // dbo_usp_InsertRoleTest_PosttestAction // dbo_usp_InsertRoleTest_PosttestAction.Conditions.Add(scalarValueCondition4); resources.ApplyResources(dbo_usp_InsertRoleTest_PosttestAction, "dbo_usp_InsertRoleTest_PosttestAction"); // // scalarValueCondition4 // scalarValueCondition4.ColumnNumber = 1; scalarValueCondition4.Enabled = true; scalarValueCondition4.ExpectedValue = "1"; scalarValueCondition4.Name = "scalarValueCondition4"; scalarValueCondition4.NullExpected = false; scalarValueCondition4.ResultSet = 1; scalarValueCondition4.RowNumber = 1; // // dbo_usp_UpdateLoginTest_PretestAction // dbo_usp_UpdateLoginTest_PretestAction.Conditions.Add(notEmptyResultSetCondition1); resources.ApplyResources(dbo_usp_UpdateLoginTest_PretestAction, "dbo_usp_UpdateLoginTest_PretestAction"); // // notEmptyResultSetCondition1 // notEmptyResultSetCondition1.Enabled = true; notEmptyResultSetCondition1.Name = "notEmptyResultSetCondition1"; notEmptyResultSetCondition1.ResultSet = 1; // // checksumCondition3 // checksumCondition3.Checksum = "-1457382971"; checksumCondition3.Enabled = true; checksumCondition3.Name = "checksumCondition3"; // // dbo_usp_UpdateLoginTest_PosttestAction // resources.ApplyResources(dbo_usp_UpdateLoginTest_PosttestAction, "dbo_usp_UpdateLoginTest_PosttestAction"); // // dbo_usp_UpdateRoleTest_PretestAction // dbo_usp_UpdateRoleTest_PretestAction.Conditions.Add(notEmptyResultSetCondition2); resources.ApplyResources(dbo_usp_UpdateRoleTest_PretestAction, "dbo_usp_UpdateRoleTest_PretestAction"); // // notEmptyResultSetCondition2 // notEmptyResultSetCondition2.Enabled = true; notEmptyResultSetCondition2.Name = "notEmptyResultSetCondition2"; notEmptyResultSetCondition2.ResultSet = 1; // // checksumCondition4 // checksumCondition4.Checksum = "-1883918214"; checksumCondition4.Enabled = true; checksumCondition4.Name = "checksumCondition4"; // // dbo_usp_UpdateRoleTest_PosttestAction // resources.ApplyResources(dbo_usp_UpdateRoleTest_PosttestAction, "dbo_usp_UpdateRoleTest_PosttestAction"); }
/// <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 RandomTests_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MiscTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Random1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Random2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition Random3; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction GeneratePasswordTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition GeneratePasswordHasData; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction IsPrimeAndCubeRootTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition IsPrimeAndCubeRootChecksum; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction ConversionTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DecimalToBinary; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DecimalToHex; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition HexToDecimal; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition HexToBinary; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition BinaryToDecimal; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition BinaryToHex; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DecimalToBinaryNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DecimalToHexNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition HexToDecimalNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition HexToBinaryNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition BinaryToDecimalNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition BinaryToHexNullValue; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction IsNumericTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition IsNumericChecksum; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction LuhnTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition LuhnValidationCheckSum; this.RandomTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.GeneratePasswordTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.IsPrimeAndCubeRootTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.ConversionTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.IsNumericTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.LuhnTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); RandomTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); Random1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); Random2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); Random3 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); GeneratePasswordTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); GeneratePasswordHasData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition(); IsPrimeAndCubeRootTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); IsPrimeAndCubeRootChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); ConversionTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); DecimalToBinary = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DecimalToHex = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); HexToDecimal = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); HexToBinary = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); BinaryToDecimal = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); BinaryToHex = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DecimalToBinaryNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DecimalToHexNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); HexToDecimalNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); HexToBinaryNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); BinaryToDecimalNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); BinaryToHexNullValue = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); IsNumericTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); IsNumericChecksum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); LuhnTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); LuhnValidationCheckSum = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // RandomTests_TestAction // RandomTests_TestAction.Conditions.Add(Random1); RandomTests_TestAction.Conditions.Add(Random2); RandomTests_TestAction.Conditions.Add(Random3); resources.ApplyResources(RandomTests_TestAction, "RandomTests_TestAction"); // // Random1 // Random1.ColumnNumber = 1; Random1.Enabled = true; Random1.ExpectedValue = "Success"; Random1.Name = "Random1"; Random1.NullExpected = false; Random1.ResultSet = 1; Random1.RowNumber = 1; // // Random2 // Random2.ColumnNumber = 2; Random2.Enabled = true; Random2.ExpectedValue = "Success"; Random2.Name = "Random2"; Random2.NullExpected = false; Random2.ResultSet = 1; Random2.RowNumber = 1; // // Random3 // Random3.ColumnNumber = 1; Random3.Enabled = true; Random3.ExpectedValue = "668"; Random3.Name = "Random3"; Random3.NullExpected = false; Random3.ResultSet = 2; Random3.RowNumber = 1; // // GeneratePasswordTests_TestAction // GeneratePasswordTests_TestAction.Conditions.Add(GeneratePasswordHasData); resources.ApplyResources(GeneratePasswordTests_TestAction, "GeneratePasswordTests_TestAction"); // // GeneratePasswordHasData // GeneratePasswordHasData.Enabled = true; GeneratePasswordHasData.Name = "GeneratePasswordHasData"; GeneratePasswordHasData.ResultSet = 1; // // IsPrimeAndCubeRootTests_TestAction // IsPrimeAndCubeRootTests_TestAction.Conditions.Add(IsPrimeAndCubeRootChecksum); resources.ApplyResources(IsPrimeAndCubeRootTests_TestAction, "IsPrimeAndCubeRootTests_TestAction"); // // IsPrimeAndCubeRootChecksum // IsPrimeAndCubeRootChecksum.Checksum = "603366486"; IsPrimeAndCubeRootChecksum.Enabled = true; IsPrimeAndCubeRootChecksum.Name = "IsPrimeAndCubeRootChecksum"; // // ConversionTests_TestAction // ConversionTests_TestAction.Conditions.Add(DecimalToBinary); ConversionTests_TestAction.Conditions.Add(DecimalToHex); ConversionTests_TestAction.Conditions.Add(HexToDecimal); ConversionTests_TestAction.Conditions.Add(HexToBinary); ConversionTests_TestAction.Conditions.Add(BinaryToDecimal); ConversionTests_TestAction.Conditions.Add(BinaryToHex); ConversionTests_TestAction.Conditions.Add(DecimalToBinaryNullValue); ConversionTests_TestAction.Conditions.Add(DecimalToHexNullValue); ConversionTests_TestAction.Conditions.Add(HexToDecimalNullValue); ConversionTests_TestAction.Conditions.Add(HexToBinaryNullValue); ConversionTests_TestAction.Conditions.Add(BinaryToDecimalNullValue); ConversionTests_TestAction.Conditions.Add(BinaryToHexNullValue); resources.ApplyResources(ConversionTests_TestAction, "ConversionTests_TestAction"); // // DecimalToBinary // DecimalToBinary.ColumnNumber = 1; DecimalToBinary.Enabled = true; DecimalToBinary.ExpectedValue = "100001000101111111101101"; DecimalToBinary.Name = "DecimalToBinary"; DecimalToBinary.NullExpected = false; DecimalToBinary.ResultSet = 1; DecimalToBinary.RowNumber = 1; // // DecimalToHex // DecimalToHex.ColumnNumber = 2; DecimalToHex.Enabled = true; DecimalToHex.ExpectedValue = "845FED"; DecimalToHex.Name = "DecimalToHex"; DecimalToHex.NullExpected = false; DecimalToHex.ResultSet = 1; DecimalToHex.RowNumber = 1; // // HexToDecimal // HexToDecimal.ColumnNumber = 3; HexToDecimal.Enabled = true; HexToDecimal.ExpectedValue = "8675309"; HexToDecimal.Name = "HexToDecimal"; HexToDecimal.NullExpected = false; HexToDecimal.ResultSet = 1; HexToDecimal.RowNumber = 1; // // HexToBinary // HexToBinary.ColumnNumber = 4; HexToBinary.Enabled = true; HexToBinary.ExpectedValue = "100001000101111111101101"; HexToBinary.Name = "HexToBinary"; HexToBinary.NullExpected = false; HexToBinary.ResultSet = 1; HexToBinary.RowNumber = 1; // // BinaryToDecimal // BinaryToDecimal.ColumnNumber = 5; BinaryToDecimal.Enabled = true; BinaryToDecimal.ExpectedValue = "8675309"; BinaryToDecimal.Name = "BinaryToDecimal"; BinaryToDecimal.NullExpected = false; BinaryToDecimal.ResultSet = 1; BinaryToDecimal.RowNumber = 1; // // BinaryToHex // BinaryToHex.ColumnNumber = 6; BinaryToHex.Enabled = true; BinaryToHex.ExpectedValue = "845FED"; BinaryToHex.Name = "BinaryToHex"; BinaryToHex.NullExpected = false; BinaryToHex.ResultSet = 1; BinaryToHex.RowNumber = 1; // // DecimalToBinaryNullValue // DecimalToBinaryNullValue.ColumnNumber = 1; DecimalToBinaryNullValue.Enabled = true; DecimalToBinaryNullValue.ExpectedValue = null; DecimalToBinaryNullValue.Name = "DecimalToBinaryNullValue"; DecimalToBinaryNullValue.NullExpected = true; DecimalToBinaryNullValue.ResultSet = 2; DecimalToBinaryNullValue.RowNumber = 1; // // DecimalToHexNullValue // DecimalToHexNullValue.ColumnNumber = 2; DecimalToHexNullValue.Enabled = true; DecimalToHexNullValue.ExpectedValue = null; DecimalToHexNullValue.Name = "DecimalToHexNullValue"; DecimalToHexNullValue.NullExpected = true; DecimalToHexNullValue.ResultSet = 2; DecimalToHexNullValue.RowNumber = 1; // // HexToDecimalNullValue // HexToDecimalNullValue.ColumnNumber = 3; HexToDecimalNullValue.Enabled = true; HexToDecimalNullValue.ExpectedValue = null; HexToDecimalNullValue.Name = "HexToDecimalNullValue"; HexToDecimalNullValue.NullExpected = true; HexToDecimalNullValue.ResultSet = 2; HexToDecimalNullValue.RowNumber = 1; // // HexToBinaryNullValue // HexToBinaryNullValue.ColumnNumber = 4; HexToBinaryNullValue.Enabled = true; HexToBinaryNullValue.ExpectedValue = null; HexToBinaryNullValue.Name = "HexToBinaryNullValue"; HexToBinaryNullValue.NullExpected = true; HexToBinaryNullValue.ResultSet = 2; HexToBinaryNullValue.RowNumber = 1; // // BinaryToDecimalNullValue // BinaryToDecimalNullValue.ColumnNumber = 5; BinaryToDecimalNullValue.Enabled = true; BinaryToDecimalNullValue.ExpectedValue = null; BinaryToDecimalNullValue.Name = "BinaryToDecimalNullValue"; BinaryToDecimalNullValue.NullExpected = true; BinaryToDecimalNullValue.ResultSet = 2; BinaryToDecimalNullValue.RowNumber = 1; // // BinaryToHexNullValue // BinaryToHexNullValue.ColumnNumber = 6; BinaryToHexNullValue.Enabled = true; BinaryToHexNullValue.ExpectedValue = null; BinaryToHexNullValue.Name = "BinaryToHexNullValue"; BinaryToHexNullValue.NullExpected = true; BinaryToHexNullValue.ResultSet = 2; BinaryToHexNullValue.RowNumber = 1; // // IsNumericTests_TestAction // IsNumericTests_TestAction.Conditions.Add(IsNumericChecksum); resources.ApplyResources(IsNumericTests_TestAction, "IsNumericTests_TestAction"); // // IsNumericChecksum // IsNumericChecksum.Checksum = "603943827"; IsNumericChecksum.Enabled = true; IsNumericChecksum.Name = "IsNumericChecksum"; // // LuhnTests_TestAction // LuhnTests_TestAction.Conditions.Add(LuhnValidationCheckSum); resources.ApplyResources(LuhnTests_TestAction, "LuhnTests_TestAction"); // // LuhnValidationCheckSum // LuhnValidationCheckSum.Checksum = "249993599"; LuhnValidationCheckSum.Enabled = true; LuhnValidationCheckSum.Name = "LuhnValidationCheckSum"; // // RandomTestsData // this.RandomTestsData.PosttestAction = null; this.RandomTestsData.PretestAction = null; this.RandomTestsData.TestAction = RandomTests_TestAction; // // GeneratePasswordTestsData // this.GeneratePasswordTestsData.PosttestAction = null; this.GeneratePasswordTestsData.PretestAction = null; this.GeneratePasswordTestsData.TestAction = GeneratePasswordTests_TestAction; // // IsPrimeAndCubeRootTestsData // this.IsPrimeAndCubeRootTestsData.PosttestAction = null; this.IsPrimeAndCubeRootTestsData.PretestAction = null; this.IsPrimeAndCubeRootTestsData.TestAction = IsPrimeAndCubeRootTests_TestAction; // // ConversionTestsData // this.ConversionTestsData.PosttestAction = null; this.ConversionTestsData.PretestAction = null; this.ConversionTestsData.TestAction = ConversionTests_TestAction; // // IsNumericTestsData // this.IsNumericTestsData.PosttestAction = null; this.IsNumericTestsData.PretestAction = null; this.IsNumericTestsData.TestAction = IsNumericTests_TestAction; // // LuhnTestsData // this.LuhnTestsData.PosttestAction = null; this.LuhnTestsData.PretestAction = null; this.LuhnTestsData.TestAction = LuhnTests_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 DateMiscTests_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DateTest)); Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition AgeInYears; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition IsLeapYear; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DaysInMonth; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition IsDaylightSavingTime; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition IsBusinessDay; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DayOfWeek; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DayOfYear; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DayOfWeek2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition DayOfYear2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition AgeInYearsAtDate1; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition AgeInYearsAtDate2; Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction DateReportingFunctionTests_TestAction; Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition DataChecksumCondition; this.DateMiscTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); this.DateReportingFunctionTestsData = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestActions(); DateMiscTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); AgeInYears = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); IsLeapYear = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DaysInMonth = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); IsDaylightSavingTime = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); IsBusinessDay = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DayOfWeek = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DayOfYear = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DayOfWeek2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DayOfYear2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); AgeInYearsAtDate1 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); AgeInYearsAtDate2 = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition(); DateReportingFunctionTests_TestAction = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlDatabaseTestAction(); DataChecksumCondition = new Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ChecksumCondition(); // // DateMiscTests_TestAction // DateMiscTests_TestAction.Conditions.Add(AgeInYears); DateMiscTests_TestAction.Conditions.Add(IsLeapYear); DateMiscTests_TestAction.Conditions.Add(DaysInMonth); DateMiscTests_TestAction.Conditions.Add(IsDaylightSavingTime); DateMiscTests_TestAction.Conditions.Add(IsBusinessDay); DateMiscTests_TestAction.Conditions.Add(DayOfWeek); DateMiscTests_TestAction.Conditions.Add(DayOfYear); DateMiscTests_TestAction.Conditions.Add(DayOfWeek2); DateMiscTests_TestAction.Conditions.Add(DayOfYear2); DateMiscTests_TestAction.Conditions.Add(AgeInYearsAtDate1); DateMiscTests_TestAction.Conditions.Add(AgeInYearsAtDate2); resources.ApplyResources(DateMiscTests_TestAction, "DateMiscTests_TestAction"); // // AgeInYears // AgeInYears.ColumnNumber = 1; AgeInYears.Enabled = true; AgeInYears.ExpectedValue = "68"; AgeInYears.Name = "AgeInYears"; AgeInYears.NullExpected = false; AgeInYears.ResultSet = 1; AgeInYears.RowNumber = 1; // // IsLeapYear // IsLeapYear.ColumnNumber = 2; IsLeapYear.Enabled = true; IsLeapYear.ExpectedValue = "false"; IsLeapYear.Name = "IsLeapYear"; IsLeapYear.NullExpected = false; IsLeapYear.ResultSet = 1; IsLeapYear.RowNumber = 1; // // DaysInMonth // DaysInMonth.ColumnNumber = 3; DaysInMonth.Enabled = true; DaysInMonth.ExpectedValue = "31"; DaysInMonth.Name = "DaysInMonth"; DaysInMonth.NullExpected = false; DaysInMonth.ResultSet = 1; DaysInMonth.RowNumber = 1; // // IsDaylightSavingTime // IsDaylightSavingTime.ColumnNumber = 4; IsDaylightSavingTime.Enabled = true; IsDaylightSavingTime.ExpectedValue = "false"; IsDaylightSavingTime.Name = "IsDaylightSavingTime"; IsDaylightSavingTime.NullExpected = false; IsDaylightSavingTime.ResultSet = 1; IsDaylightSavingTime.RowNumber = 1; // // IsBusinessDay // IsBusinessDay.ColumnNumber = 5; IsBusinessDay.Enabled = true; IsBusinessDay.ExpectedValue = "false"; IsBusinessDay.Name = "IsBusinessDay"; IsBusinessDay.NullExpected = false; IsBusinessDay.ResultSet = 1; IsBusinessDay.RowNumber = 1; // // DayOfWeek // DayOfWeek.ColumnNumber = 1; DayOfWeek.Enabled = true; DayOfWeek.ExpectedValue = "Monday"; DayOfWeek.Name = "DayOfWeek"; DayOfWeek.NullExpected = false; DayOfWeek.ResultSet = 2; DayOfWeek.RowNumber = 1; // // DayOfYear // DayOfYear.ColumnNumber = 2; DayOfYear.Enabled = true; DayOfYear.ExpectedValue = "208"; DayOfYear.Name = "DayOfYear"; DayOfYear.NullExpected = false; DayOfYear.ResultSet = 2; DayOfYear.RowNumber = 1; // // DayOfWeek2 // DayOfWeek2.ColumnNumber = 3; DayOfWeek2.Enabled = true; DayOfWeek2.ExpectedValue = "Thursday"; DayOfWeek2.Name = "DayOfWeek2"; DayOfWeek2.NullExpected = false; DayOfWeek2.ResultSet = 2; DayOfWeek2.RowNumber = 1; // // DayOfYear2 // DayOfYear2.ColumnNumber = 4; DayOfYear2.Enabled = true; DayOfYear2.ExpectedValue = "152"; DayOfYear2.Name = "DayOfYear2"; DayOfYear2.NullExpected = false; DayOfYear2.ResultSet = 2; DayOfYear2.RowNumber = 1; // // AgeInYearsAtDate1 // AgeInYearsAtDate1.ColumnNumber = 1; AgeInYearsAtDate1.Enabled = true; AgeInYearsAtDate1.ExpectedValue = "35"; AgeInYearsAtDate1.Name = "AgeInYearsAtDate1"; AgeInYearsAtDate1.NullExpected = false; AgeInYearsAtDate1.ResultSet = 3; AgeInYearsAtDate1.RowNumber = 1; // // AgeInYearsAtDate2 // AgeInYearsAtDate2.ColumnNumber = 2; AgeInYearsAtDate2.Enabled = true; AgeInYearsAtDate2.ExpectedValue = "34"; AgeInYearsAtDate2.Name = "AgeInYearsAtDate2"; AgeInYearsAtDate2.NullExpected = false; AgeInYearsAtDate2.ResultSet = 3; AgeInYearsAtDate2.RowNumber = 1; // // DateReportingFunctionTests_TestAction // DateReportingFunctionTests_TestAction.Conditions.Add(DataChecksumCondition); resources.ApplyResources(DateReportingFunctionTests_TestAction, "DateReportingFunctionTests_TestAction"); // // DataChecksumCondition // DataChecksumCondition.Checksum = "1802541957"; DataChecksumCondition.Enabled = true; DataChecksumCondition.Name = "DataChecksumCondition"; // // DateMiscTestsData // this.DateMiscTestsData.PosttestAction = null; this.DateMiscTestsData.PretestAction = null; this.DateMiscTestsData.TestAction = DateMiscTests_TestAction; // // DateReportingFunctionTestsData // this.DateReportingFunctionTestsData.PosttestAction = null; this.DateReportingFunctionTestsData.PretestAction = null; this.DateReportingFunctionTestsData.TestAction = DateReportingFunctionTests_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"); }