Exemple #1
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
 }
Exemple #2
0
 public void TestInitialize()
 {
     if (!Directory.Exists(TempFolder))
     {
         Directory.CreateDirectory(TempFolder);
     }
     Helper.DeleteFilesAndFolders(TempFolder);
 }
Exemple #3
0
 public void TestInitialize()
 {
     if (Directory.Exists(Dest))
     {
         Helper.DeleteFilesAndFolders(Dest);
         Directory.Delete(Dest);
     }
 }
Exemple #4
0
 public void TestInitialize()
 {
     if (!Directory.Exists(Temp))
     {
         Directory.CreateDirectory(Temp);
     }
     Helper.DeleteFilesAndFolders(Temp);
     Helper.DeleteFiles(FtpDownload);
 }
Exemple #5
0
 public void TestCleanup()
 {
     Helper.DeleteFilesAndFolders(TgzFolder);
 }
Exemple #6
0
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(TgzFolder);
 }
Exemple #7
0
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(WmiFolder);
     _expectedResult = string.Format(_expectedResult, GetComputerName());
 }
Exemple #8
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
     Helper.Run(); // Run Wexflow engine instance (startup+periodic)
 }