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(); }
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 (); }