public AssemblyRunner(ISpecificationRunListener listener, RunOptions options) { var state = new RedirectOutputState(); this.options = options; this.listener = new AggregateRunListener(new[] { new AssemblyLocationAwareListener(), new SetUpRedirectOutputRunListener(state), listener, new TearDownRedirectOutputRunListener(state), }); assemblyStart = OnAssemblyStart; assemblyEnd = OnAssemblyEnd; }
public AssemblyRunner(ISpecificationRunListener listener, RunOptions options) { RedirectOutputState state = new RedirectOutputState(); _listener = new AggregateRunListener(new[] { new AssemblyLocationAwareListener(), new SetUpRedirectOutputRunListener(state), listener, new TearDownRedirectOutputRunListener(state), }); _options = options; _explorer = new AssemblyExplorer(); _executedAssemblyContexts = new List <IAssemblyContext>(); _assemblyStart = OnAssemblyStart; _assemblyEnd = OnAssemblyEnd; }
public TearDownRedirectOutputRunListener(RedirectOutputState state) { this.state = state; }
public SetUpRedirectOutputRunListener(RedirectOutputState state) { this.state = state; }