Exemplo n.º 1
0
 private void CleanLogFolder()
 {
     using (TestHostContext hc = new TestHostContext(this))
     {
         //clean test data if any old test forgot
         string pagesFolder = Path.Combine(hc.GetDiagDirectory(), PagingLogger.PagingFolder);
         if (Directory.Exists(pagesFolder))
         {
             Directory.Delete(pagesFolder, true);
         }
     }
 }