17 references to ConfigureTestServices
Microsoft.AspNetCore.Identity.FunctionalTests (6)
ManagementTests.cs (6)
120.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices)); 157.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices)); 197.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices)); 221.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices)); 247.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices)); 281.WithWebHostBuilder(whb => whb.ConfigureTestServices(ConfigureTestServices))
Microsoft.AspNetCore.Mvc.FunctionalTests (10)
CustomValueProviderTest.cs (1)
25.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => _serviceCollection = serviceCollection));
ErrorPageTests.cs (1)
53factory = factory.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions)));
HtmlGenerationWithCultureTest.cs (1)
142.ConfigureTestServices(services => services.AddSingleton(LoggerFactory)))
JsonResultWithNewtonsoftJsonTest.cs (1)
24.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => _serviceCollection = serviceCollection))
JsonResultWithSystemTextJsonTest.cs (1)
24.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => _serviceCollection = serviceCollection))
RazorBuildTest.cs (1)
29.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions)));
RazorRuntimeCompilationHostingStartupTest.cs (1)
26.WithWebHostBuilder(b => b.ConfigureTestServices(serviceCollection => serviceCollection.Configure<MvcRazorRuntimeCompilationOptions>(ConfigureRuntimeCompilationOptions)));
TempDataInCookiesTest.cs (1)
24builder.ConfigureTestServices(serviceCollection => _serviceCollection = serviceCollection);
TestingInfrastructureTests.cs (2)
28builder.ConfigureTestServices(s => s.AddSingleton<TestService, OverridenService>()); 187builder.ConfigureTestServices(s => s.AddSingleton<GenericHostWebSite.TestGenericService, OverridenGenericService>()));
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
127.ConfigureTestServices(services => services.AddSingleton(new SimpleService { Message = "OverridesConfigureServices" }))