31 references to UseFakeServer
Microsoft.AspNetCore.Hosting.Tests (31)
WebHostTests.AsyncDisposable.cs (1)
15
.
UseFakeServer
()
WebHostTests.cs (30)
40
using (var host = CreateBuilder().
UseFakeServer
().Build())
59
using (var host = CreateBuilder(config).
UseFakeServer
().Build())
78
using (var host = CreateBuilder(config).
UseFakeServer
().Build())
98
using (var host = CreateBuilder(config).
UseFakeServer
().Build())
110
using (var host = CreateBuilder().
UseFakeServer
().PreferHostingUrls(true).Build())
129
using (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
()
740
using (var host = CreateBuilder().
UseFakeServer
().ConfigureServices(services => services.AddOptions()).Build())
752
.
UseFakeServer
()
799
using (var host = CreateBuilder().
UseFakeServer
().Build())
822
using (var host = CreateBuilder(config).
UseFakeServer
().Build())
845
using (var host = CreateBuilder(config).
UseFakeServer
().Build())
862
using (var host = CreateBuilder().
UseFakeServer
().Build())
925
.
UseFakeServer
()
987
.
UseFakeServer
()
1091
.
UseFakeServer
()