static TestContext GetRunContext()
        {
            var monitor          = new TestProgressMonitor();
            var executionContext = new ExecutionContext((IExecutionHandler)null, null, null);
            var testContext      = new TestContext(monitor, executionContext, DateTime.Now);

            return(testContext);
        }
Example #2
0
        void CreateTestResultBuilder(IVsTestTestProvider testProvider)
        {
            var executionContext = new ExecutionContext((IExecutionHandler)null, null, null);

            monitor = new TestProgressMonitor();
            context = new TestContext(monitor, null, executionContext, DateTime.Now);

            builder = new TestResultBuilder(context, testProvider);
        }