IronRuby.Tests.Driver.RunTestCase C# (CSharp) Method

RunTestCase() private method

private RunTestCase ( TestCase testCase ) : void
testCase TestCase
return 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();
            }
        }