Пример #1
0
 public static void CleanupTestSuite()
 {
     if (!TestingDatabaseCreationUtils.DestoryDatabase())
     {
         throw new Exception("Failed to destroy database. This is bad. Manual deletion required");
     }
     Manipulator.Close();
 }
 public static void CleanupTests()
 {
     ServerTestingMessageSwitchback.CloseSwitchback();
     if (!TestingDatabaseCreationUtils.DestoryDatabase())
     {
         throw new Exception("Failed to destroy testing database. This is bad. Manual deletion is required");
     }
 }
 public static void ClassCleanup()
 {
     TestingDatabaseCreationUtils.DestoryDatabase();
     TestConnection.Close();
 }