Esempio n. 1
0
 protected TestLogger(
     IFileSystem fileSystem,
     IConsoleOutput consoleOutput,
     ITestResultStore resultStore,
     ITestResultSerializer resultSerializer)
 {
     this.fileSystem       = fileSystem ?? throw new ArgumentNullException(nameof(fileSystem));
     this.consoleOutput    = consoleOutput ?? throw new ArgumentNullException(nameof(consoleOutput));
     this.resultStore      = resultStore ?? throw new ArgumentNullException(nameof(resultStore));
     this.resultSerializer = resultSerializer ?? throw new ArgumentNullException(nameof(resultSerializer));
 }
Esempio n. 2
0
 public ITestRunBuilder WithSerializer(ITestResultSerializer serializer)
 {
     this.testRun.Serializer = serializer ?? throw new ArgumentNullException(nameof(serializer));
     return(this);
 }
Esempio n. 3
0
 protected TestLogger(ITestResultSerializer resultSerializer)
     : this(new FileSystem(), new ConsoleOutput(), new TestResultStore(), resultSerializer)
 {
 }
Esempio n. 4
0
 public ValidTestLogger(ITestResultSerializer serializer)
     : base(serializer)
 {
 }