Exemplo n.º 1
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
 }
Exemplo n.º 2
0
 public void TestInitialize()
 {
     if (!Directory.Exists(TempFolder))
     {
         Directory.CreateDirectory(TempFolder);
     }
     Helper.DeleteFilesAndFolders(TempFolder);
 }
Exemplo n.º 3
0
 public void TestInitialize()
 {
     if (Directory.Exists(Dest))
     {
         Helper.DeleteFilesAndFolders(Dest);
         Directory.Delete(Dest);
     }
 }
Exemplo n.º 4
0
 public void TestInitialize()
 {
     if (!Directory.Exists(Temp))
     {
         Directory.CreateDirectory(Temp);
     }
     Helper.DeleteFilesAndFolders(Temp);
     Helper.DeleteFiles(FtpDownload);
 }
Exemplo n.º 5
0
        public void TestInitialize(int workflowId)
        {
            var tempFolder = Path.Combine(Helper.TempFolder, workflowId.ToString());

            if (!Directory.Exists(tempFolder))
            {
                Directory.CreateDirectory(tempFolder);
            }
            Helper.DeleteFilesAndFolders(tempFolder);
        }
Exemplo n.º 6
0
 public void TestCleanup()
 {
     Helper.DeleteFilesAndFolders(IsoFolder);
 }
Exemplo n.º 7
0
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(IsoFolder);
 }
Exemplo n.º 8
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
     Helper.Run(); // Run Wexflow engine instance (startup+periodic)
 }
Exemplo n.º 9
0
 public void TestCleanup()
 {
     Helper.DeleteFilesAndFolders(SevenZipFolder);
 }
Exemplo n.º 10
0
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(SevenZipFolder);
 }
Exemplo n.º 11
0
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(WmiFolder);
     _expectedResult = string.Format(_expectedResult, GetComputerName());
 }