예제 #1
0
 public static void AssemblyCleanup()
 {
     Utilities.LogAllTestsFinish();
     foreach (var dir in dirsToCleanup)
     {
         logger.Info("Removing {0}", dir);
         //test directory exists
         try
         {
             // try to delete it
             Directory.Delete(dir, true);
         }
         catch
         {
             // simple delete failed, try to clobber it (can be slow so last resort)
             Utilities.ClobberDirectory(dir);
         }
     }
 }