public SameDomainHandlerFactory(AssemblyGenerator assemblyGenerator, AssemblyRegistry assemblyRegistry, IFilesystem filesystem) { _assemblyGenerator = assemblyGenerator; _assemblyRegistry = assemblyRegistry; _filesystem = filesystem; }
public void SetupContext() { Generator = new AssemblyGenerator(new ScenarioPreprocessor()); _scenarios = new IScenario[] { TestHelper.BuildScenario("foo", "When I do seomthing", "something else should happen") }; GeneratedAssemblyPath = Generator.GenerateAssembly(new Story("foo", "bar", _scenarios), _scenarios.Cast<Scenario>(), new[] {this.GetType().Assembly.Location}); }
public RemoteHandlerFactory(AssemblyGenerator assemblyGenerator, ConfigSettings settings, IFilesystem filesystem) { _assemblyGenerator = assemblyGenerator; _settings = settings; _filesystem = filesystem; }