Beispiel #1
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
 }
Beispiel #2
0
 public void TestInitialize()
 {
     if (!Directory.Exists(Temp))
     {
         Directory.CreateDirectory(Temp);
     }
     Helper.DeleteFilesAndFolders(Temp);
     Helper.DeleteFiles(FtpDownload);
 }
Beispiel #3
0
        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));
        }
Beispiel #4
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(TextsDecryptorSrcFolder);
     Helper.DeleteFiles(TextsDecryptorDestFolder);
     Helper.DeleteFiles(TextsEncryptorFolder);
 }
Beispiel #5
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(TextsDecryptorSrcFolder);
     Helper.DeleteFiles(TextsDecryptorDestFolder);
 }
Beispiel #6
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(FilesSplitterFolder);
 }
Beispiel #7
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(Mp3Folder);
 }
Beispiel #8
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(DestDir);
 }
Beispiel #9
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(MailsReceiverFolder);
 }
Beispiel #10
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(Sha256Folder);
 }
Beispiel #11
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(ProcessInfoFolder);
     Helper.StartProcess(@"C:\Windows\System32\notepad.exe", "", false);
 }
Beispiel #12
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(TextsEncryptorFolder);
 }
Beispiel #13
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(StartupFolder);
     Helper.DeleteFilesAndFolders(PeriodicFolder);
     Helper.Run(); // Run Wexflow engine instance (startup+periodic)
 }
Beispiel #14
0
 public void TestCleanup()
 {
     Helper.Stop();
     Thread.Sleep(500);
     Helper.DeleteFiles(CronFolder);
 }
Beispiel #15
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(CronFolder);
     Helper.Run(); // Run Wexflow engine instance (cron)
 }
Beispiel #16
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(FilesInfoFolder);
 }
Beispiel #17
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(ProcessInfoFolder);
     Helper.StartProcess("taskkill", "/im \"notepad.exe\" /f", true);
 }
Beispiel #18
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(Sha256Folder);
 }
Beispiel #19
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(SqlToXmlFolder);
 }
Beispiel #20
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(MailsReceiverFolder);
 }
Beispiel #21
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(SqlToXmlFolder);
 }
Beispiel #22
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(DestDir);
 }
Beispiel #23
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(FtpDownload);
 }
Beispiel #24
0
 public void TestCleanup()
 {
     Helper.DeleteFiles(Mp3Folder);
 }
Beispiel #25
0
 public void TestInitialize()
 {
     Helper.DeleteFiles(FilesSplitterFolder);
 }