IronRuby.Tests.Driver.RunTestCase C# (CSharp) 메소드

RunTestCase() 개인적인 메소드

private RunTestCase ( TestCase testCase ) : void
testCase TestCase
리턴 void
        private void RunTestCase(TestCase/*!*/ testCase) {
            _testRuntime = new TestRuntime(this, testCase);

            if (_verbose) {
                Console.WriteLine("Executing {0}", testCase.Name);
            } else {
                Console.Write('.');
            }

            try {
                testCase.TestMethod();
            } catch (Exception e) {
                PrintTestCaseFailed();
                _unexpectedExceptions.Add(new MutableTuple<string, Exception>(testCase.Name, e));
            } finally {
                Snippets.SaveAndVerifyAssemblies();
            }
        }