/// <summary> /// Populates with the standard providers for Silverlight in-browser /// testing. /// </summary> private void PopulateProviders() { if (ServiceType.Direct == ServiceType) { // Settings provider IsolatedStorageSettingsProvider settings = new IsolatedStorageSettingsProvider(this); RegisterService(TestServiceFeature.RunSettings, settings); } if (ServiceType.WebService == ServiceType) { // Command line run settings provider SettingsProvider settings = new WebSettingsProvider(this); RegisterService(TestServiceFeature.RunSettings, settings); // Code coverage provider CodeCoverageProvider coverage = new WebCodeCoverageProvider(this); RegisterService(TestServiceFeature.CodeCoverageReporting, coverage); // Reporting provider TestReportingProvider reporting = new WebTestReportingProvider(this); RegisterService(TestServiceFeature.TestReporting, reporting); // Environment provider EnvironmentProvider environment = new WebEnvironmentProvider(this); RegisterService(TestServiceFeature.EnvironmentServices, environment); } }