示例#1
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
 }
示例#2
0
 public void TestInitialize()
 {
     if (!Directory.Exists(Temp))
     {
         Directory.CreateDirectory(Temp);
     }
     Helper.DeleteFilesAndFolders(Temp);
     Helper.DeleteFiles(FtpDownload);
 }
示例#3
0
文件: FilesInfo.cs 项目: ymf1/Wexflow
        public void TestInitialize()
        {
            const string dateFormat = @"MM\/dd\/yyyy HH:mm.ss";

            Helper.DeleteFiles(FilesInfoFolder);
            FileInfo info1 = new FileInfo(File1);
            FileInfo info2 = new FileInfo(File2);

            _expectedResult = string.Format(_expectedResult
                                            , info1.CreationTime.ToString(dateFormat)
                                            , info1.LastWriteTime.ToString(dateFormat)
                                            , info1.LastAccessTime.ToString(dateFormat)
                                            , info2.CreationTime.ToString(dateFormat)
                                            , info2.LastWriteTime.ToString(dateFormat)
                                            , info2.LastAccessTime.ToString(dateFormat));
        }
示例#4
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(TextsDecryptorSrcFolder);
     Helper.DeleteFiles(TextsDecryptorDestFolder);
     Helper.DeleteFiles(TextsEncryptorFolder);
 }
示例#5
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(TextsDecryptorSrcFolder);
     Helper.DeleteFiles(TextsDecryptorDestFolder);
 }
示例#6
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(FilesSplitterFolder);
 }
示例#7
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(Mp3Folder);
 }
示例#8
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(DestDir);
 }
示例#9
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(MailsReceiverFolder);
 }
示例#10
0
文件: Sha256.cs 项目: ymf1/Wexflow
 public void TestInitialize()
 {
     Helper.DeleteFiles(Sha256Folder);
 }
示例#11
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(ProcessInfoFolder);
     Helper.StartProcess(@"C:\Windows\System32\notepad.exe", "", false);
 }
示例#12
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(TextsEncryptorFolder);
 }
示例#13
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
     Helper.Run(); // Run Wexflow engine instance (startup+periodic)
 }
示例#14
0
文件: Cron.cs 项目: ymf1/Wexflow
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(CronFolder);
 }
示例#15
0
文件: Cron.cs 项目: ymf1/Wexflow
 public void TestInitialize()
 {
     Helper.DeleteFiles(CronFolder);
     Helper.Run(); // Run Wexflow engine instance (cron)
 }
示例#16
0
文件: FilesInfo.cs 项目: ymf1/Wexflow
 public void TestCleanup()
 {
     Helper.DeleteFiles(FilesInfoFolder);
 }
示例#17
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(ProcessInfoFolder);
     Helper.StartProcess("taskkill", "/im \"notepad.exe\" /f", true);
 }
示例#18
0
文件: Sha256.cs 项目: ymf1/Wexflow
 public void TestCleanup()
 {
     Helper.DeleteFiles(Sha256Folder);
 }
示例#19
0
文件: SqlToXml.cs 项目: ymf1/Wexflow
 public void TestInitialize()
 {
     Helper.DeleteFiles(SqlToXmlFolder);
 }
示例#20
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(MailsReceiverFolder);
 }
示例#21
0
文件: SqlToXml.cs 项目: ymf1/Wexflow
 public void TestCleanup()
 {
     Helper.DeleteFiles(SqlToXmlFolder);
 }
示例#22
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(DestDir);
 }
示例#23
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(FtpDownload);
 }
示例#24
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(Mp3Folder);
 }
示例#25
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(FilesSplitterFolder);
 }