Gallio.Model.Helpers.SimpleTestDriver.CreateTestController()

Here are the examples of the csharp api class Gallio.Model.Helpers.SimpleTestDriver.CreateTestController() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: mbunit-v3
Source File: SimpleTestDriver.cs
[DebuggerNonUserCode]
            public void Run()
            {
                try
                {
                    using (testHarness.SetUpThread())
                    {
                        using (testContextManager.ContextTracker.EnterContext(null))
                        {
                            using (TestController testController = driver.CreateTestController())
                            {
                                // Calling RunImpl directly instead of Run to minimize stack depth
                                // because we already know the arguments are valid.
                                testController.RunImpl(rootTestCommand, null, options, progressMonitor);
                            }
                        }
                    }
                }
                catch (Exception ex)
                {
                    exception = ex;
                }
            }