コード例 #1
0
        public void TestExecutionInThreadPool()
        {
            TestThreadOperation test = new TestThreadOperation(true);

            Assert.IsFalse(test.Ended);
            test.Start();
            test.Join();
            Assert.IsTrue(test.Ended);
        }
コード例 #2
0
        public void TestExecutionInExplicitThread()
        {
            TestThreadOperation test = new TestThreadOperation(false);

            Assert.IsFalse(test.Ended);
            test.Start();
            test.Join();
            Assert.IsTrue(test.Ended);
        }
コード例 #3
0
 public void TestExecutionInExplicitThread() {
   TestThreadOperation test = new TestThreadOperation(false);
   Assert.IsFalse(test.Ended);
   test.Start();
   test.Join();
   Assert.IsTrue(test.Ended);
 }
コード例 #4
0
 public void TestExecutionInThreadPool() {
   TestThreadOperation test = new TestThreadOperation(true);
   Assert.IsFalse(test.Ended);
   test.Start();
   test.Join();
   Assert.IsTrue(test.Ended);
 }