Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 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);
        }