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