public SpecRunTestRunnerGateway(IOutputWindowService outputWindowService, IIdeTracer tracer, IProjectScopeFactory projectScopeFactory, DTE2 dte, InstallServices installServices)
 {
     this.outputWindowService = outputWindowService;
     this.dte = dte;
     this.installServices = installServices;
     this.projectScopeFactory = projectScopeFactory;
     this.tracer = tracer;
 }
        public Vs2008GeneratorServices(Project project) : base(
            new TestGeneratorFactory(), NullIdeTracer.Instance, true)
        {
            this.project = project;

            if (!installerServiceInitialized)
            {
                InstallServices installerService =
                    new InstallServices(new VsBrowserGuidanceNotificationService(project.DTE), tracer,
                                        new WindowsFileAssociationDetector(tracer),
                                        new RegistryStatusAccessor(tracer));

                installerService.OnPackageLoad(IdeIntegration.Install.IdeIntegration.VisualStudio2008);
                installerService.OnPackageUsed();
                installerServiceInitialized = true;
            }
        }
        public SharpDevelop4GeneratorServices(IProject project) : base(
            new TestGeneratorFactory(), NullIdeTracer.Instance, true)
        {
            this.project = project;

            if (!installerServiceInitialized)
            {
                InstallServices installerService =
                    new InstallServices(new ExternalBrowserGuidanceNotificationService(tracer), tracer,
                                        new WindowsFileAssociationDetector(tracer),
                                        new RegistryStatusAccessor(tracer));

                installerService.OnPackageLoad(IdeIntegration.Install.IdeIntegration.SharpDevelop);
                installerService.OnPackageUsed();
                installerServiceInitialized = true;
            }
        }
Esempio n. 4
0
 public AutoTestRunnerGateway(IObjectContainer container, InstallServices installServices)
 {
     this.container = container;
     ideIntegration = installServices.IdeIntegration;
 }