81 instantiations of TestServer
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.TestHost.Tests (78)
1095 references to TestServer
Diagnostics.EFCore.FunctionalTests (17)
Diagnostics.FunctionalTests (1)
Microsoft.AspNetCore.Authentication.Negotiate.Test (49)
NegotiateHandlerTests.cs (30)
27var server = host.GetTestServer();
37var server = host.GetTestServer();
47var server = host.GetTestServer();
57var server = host.GetTestServer();
68var server = host.GetTestServer();
80var server = host.GetTestServer();
90var server = host.GetTestServer();
102var server = host.GetTestServer();
114var server = host.GetTestServer();
125var server = host.GetTestServer();
136var server = host.GetTestServer();
148var server = host.GetTestServer();
175var server = host.GetTestServer();
201var server = host.GetTestServer();
223var server = host.GetTestServer();
235var server = host.GetTestServer();
247var server = host.GetTestServer();
284var server = host.GetTestServer();
297var server = host.GetTestServer();
308var server = host.GetTestServer();
319var server = host.GetTestServer();
325private static async Task AuthenticateAndRetrieveRBACClaims(TestServer server, TestConnection testConnection)
333private static async Task KerberosAuth(TestServer server, TestConnection testConnection)
340private static async Task KerberosStage1And2Auth(TestServer server, TestConnection testConnection)
346private static async Task KerberosStage1Auth(TestServer server, TestConnection testConnection)
353private static async Task KerberosStage2Auth(TestServer server, TestConnection testConnection)
360private static async Task NtlmStage1And2Auth(TestServer server, TestConnection testConnection)
366private static async Task NtlmStage1Auth(TestServer server, TestConnection testConnection)
373private static async Task NtlmStage2Auth(TestServer server, TestConnection testConnection)
480private static Task<HttpContext> SendAsync(TestServer server, string path, TestConnection connection, string authorizationHeader = null, bool http2 = false)
Microsoft.AspNetCore.Authentication.Test (399)
OpenIdConnect\OpenIdConnectEventTests.cs (43)
43var server = CreateServer(events, AppWritePath);
65var server = CreateServer(events, AppWritePath);
89var server = CreateServer(events, AppNotImpl);
111var server = CreateServer(events, AppWritePath);
134var server = CreateServer(events, AppWritePath);
160var server = CreateServer(events, AppNotImpl);
196var server = CreateServer(events, AppNotImpl);
219var server = CreateServer(events, AppWritePath);
243var server = CreateServer(events, AppWritePath);
270var server = CreateServer(events, AppNotImpl);
300var server = CreateServer(events, AppNotImpl);
324var server = CreateServer(events, AppWritePath);
349var server = CreateServer(events, AppWritePath);
377var server = CreateServer(events, AppNotImpl);
408var server = CreateServer(events, AppNotImpl);
432var server = CreateServer(events, AppWritePath);
457var server = CreateServer(events, AppWritePath);
485var server = CreateServer(events, AppNotImpl);
516var server = CreateServer(events, AppNotImpl);
541var server = CreateServer(events, AppWritePath);
567var server = CreateServer(events, AppWritePath);
596var server = CreateServer(events, AppNotImpl);
628var server = CreateServer(events, AppNotImpl);
659var server = CreateServer(events, AppWritePath);
691var server = CreateServer(events, AppWritePath);
726var server = CreateServer(events, AppNotImpl);
774var server = CreateServer(events, AppNotImpl);
796var server = CreateServer(events, AppWritePath);
820var server = CreateServer(events, AppNotImpl);
857var server = CreateServer(events, AppWritePath);
891var server = CreateServer(events, AppNotImpl);
917var server = CreateServer(events, AppWritePath);
944var server = CreateServer(events, AppNotImpl);
960var server = CreateServer(events,
987var server = CreateServer(events,
1008var server = CreateServer(events, AppNotImpl);
1034var server = CreateServer(events, AppNotImpl);
1056var server = CreateServer(events, context =>
1077var server = CreateServer(events, AppNotImpl);
1100var server = CreateServer(events, AppNotImpl);
1122var server = CreateServer(events,
1264private TestServer CreateServer(OpenIdConnectEvents events, RequestDelegate appCode)
1308private Task<HttpResponseMessage> PostAsync(TestServer server, string path, string form)
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (43)
43var server = CreateServer(events, AppWritePath);
65var server = CreateServer(events, AppWritePath);
89var server = CreateServer(events, AppNotImpl);
111var server = CreateServer(events, AppWritePath);
134var server = CreateServer(events, AppWritePath);
160var server = CreateServer(events, AppNotImpl);
196var server = CreateServer(events, AppNotImpl);
219var server = CreateServer(events, AppWritePath);
243var server = CreateServer(events, AppWritePath);
270var server = CreateServer(events, AppNotImpl);
300var server = CreateServer(events, AppNotImpl);
324var server = CreateServer(events, AppWritePath);
349var server = CreateServer(events, AppWritePath);
377var server = CreateServer(events, AppNotImpl);
408var server = CreateServer(events, AppNotImpl);
432var server = CreateServer(events, AppWritePath);
457var server = CreateServer(events, AppWritePath);
485var server = CreateServer(events, AppNotImpl);
516var server = CreateServer(events, AppNotImpl);
541var server = CreateServer(events, AppWritePath);
567var server = CreateServer(events, AppWritePath);
596var server = CreateServer(events, AppNotImpl);
628var server = CreateServer(events, AppNotImpl);
659var server = CreateServer(events, AppWritePath);
691var server = CreateServer(events, AppWritePath);
726var server = CreateServer(events, AppNotImpl);
774var server = CreateServer(events, AppNotImpl);
796var server = CreateServer(events, AppWritePath);
820var server = CreateServer(events, AppNotImpl);
857var server = CreateServer(events, AppWritePath);
891var server = CreateServer(events, AppNotImpl);
917var server = CreateServer(events, AppWritePath);
944var server = CreateServer(events, AppNotImpl);
960var server = CreateServer(events,
987var server = CreateServer(events,
1008var server = CreateServer(events, AppNotImpl);
1034var server = CreateServer(events, AppNotImpl);
1056var server = CreateServer(events, context =>
1077var server = CreateServer(events, AppNotImpl);
1100var server = CreateServer(events, AppNotImpl);
1122var server = CreateServer(events,
1264private TestServer CreateServer(OpenIdConnectEvents events, RequestDelegate appCode)
1306private Task<HttpResponseMessage> PostAsync(TestServer server, string path, string form)
Microsoft.AspNetCore.CookiePolicy.Test (9)
Microsoft.AspNetCore.Cors.Test (10)
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (31)
Microsoft.AspNetCore.Diagnostics.Tests (44)
Microsoft.AspNetCore.HeaderPropagation.Tests (4)
Microsoft.AspNetCore.HostFiltering.Tests (5)
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Microsoft.AspNetCore.HttpLogging.Tests (11)
Microsoft.AspNetCore.HttpOverrides.Tests (40)
Microsoft.AspNetCore.HttpsPolicy.Tests (18)
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Microsoft.AspNetCore.Identity.InMemory.Test (10)
FunctionalTest.cs (10)
32var server = await CreateServer(services => services.Configure<IdentityOptions>(options =>
49var server = await CreateServer(null, null, null, testCore: true);
72var server = await CreateServer(services =>
120var server = await CreateServer(services =>
169var server = await CreateServer(services =>
222var server = await CreateServer(services => services.AddSingleton<TimeProvider>(timeProvider), testCore: testCore);
251var server = await CreateServer(services => services.AddSingleton<TimeProvider>(timeProvider), testCore: testCore);
291private async Task<TestServer> CreateServer(Action<IServiceCollection> configureServices = null, Func<HttpContext, Task> testpath = null, Uri baseAddress = null, bool testCore = false)
400var server = host.GetTestServer();
428private static async Task<Transaction> SendAsync(TestServer server, string uri, string cookieHeader = null, bool ajaxRequest = false)
Microsoft.AspNetCore.Localization.FunctionalTests (2)
Microsoft.AspNetCore.Localization.Routing.Tests (3)
Microsoft.AspNetCore.Localization.Tests (19)
Microsoft.AspNetCore.MiddlewareAnalysis.Tests (1)
Microsoft.AspNetCore.Mvc.FunctionalTests (2)
Microsoft.AspNetCore.Mvc.Testing (14)
Microsoft.AspNetCore.OutputCaching.Tests (43)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.ResponseCaching.Tests (37)
Microsoft.AspNetCore.ResponseCompression.Tests (17)
Microsoft.AspNetCore.Rewrite.Tests (71)
Microsoft.AspNetCore.Routing.FunctionalTests (35)
Microsoft.AspNetCore.Server.IISIntegration.Tests (12)
Microsoft.AspNetCore.Session.Tests (21)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.StaticFiles.Tests (73)
Microsoft.AspNetCore.TestHost (10)
Microsoft.AspNetCore.TestHost.Tests (73)
Microsoft.AspNetCore.WebSockets.Tests (1)