public RootRunner(IRunListener listener, IAppDomainFactory appDomainFactory, IResourceManager resourceManager, IResultFactory resultFactory) { _listener = listener; _appDomainFactory = appDomainFactory; _resourceManager = resourceManager; _resultFactory = resultFactory; }
public IAssemblyRunner Create(IRunListener listener, IResourceManager resourceManager, ICancellationTokenSource cancellationTokenSource) { var builder = new ContainerBuilder(); builder.RegisterModule(new EvaluationModule(listener, useSeparateAppDomains: false /* don't care */)); // Re-registering builder.RegisterInstance(resourceManager).As<IResourceManager>(); builder.RegisterInstance(cancellationTokenSource).As<ICancellationTokenSource>(); // Only SetupCommon's and CleanupCommon's should be added for assembly suite builder.RegisterInstance(new OperationSorter(new[] { typeof (SetupCommon), typeof (CleanupCommon) })).As<IOperationSorter>(); var container = builder.Build(); return new AssemblyRunner(container.Resolve<IAssemblyLoader>(), container.Resolve<ISuiteRunner>()); }
public IAssemblyRunner Create(IRunListener listener, IResourceManager resourceManager, ICancellationTokenSource cancellationTokenSource) { var builder = new ContainerBuilder(); builder.RegisterModule(new EvaluationModule(listener, useSeparateAppDomains: false /* don't care */)); // Re-registering builder.RegisterInstance(resourceManager).As <IResourceManager>(); builder.RegisterInstance(cancellationTokenSource).As <ICancellationTokenSource>(); // Only SetupCommon's and CleanupCommon's should be added for assembly suite builder.RegisterInstance(new OperationSorter(new[] { typeof(SetupCommon), typeof(CleanupCommon) })).As <IOperationSorter>(); var container = builder.Build(); return(new AssemblyRunner(container.Resolve <IAssemblyLoader>(), container.Resolve <ISuiteRunner>())); }
public SuiteRunner( IResourceManager resourceManager, IResultFactory resultFactory, IContextRunner contextRunner, ITestRunner testRunner, IRunListener listener, ICancellationTokenSource cancellationTokenSource) { _resourceManager = resourceManager; _resultFactory = resultFactory; _contextRunner = contextRunner; _testRunner = testRunner; _listener = listener; _cancellationTokenSource = cancellationTokenSource; }
public void RemoveRunListener(IRunListener runListener) { m_Listeners.Remove(runListener); }
public EvaluationModule(IRunListener listener, bool useSeparateAppDomains) { _listener = listener; _useSeparateAppDomains = useSeparateAppDomains; }
public TestRunner(IResultFactory resultFactory, IOperationRunner operationRunner, IRunListener listener) { _resultFactory = resultFactory; _operationRunner = operationRunner; _listener = listener; }
public AdapterListener(IRunListener listener, string assemblyPath) { this.listener = listener; this.assemblyPath = assemblyPath; }
public CrossAppDomainRunListener(IRunListener listener) { _listener = listener; }
public LoggingRunListener(IRunListener listener) { this.listener = listener; }
public void AddRunListener(IRunListener runListener) { m_Listeners.Add(runListener); }
public IConcordionExtender WithRunListener(IRunListener listener) { RunCommand.AddRunListener(listener); return(this); }
public IConcordionExtender WithRunListener(IRunListener listener) { RunCommand.AddRunListener(listener); return this; }