コード例 #1
0
ファイル: TestLogger.cs プロジェクト: spekt/testlogger
 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));
 }
コード例 #2
0
 public ITestRunBuilder WithSerializer(ITestResultSerializer serializer)
 {
     this.testRun.Serializer = serializer ?? throw new ArgumentNullException(nameof(serializer));
     return(this);
 }
コード例 #3
0
ファイル: TestLogger.cs プロジェクト: spekt/testlogger
 protected TestLogger(ITestResultSerializer resultSerializer)
     : this(new FileSystem(), new ConsoleOutput(), new TestResultStore(), resultSerializer)
 {
 }
コード例 #4
0
ファイル: TestLoggerTests.cs プロジェクト: spekt/testlogger
 public ValidTestLogger(ITestResultSerializer serializer)
     : base(serializer)
 {
 }