Esempio n. 1
0
 public static void ClassCleanup()
 {
     if (table != null)
     {
         table.Dispose();
     }
     Ns.DropNamespaces(DropDispositions.Complete);
     Ns.DropTables();
 }
Esempio n. 2
0
 public void TestInitialize()
 {
     TestBase.ContinueExecution();
     Ns.DropTables();
     Ns.DropNamespaces(DropDispositions.Complete);
 }
Esempio n. 3
0
 /// <summary>
 /// Drop tables from 'test' namespace.
 /// </summary>
 /// <param name = "regex">Table name regular expression.</param>
 protected static void DropTables(Regex regex)
 {
     Ns.DropTables(regex, DropDispositions.IfExists);
 }