Ejemplo n.º 1
0
 public async Task OneTimeTearDown() =>
 await DatabaseTestsHelper.ExecuteSqlQueryAsync(
     "DROP TABLE [ReminderItems]",
     "DROP TABLE [ReminderContacts];",
     "DROP TABLE [ReminderStatuses];",
     "DROP PROCEDURE [AddReminderItem];",
     "DROP PROCEDURE [UpdateReminderItem];");
Ejemplo n.º 2
0
 public async Task OneTimeSetUp() =>
 await DatabaseTestsHelper.ExecuteSqlQueryAsync(
     ReminderStorageSctipts.CreateTableReminderStatuses,
     ReminderStorageSctipts.CreateTableReminderContacts,
     ReminderStorageSctipts.CreateTableReminderItems,
     ReminderStorageSctipts.CreateProcedureAddReminderItem,
     ReminderStorageSctipts.CreateProcedureUpdateReminderItem);
Ejemplo n.º 3
0
 public async Task TearDown() =>
 await DatabaseTestsHelper.ExecuteSqlQueryAsync(
     "DELETE FROM [ReminderItems];",
     "DELETE FROM [ReminderContacts];",
     "DELETE FROM [ReminderStatuses];");
Ejemplo n.º 4
0
 public async Task Setup() =>
 await DatabaseTestsHelper.ExecuteSqlQueryAsync(
     ReminderStorageSctipts.InsertReminderStatuses);