コード例 #1
0
        public SameDomainHandlerFactory(AssemblyGenerator assemblyGenerator, AssemblyRegistry assemblyRegistry, IFilesystem filesystem)
        {
            _assemblyGenerator = assemblyGenerator;
            _assemblyRegistry = assemblyRegistry;

            _filesystem = filesystem;
        }
コード例 #2
0
 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});
 }
コード例 #3
0
 public RemoteHandlerFactory(AssemblyGenerator assemblyGenerator, ConfigSettings settings, IFilesystem filesystem)
 {
     _assemblyGenerator = assemblyGenerator;
     _settings = settings;
     _filesystem = filesystem;
 }