public void Init() { processRunner = new MockProcessRunner(); testResultsMonitor = new MockTestResultsMonitor(); options = new UnitTestingOptions(new Properties()); fileSystem = new MockFileSystem(); messageService = new MockMessageService(); testRunner = new DerivedCodeCoverageTestRunner(processRunner, testResultsMonitor, options, fileSystem, messageService); }
public MockCodeCoverageTestRunnerFactory() { ProcessRunner = new MockProcessRunner(); TestResultsMonitor = new MockTestResultsMonitor(); Options = new UnitTestingOptions(new Properties()); FileSystem = new MockFileSystem(); CodeCoverageTestRunnerContext context = new CodeCoverageTestRunnerContext(ProcessRunner, TestResultsMonitor, FileSystem, MessageService, Options); TestRunner = new CodeCoverageTestRunner(context); }
public void Init() { fileSystem = new MockFileSystem(); factory = new OpenCoverSettingsFactory(fileSystem); project = new MockCSharpProject(); }