218 references to ServerType
IIS.FunctionalTests (14)
IIS.LongTests (16)
IIS.Microbenchmarks (1)
IIS.NewHandler.FunctionalTests (16)
IIS.NewShim.FunctionalTests (16)
IIS.ShadowCopy.Tests (11)
IISExpress.FunctionalTests (19)
Microsoft.AspNetCore.FunctionalTests (2)
Microsoft.AspNetCore.Hosting.FunctionalTests (3)
Microsoft.AspNetCore.Server.HttpSys.NonHelixTests (1)
Microsoft.AspNetCore.Server.IntegrationTesting (50)
TestMatrix.cs (20)
11public IList<ServerType> Servers { get; set; } = new List<ServerType>();
21public static TestMatrix ForServers(params ServerType[] types)
135foreach (var server in Servers)
143private static string SkipIfServerIsNotSupportedOnThisOS(ServerType server)
148case ServerType.IIS:
149case ServerType.IISExpress:
150case ServerType.HttpSys:
153case ServerType.Kestrel:
155case ServerType.Nginx:
166private void VaryByTfm(List<TestVariant> variants, ServerType server, string skip)
182private static bool CheckTfmIsSupportedForServer(string tfm, ServerType server)
185return !(Tfm.Matches(Tfm.Net462, tfm) && ServerType.Nginx == server);
198private void VaryByApplicationType(List<TestVariant> variants, ServerType server, string tfm, string skip)
220private void VaryByArchitecture(List<TestVariant> variants, ServerType server, string tfm, string skip, ApplicationType type)
230if (server == ServerType.IISExpress || server == ServerType.IIS)
261private static bool IsArchitectureSupportedOnServer(RuntimeArchitecture arch, ServerType server)
264return !(arch == RuntimeArchitecture.x86 && ServerType.Nginx == server);
267private void VaryByAncmHostingModel(IList<TestVariant> variants, ServerType server, string tfm, ApplicationType type, RuntimeArchitecture arch, string skip)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (6)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (12)
Microsoft.AspNetCore.WebSockets.ConformanceTests (10)
ServerComparison.FunctionalTests (41)
ResponseCompressionTests.cs (16)
36=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.Nginx, ServerType.HttpSys)
48=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Nginx)
60=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.HttpSys) // No pass-through compression for nginx
72=> TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, ServerType.Nginx, ServerType.HttpSys)
90variant.Server == ServerType.Nginx ? LogLevel.Trace : LogLevel.Debug, // https://github.com/aspnet/ServerTests/issues/144
101if (variant.Server == ServerType.Nginx)
107else if (variant.Server == ServerType.IISExpress && !hostCompression)