public InstrumentCommand(IServiceProvider serviceProvider, VerbosityOption verbosityOption, WorkingDirectoryOption workingDirectoryOption, ParentDirectoryOption parentDirOption, IncludeAssembliesPatternOption includeAssembliesOption, ExcludeAssembliesPatternOption excludeAssembliesOption, IncludeSourcesPatternOption includeSourceOption, ExcludeSourcesPatternOption excludeSourceOption, IncludeTestsPatternOption includeTestsOption, ExcludeTestsPatternOption excludeTestsOption, HitsDirectoryOption hitsDirectoryOption, CoverageFileOption coverageFileOption, IInstrumenter instrumenter) { _serviceProvider = serviceProvider; _verbosityOption = verbosityOption; _workingDirectoryOption = workingDirectoryOption; _parentDirOption = parentDirOption; _includeAssembliesOption = includeAssembliesOption; _excludeAssembliesOption = excludeAssembliesOption; _includeSourceOption = includeSourceOption; _excludeSourceOption = excludeSourceOption; _includeTestsOption = includeTestsOption; _excludeTestsOption = excludeTestsOption; _hitsDirectoryOption = hitsDirectoryOption; _coverageFileOption = coverageFileOption; _instrumenter = instrumenter; }
public Flipper(IAdapter adapter, IInstrumenter instrumenter) { if (instrumenter == null) { throw new ArgumentNullException("instrumenter"); } Instrumenter = instrumenter; Adapter = new InstrumentedAdapterDecorator(adapter, Instrumenter); }
public InstrumentCommandHandler( IFileSystem fileSystem, IInstrumenter instrumenter, ILogger <InstrumentCommandHandler> logger) { _fileSystem = fileSystem; _instrumenter = instrumenter; _logger = logger; }
public Feature(string name, IAdapter adapter, IInstrumenter instrumenter) { if (instrumenter == null) { throw new ArgumentNullException("instrumenter"); } Name = name; Adapter = adapter; Instrumenter = instrumenter; }
public InstrumentedAdapterDecorator(IAdapter adapter, IInstrumenter instrumenter) { Adapter = adapter; Instrumenter = instrumenter; }
public FileInstrumenter(IInstrumenter instrumenter, bool verbose) { Verbose = verbose; this.instrumenter = instrumenter; }
public FileInstrumenter(bool verbose) { Verbose = verbose; instrumenter = new JavaScriptInstrumenter(); }
public void Setup() { instrumenter = Substitute.For<IInstrumenter>(); fileInstrumenter = new FileInstrumenter(instrumenter, false); }