/// <summary> /// Initiate unit test harness. /// </summary> public UnitTestHarness() { _events = new UnitTestHarnessEvents(this); State = new TestHarnessState(); LogProviders = new List <LogProvider>(); _queuedLogMessages = new Queue <LogMessage>(); _globalExceptions = new GlobalExceptionHandler(GlobalUnhandledExceptionListener); _dispatcherStack = new WorkItemsManager(); Results = new List <ScenarioResult>(); LogWriter = new UnitTestLogMessageWriter(this); LogicFactory = new UnitTestLogicFactory(this); }
/// <summary> /// Initiate unit test harness. /// </summary> public UnitTestHarness() { _events = new UnitTestHarnessEvents(this); State = new TestHarnessState(); LogProviders = new List<LogProvider>(); _queuedLogMessages = new Queue<LogMessage>(); _globalExceptions = new GlobalExceptionHandler(GlobalUnhandledExceptionListener); _dispatcherStack = new WorkItemsManager(); Results = new List<ScenarioResult>(); LogWriter = new UnitTestLogMessageWriter(this); LogicFactory = new UnitTestLogicFactory(this); }
/// <summary> /// Creates a new TestHarnessCompletedEventArgs. /// </summary> /// <param name="testHarnessState">The final test harness state.</param> public TestHarnessCompletedEventArgs(TestHarnessState testHarnessState) { State = testHarnessState; }