public TestConfiguredProjectServices(TestConfiguredProject configuredProject, TestPropertyData[] data) { ConfiguredProject = configuredProject; TestAdditionalRuleDefinitions = new TestAdditionalRuleDefinitionsService(); TestPropertyPagesCatalog = new TestPropertyPagesCatalogProvider(new TestPropertyPagesCatalog(data)); }
public TestProjectSystemServices(string fullPath, params TestPropertyData[] data) { ProjectService = new TestProjectService(); ThreadingService = ProjectService.Services.TestThreadingPolicy; UnconfiguredProject = new TestUnconfiguredProject(ProjectService, fullPath); ProjectService.LoadedUnconfiguredProjects.Add(UnconfiguredProject); ActiveConfiguredProject = new TestConfiguredProject(UnconfiguredProject, data); UnconfiguredProject.LoadedConfiguredProjects.Add(ActiveConfiguredProject); ActiveConfiguredProjectAssemblyReferences = new TestAssemblyReferencesService(); ActiveConfiguredProjectRazorProperties = new Rules.RazorProjectProperties(ActiveConfiguredProject, UnconfiguredProject); ActiveConfiguredProjectSubscription = new TestActiveConfiguredProjectSubscriptionService(); TasksService = new TestProjectAsynchronousTasksService(ProjectService, UnconfiguredProject, ActiveConfiguredProject); }