public void CanUpdateAllUsersToUpperCase() { using (UpperCaseUserNames update = new UpperCaseUserNames(TestDatabase.ConnectionStringName)) { update.RegisterLast(new UpdateUserNames(TestDatabase.ConnectionStringName)); update.Execute(); } AssertUpdatedAllRows(); }
public void CanUpdateAllUsersToUpperCase() { using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new UpdateUserNames()); update.Execute(); } AssertUpdatedAllRows(); }
public void BulkInsertUpdatedRows() { using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new BulkInsertUsers()); update.Execute(); } AssertUpdatedAllRows(); }
public void BulkInsertUpdatedRows() { if(expectedCount != GetUserCount("1 = 1")) return;//ignoring test using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new BulkInsertUsers()); update.Execute(); } AssertUpdatedAllRows(); }
public void BulkInsertUpdatedRows() { if(expectedCount != GetUserCount("1 = 1")) Assert.Ignore("That is _really_ strange"); using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new BulkInsertUsers()); update.Execute(); } AssertUpdatedAllRows(); }
public void BulkInsertUpdatedRows() { if (expectedCount != GetUserCount("1 = 1")) { return;//ignoring test } using (UpperCaseUserNames update = new UpperCaseUserNames(TestDatabase.ConnectionStringName)) { update.RegisterLast(new BulkInsertUsers(TestDatabase.ConnectionStringName)); update.Execute(); } AssertUpdatedAllRows(); }
public async Task CanUpdateAllUsersToUpperCase() { await SetupTables(); currentUserCount = await GetUserCount("1 = 1"); using (PushDataToDatabase push = new PushDataToDatabase(expectedCount)) await push.Execute(); using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new UpdateUserNames()); await update.Execute(); } await AssertUpdatedAllRows(); }
public async Task BulkInsertUpdatedRows() { await SetupTables(); currentUserCount = await GetUserCount("1 = 1"); using (PushDataToDatabase push = new PushDataToDatabase(expectedCount)) await push.Execute(); if (expectedCount != await GetUserCount("1 = 1")) { return;//ignoring test } using (UpperCaseUserNames update = new UpperCaseUserNames()) { update.RegisterLast(new BulkInsertUsers()); await update.Execute(); } await AssertUpdatedAllRows(); }