Exemplo n.º 1
0
 public void testStaticAction1()
 {
     var testThread = new TestThread();
     testThread.Start();
     Thread.Sleep(1000);
     testThread.Quit();
     AssertNull("Error should be null", testThread.error);
     AssertEquals("Result should be OK", "OK", testThread.result);
 }
Exemplo n.º 2
0
        public void testStaticAction1()
        {
            var testThread = new TestThread();

            testThread.Start();
            Thread.Sleep(1000);
            testThread.Quit();
            AssertNull("Error should be null", testThread.error);
            AssertEquals("Result should be OK", "OK", testThread.result);
        }