示例#1
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
 }
示例#2
0
 public void TestInitialize()
 {
     if (!Directory.Exists(TempFolder))
     {
         Directory.CreateDirectory(TempFolder);
     }
     Helper.DeleteFilesAndFolders(TempFolder);
 }
示例#3
0
文件: Movedir.cs 项目: ymf1/Wexflow
 public void TestInitialize()
 {
     if (Directory.Exists(Dest))
     {
         Helper.DeleteFilesAndFolders(Dest);
         Directory.Delete(Dest);
     }
 }
示例#4
0
 public void TestInitialize()
 {
     if (!Directory.Exists(Temp))
     {
         Directory.CreateDirectory(Temp);
     }
     Helper.DeleteFilesAndFolders(Temp);
     Helper.DeleteFiles(FtpDownload);
 }
示例#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);
        }
示例#6
0
文件: Unzip.cs 项目: ymf1/Wexflow
 public void TestCleanup()
 {
     Helper.DeleteFilesAndFolders(ZipFolder);
 }
示例#7
0
文件: Unzip.cs 项目: ymf1/Wexflow
 public void TestInitialize()
 {
     Helper.DeleteFilesAndFolders(ZipFolder);
 }
示例#8
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
     Helper.Run(); // Run Wexflow engine instance (startup+periodic)
 }