Esempio n. 1
0
        public void RunUsersWithDelay()
        {
            Thread.Sleep(10000);
            var test1 = new ThreadTest();

            test1.CopyToShareFolder();
        }
Esempio n. 2
0
 public void RunCopyInTheSameTime()
 {
     for (int i = 1; i < NunitSettings.Users(); i++)
     {
         var myJob = new ThreadTest();
         myJob.counter = i;
         Thread thread = new Thread(new ThreadStart(myJob.CopyOneFile));
         thread.Name = "first";
         thread.Start();
     }
     Thread.Sleep(10000000);
 }
Esempio n. 3
0
        public void DataPrepare()
        {
            var test1 = new ThreadTest();

            test1.CreateData();
        }