31 references to UseFakeServer
Microsoft.AspNetCore.Hosting.Tests (31)
WebHostTests.AsyncDisposable.cs (1)
15.UseFakeServer()
WebHostTests.cs (30)
40using (var host = CreateBuilder().UseFakeServer().Build()) 59using (var host = CreateBuilder(config).UseFakeServer().Build()) 78using (var host = CreateBuilder(config).UseFakeServer().Build()) 98using (var host = CreateBuilder(config).UseFakeServer().Build()) 110using (var host = CreateBuilder().UseFakeServer().PreferHostingUrls(true).Build()) 129using (var host = CreateBuilder(config).UseFakeServer().PreferHostingUrls(true).Build()) 140.UseFakeServer() 159.UseFakeServer() 311.UseFakeServer() 373.UseFakeServer() 406.UseFakeServer() 427.UseFakeServer() 463.UseFakeServer() 487.UseFakeServer() 524.UseFakeServer() 548.UseFakeServer() 576.UseFakeServer() 629.UseFakeServer() 672.UseFakeServer() 708.UseFakeServer() 731.UseFakeServer() 740using (var host = CreateBuilder().UseFakeServer().ConfigureServices(services => services.AddOptions()).Build()) 752.UseFakeServer() 799using (var host = CreateBuilder().UseFakeServer().Build()) 822using (var host = CreateBuilder(config).UseFakeServer().Build()) 845using (var host = CreateBuilder(config).UseFakeServer().Build()) 862using (var host = CreateBuilder().UseFakeServer().Build()) 925.UseFakeServer() 987.UseFakeServer() 1091.UseFakeServer()