Пример #1
0
 public TestReporter(TimeSpan interval, bool pass = true, Exception throwEx = null)
 {
     FlushInterval = interval;
     _pass         = throwEx == null && pass;
     _throwEx      = throwEx;
     Filter        = new NullMetricsFilter();
 }
Пример #2
0
 public TestReporter(bool pass = true, Exception throwEx = null)
 {
     _pass         = throwEx == null && pass;
     _throwEx      = throwEx;
     FlushInterval = TimeSpan.FromMilliseconds(10);
     Filter        = new NullMetricsFilter();
 }