/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Data.Schema.UnitTesting.DatabaseTestAction DBTestScript_UpdateCompletedAction_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProcedureUpdateCompletedActionUnitTest)); Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1; this.DBTestScript_UpdateCompletedActionData = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); DBTestScript_UpdateCompletedAction_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition1 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); // // DBTestScript_UpdateCompletedActionData // this.DBTestScript_UpdateCompletedActionData.PosttestAction = null; this.DBTestScript_UpdateCompletedActionData.PretestAction = null; this.DBTestScript_UpdateCompletedActionData.TestAction = DBTestScript_UpdateCompletedAction_TestAction; // // DBTestScript_UpdateCompletedAction_TestAction // DBTestScript_UpdateCompletedAction_TestAction.Conditions.Add(scalarValueCondition1); resources.ApplyResources(DBTestScript_UpdateCompletedAction_TestAction, "DBTestScript_UpdateCompletedAction_TestAction"); // // scalarValueCondition1 // scalarValueCondition1.ColumnNumber = 1; scalarValueCondition1.Enabled = true; scalarValueCondition1.ExpectedValue = "1"; scalarValueCondition1.Name = "scalarValueCondition1"; scalarValueCondition1.NullExpected = false; scalarValueCondition1.ResultSet = 1; scalarValueCondition1.RowNumber = 1; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Data.Schema.UnitTesting.DatabaseTestAction CreateOrderTest1_PretestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CreateOrderTests)); Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2; Microsoft.Data.Schema.UnitTesting.DatabaseTestAction CreateOrderTest1_TestAction; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1; Microsoft.Data.Schema.UnitTesting.DatabaseTestAction CreateOrderTest1_PosttestAction; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition3; this.CreateOrderTest1Data = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); CreateOrderTest1_PretestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition2 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); CreateOrderTest1_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition1 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); CreateOrderTest1_PosttestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition3 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); // // CreateOrderTest1_PretestAction // CreateOrderTest1_PretestAction.Conditions.Add(scalarValueCondition2); resources.ApplyResources(CreateOrderTest1_PretestAction, "CreateOrderTest1_PretestAction"); // // scalarValueCondition2 // scalarValueCondition2.ColumnNumber = 1; scalarValueCondition2.Enabled = true; scalarValueCondition2.ExpectedValue = "0"; scalarValueCondition2.Name = "scalarValueCondition2"; scalarValueCondition2.NullExpected = false; scalarValueCondition2.ResultSet = 1; scalarValueCondition2.RowNumber = 1; // // CreateOrderTest1_TestAction // CreateOrderTest1_TestAction.Conditions.Add(scalarValueCondition1); resources.ApplyResources(CreateOrderTest1_TestAction, "CreateOrderTest1_TestAction"); // // scalarValueCondition1 // scalarValueCondition1.ColumnNumber = 1; scalarValueCondition1.Enabled = true; scalarValueCondition1.ExpectedValue = "0"; scalarValueCondition1.Name = "scalarValueCondition1"; scalarValueCondition1.NullExpected = false; scalarValueCondition1.ResultSet = 1; scalarValueCondition1.RowNumber = 1; // // CreateOrderTest1_PosttestAction // CreateOrderTest1_PosttestAction.Conditions.Add(scalarValueCondition3); resources.ApplyResources(CreateOrderTest1_PosttestAction, "CreateOrderTest1_PosttestAction"); // // scalarValueCondition3 // scalarValueCondition3.ColumnNumber = 1; scalarValueCondition3.Enabled = true; scalarValueCondition3.ExpectedValue = "0"; scalarValueCondition3.Name = "scalarValueCondition3"; scalarValueCondition3.NullExpected = false; scalarValueCondition3.ResultSet = 1; scalarValueCondition3.RowNumber = 1; // // CreateOrderTest1Data // this.CreateOrderTest1Data.PosttestAction = CreateOrderTest1_PosttestAction; this.CreateOrderTest1Data.PretestAction = CreateOrderTest1_PretestAction; this.CreateOrderTest1Data.TestAction = CreateOrderTest1_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.Schema.UnitTesting.DatabaseTestAction Users_CRUD_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Users_Procedures)); Microsoft.Data.Schema.UnitTesting.Conditions.RowCountCondition newRowReturned; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkNetId; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkLastName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkFirstName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkMiddleName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkNickname; Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition updatedRowReturned; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedNetId; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedLastName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedFirstName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedMiddleName; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedNickname; Microsoft.Data.Schema.UnitTesting.Conditions.EmptyResultSetCondition checkDelete; Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition newUserIdResult; this.Users_CRUDData = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); Users_CRUD_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); newRowReturned = new Microsoft.Data.Schema.UnitTesting.Conditions.RowCountCondition(); checkNetId = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkLastName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkFirstName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkMiddleName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkNickname = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); updatedRowReturned = new Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition(); checkUpdatedNetId = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkUpdatedLastName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkUpdatedFirstName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkUpdatedMiddleName = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkUpdatedNickname = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkDelete = new Microsoft.Data.Schema.UnitTesting.Conditions.EmptyResultSetCondition(); newUserIdResult = new Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition(); // // Users_CRUD_TestAction // Users_CRUD_TestAction.Conditions.Add(newUserIdResult); Users_CRUD_TestAction.Conditions.Add(newRowReturned); Users_CRUD_TestAction.Conditions.Add(checkNetId); Users_CRUD_TestAction.Conditions.Add(checkLastName); Users_CRUD_TestAction.Conditions.Add(checkFirstName); Users_CRUD_TestAction.Conditions.Add(checkMiddleName); Users_CRUD_TestAction.Conditions.Add(checkNickname); Users_CRUD_TestAction.Conditions.Add(updatedRowReturned); Users_CRUD_TestAction.Conditions.Add(checkUpdatedNetId); Users_CRUD_TestAction.Conditions.Add(checkUpdatedLastName); Users_CRUD_TestAction.Conditions.Add(checkUpdatedFirstName); Users_CRUD_TestAction.Conditions.Add(checkUpdatedMiddleName); Users_CRUD_TestAction.Conditions.Add(checkUpdatedNickname); Users_CRUD_TestAction.Conditions.Add(checkDelete); resources.ApplyResources(Users_CRUD_TestAction, "Users_CRUD_TestAction"); // // newRowReturned // newRowReturned.Enabled = true; newRowReturned.Name = "newRowReturned"; newRowReturned.ResultSet = 2; newRowReturned.RowCount = 1; // // checkNetId // checkNetId.ColumnNumber = 2; checkNetId.Enabled = true; checkNetId.ExpectedValue = "netid"; checkNetId.Name = "checkNetId"; checkNetId.NullExpected = false; checkNetId.ResultSet = 2; checkNetId.RowNumber = 1; // // checkLastName // checkLastName.ColumnNumber = 3; checkLastName.Enabled = true; checkLastName.ExpectedValue = "Last"; checkLastName.Name = "checkLastName"; checkLastName.NullExpected = false; checkLastName.ResultSet = 2; checkLastName.RowNumber = 1; // // checkFirstName // checkFirstName.ColumnNumber = 4; checkFirstName.Enabled = true; checkFirstName.ExpectedValue = "First"; checkFirstName.Name = "checkFirstName"; checkFirstName.NullExpected = false; checkFirstName.ResultSet = 2; checkFirstName.RowNumber = 1; // // checkMiddleName // checkMiddleName.ColumnNumber = 5; checkMiddleName.Enabled = true; checkMiddleName.ExpectedValue = "M"; checkMiddleName.Name = "checkMiddleName"; checkMiddleName.NullExpected = false; checkMiddleName.ResultSet = 2; checkMiddleName.RowNumber = 1; // // checkNickname // checkNickname.ColumnNumber = 6; checkNickname.Enabled = true; checkNickname.ExpectedValue = "Nick"; checkNickname.Name = "checkNickname"; checkNickname.NullExpected = false; checkNickname.ResultSet = 2; checkNickname.RowNumber = 1; // // updatedRowReturned // updatedRowReturned.Enabled = true; updatedRowReturned.Name = "updatedRowReturned"; updatedRowReturned.ResultSet = 3; // // checkUpdatedNetId // checkUpdatedNetId.ColumnNumber = 2; checkUpdatedNetId.Enabled = true; checkUpdatedNetId.ExpectedValue = "netid2"; checkUpdatedNetId.Name = "checkUpdatedNetId"; checkUpdatedNetId.NullExpected = false; checkUpdatedNetId.ResultSet = 3; checkUpdatedNetId.RowNumber = 1; // // checkUpdatedLastName // checkUpdatedLastName.ColumnNumber = 3; checkUpdatedLastName.Enabled = true; checkUpdatedLastName.ExpectedValue = "Last2"; checkUpdatedLastName.Name = "checkUpdatedLastName"; checkUpdatedLastName.NullExpected = false; checkUpdatedLastName.ResultSet = 3; checkUpdatedLastName.RowNumber = 1; // // checkUpdatedFirstName // checkUpdatedFirstName.ColumnNumber = 4; checkUpdatedFirstName.Enabled = true; checkUpdatedFirstName.ExpectedValue = "First2"; checkUpdatedFirstName.Name = "checkUpdatedFirstName"; checkUpdatedFirstName.NullExpected = false; checkUpdatedFirstName.ResultSet = 3; checkUpdatedFirstName.RowNumber = 1; // // checkUpdatedMiddleName // checkUpdatedMiddleName.ColumnNumber = 5; checkUpdatedMiddleName.Enabled = true; checkUpdatedMiddleName.ExpectedValue = "N"; checkUpdatedMiddleName.Name = "checkUpdatedMiddleName"; checkUpdatedMiddleName.NullExpected = false; checkUpdatedMiddleName.ResultSet = 3; checkUpdatedMiddleName.RowNumber = 1; // // checkUpdatedNickname // checkUpdatedNickname.ColumnNumber = 6; checkUpdatedNickname.Enabled = true; checkUpdatedNickname.ExpectedValue = "Nick2"; checkUpdatedNickname.Name = "checkUpdatedNickname"; checkUpdatedNickname.NullExpected = false; checkUpdatedNickname.ResultSet = 3; checkUpdatedNickname.RowNumber = 1; // // checkDelete // checkDelete.Enabled = true; checkDelete.Name = "checkDelete"; checkDelete.ResultSet = 4; // // Users_CRUDData // this.Users_CRUDData.PosttestAction = null; this.Users_CRUDData.PretestAction = null; this.Users_CRUDData.TestAction = Users_CRUD_TestAction; // // newUserIdResult // newUserIdResult.Enabled = true; newUserIdResult.Name = "newUserIdResult"; newUserIdResult.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.Schema.UnitTesting.DatabaseTestAction Instructors_CRUD_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Instructors_Procedures)); Microsoft.Data.Schema.UnitTesting.Conditions.EmptyResultSetCondition checkDelete; Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition newRowReturned; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkInstructorNumber; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition checkUpdatedInstructorNumber; Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition updatedRowReturned; this.Instructors_CRUDData = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); Instructors_CRUD_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); checkDelete = new Microsoft.Data.Schema.UnitTesting.Conditions.EmptyResultSetCondition(); newRowReturned = new Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition(); checkInstructorNumber = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); checkUpdatedInstructorNumber = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); updatedRowReturned = new Microsoft.Data.Schema.UnitTesting.Conditions.NotEmptyResultSetCondition(); // // Instructors_CRUD_TestAction // Instructors_CRUD_TestAction.Conditions.Add(newRowReturned); Instructors_CRUD_TestAction.Conditions.Add(checkInstructorNumber); Instructors_CRUD_TestAction.Conditions.Add(updatedRowReturned); Instructors_CRUD_TestAction.Conditions.Add(checkUpdatedInstructorNumber); Instructors_CRUD_TestAction.Conditions.Add(checkDelete); resources.ApplyResources(Instructors_CRUD_TestAction, "Instructors_CRUD_TestAction"); // // Instructors_CRUDData // this.Instructors_CRUDData.PosttestAction = null; this.Instructors_CRUDData.PretestAction = null; this.Instructors_CRUDData.TestAction = Instructors_CRUD_TestAction; // // checkDelete // checkDelete.Enabled = true; checkDelete.Name = "checkDelete"; checkDelete.ResultSet = 4; // // newRowReturned // newRowReturned.Enabled = true; newRowReturned.Name = "newRowReturned"; newRowReturned.ResultSet = 2; // // checkInstructorNumber // checkInstructorNumber.ColumnNumber = 2; checkInstructorNumber.Enabled = true; checkInstructorNumber.ExpectedValue = "teacher1"; checkInstructorNumber.Name = "checkInstructorNumber"; checkInstructorNumber.NullExpected = false; checkInstructorNumber.ResultSet = 2; checkInstructorNumber.RowNumber = 1; // // checkUpdatedInstructorNumber // checkUpdatedInstructorNumber.ColumnNumber = 2; checkUpdatedInstructorNumber.Enabled = true; checkUpdatedInstructorNumber.ExpectedValue = "teacher2"; checkUpdatedInstructorNumber.Name = "checkUpdatedInstructorNumber"; checkUpdatedInstructorNumber.NullExpected = false; checkUpdatedInstructorNumber.ResultSet = 3; checkUpdatedInstructorNumber.RowNumber = 1; // // updatedRowReturned // updatedRowReturned.Enabled = true; updatedRowReturned.Name = "updatedRowReturned"; updatedRowReturned.ResultSet = 3; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Microsoft.Data.Schema.UnitTesting.DatabaseTestAction Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbTest1)); Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition1; Microsoft.Data.Schema.UnitTesting.DatabaseTestAction Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction; Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition scalarValueCondition2; this.Banking_AccountWithBalance_Balance_MatchesAcountTransferSumsData = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); this.Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCountData = new Microsoft.Data.Schema.UnitTesting.DatabaseTestActions(); Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition1 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction = new Microsoft.Data.Schema.UnitTesting.DatabaseTestAction(); scalarValueCondition2 = new Microsoft.Data.Schema.UnitTesting.Conditions.ScalarValueCondition(); // // Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction // Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction.Conditions.Add(scalarValueCondition1); resources.ApplyResources(Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction, "Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction"); // // scalarValueCondition1 // scalarValueCondition1.ColumnNumber = 1; scalarValueCondition1.Enabled = true; scalarValueCondition1.ExpectedValue = "0"; scalarValueCondition1.Name = "scalarValueCondition1"; scalarValueCondition1.NullExpected = false; scalarValueCondition1.ResultSet = 1; scalarValueCondition1.RowNumber = 1; // // Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction // Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction.Conditions.Add(scalarValueCondition2); resources.ApplyResources(Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction, "Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction"); // // scalarValueCondition2 // scalarValueCondition2.ColumnNumber = 1; scalarValueCondition2.Enabled = true; scalarValueCondition2.ExpectedValue = "0"; scalarValueCondition2.Name = "scalarValueCondition2"; scalarValueCondition2.NullExpected = false; scalarValueCondition2.ResultSet = 1; scalarValueCondition2.RowNumber = 1; // // Banking_AccountWithBalance_Balance_MatchesAcountTransferSumsData // this.Banking_AccountWithBalance_Balance_MatchesAcountTransferSumsData.PosttestAction = null; this.Banking_AccountWithBalance_Balance_MatchesAcountTransferSumsData.PretestAction = null; this.Banking_AccountWithBalance_Balance_MatchesAcountTransferSumsData.TestAction = Banking_AccountWithBalance_Balance_MatchesAcountTransferSums_TestAction; // // Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCountData // this.Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCountData.PosttestAction = null; this.Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCountData.PretestAction = null; this.Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCountData.TestAction = Banking_AccountWithBalance_RowCount_EqualsAccountTableRowCount_TestAction; }