RunTest() public method

public RunTest ( ) : void
return void
コード例 #1
0
        private static void Run(TestCase testCase)
        {
            var runner = new TestRunner(testCase, TestCaseType.ReadDeferred);

            runner.RunTest();

            runner = new TestRunner(testCase, TestCaseType.ReadImmediate);
            runner.RunTest();

            runner = new TestRunner(testCase, TestCaseType.WriteFromDeferred);
            runner.RunTest();

            runner = new TestRunner(testCase, TestCaseType.WriteFromImmediate);
            runner.RunTest();
        }
コード例 #2
0
        static void Run(TestCase testCase)
        {
            using (var runner = new TestRunner(testCase, TestCaseType.ReadDeferred))
                runner.RunTest();

            using (var runner = new TestRunner(testCase, TestCaseType.ReadImmediate))
                runner.RunTest();

            if (testCase.ReadOnly)
            {
                return;
            }

            using (var runner = new TestRunner(testCase, TestCaseType.WriteFromDeferred))
                runner.RunTest();

            using (var runner = new TestRunner(testCase, TestCaseType.WriteFromImmediate))
                runner.RunTest();
        }
コード例 #3
0
ファイル: BaseTestFixture.cs プロジェクト: harerama/cecil
		private static void Run (TestCase testCase)
		{
			var runner = new TestRunner (testCase, TestCaseType.ReadDeferred);
			runner.RunTest ();

			runner = new TestRunner (testCase, TestCaseType.ReadImmediate);
			runner.RunTest ();

			runner = new TestRunner (testCase, TestCaseType.WriteFromDeferred);
			runner.RunTest();

			runner = new TestRunner (testCase, TestCaseType.WriteFromImmediate);
			runner.RunTest();
		}
コード例 #4
0
ファイル: BaseTestFixture.cs プロジェクト: pver/minicover
 static void Run(TestCase testCase)
 {
     using (var runner = new TestRunner(testCase, TestCaseType.ReadImmediate))
         runner.RunTest();
 }
コード例 #5
0
ファイル: BaseTestFixture.cs プロジェクト: jbevain/cecil
        static void Run(TestCase testCase)
        {
            using (var runner = new TestRunner (testCase, TestCaseType.ReadDeferred))
                runner.RunTest ();

            using (var runner = new TestRunner (testCase, TestCaseType.ReadImmediate))
                runner.RunTest ();

            if (testCase.ReadOnly)
                return;

            using (var runner = new TestRunner (testCase, TestCaseType.WriteFromDeferred))
                runner.RunTest ();

            using (var runner = new TestRunner (testCase, TestCaseType.WriteFromImmediate))
                runner.RunTest ();
        }