예제 #1
0
 public static IDisposable Set(ScenarioReport report)
 {
     Current.Value = report;
     return(new Disposer());
 }
예제 #2
0
 public ScenarioReportingXunitTestMethodRunner(ScenarioReport report, ITestMethod testMethod, IReflectionTypeInfo @class, IReflectionMethodInfo method, IEnumerable <ScenarioReportingXunitTestCase> testCases, IMessageSink diagnosticMessageSink, IMessageBus messageBus, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, object[] constructorArguments) : base(testMethod, @class, method, testCases, messageBus, aggregator, cancellationTokenSource)
 {
     _report = report;
     _diagnosticMessageSink = diagnosticMessageSink;
     _constructorArguments  = constructorArguments;
 }