2 instantiations of TestVariant
Microsoft.AspNetCore.Server.IntegrationTesting (2)
TestMatrix.cs (2)
236variants.Add(new TestVariant() 286variants.Add(new TestVariant()
83 references to TestVariant
IIS.FunctionalTests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\AspNetCorePortTests.cs (4)
55public async Task EnvVarInWebConfig_Valid(TestVariant variant) 71public async Task EnvVarInWebConfig_Empty(TestVariant variant) 87public async Task EnvVarInWebConfig_Invalid(TestVariant variant, string port) 103public async Task ShutdownMultipleTimesWorks(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
48public async Task BasicAuthTest(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (3)
53public Task HttpsNoClientCert_NoClientCert(TestVariant variant) 61public Task HttpsClientCert_GetCertInformation(TestVariant variant) 66private async Task ClientCertTest(TestVariant variant, bool sendClientCert)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (11)
53public async Task CheckStdoutLoggingToFile(TestVariant variant) 60public async Task CheckStdoutErrLoggingToFile(TestVariant variant) 65private async Task CheckStdoutToFile(TestVariant variant, string path) 86public async Task InvalidFilePathForLogs_ServerStillRuns(TestVariant variant) 110public async Task StartupMessagesAreLoggedIntoDebugLogFile(TestVariant variant) 125public async Task StartupMessagesAreLoggedIntoDefaultDebugLogFile(TestVariant variant) 140public async Task StartupMessagesAreLoggedIntoDefaultDebugLogFileWhenEnabledWithEnvVar(TestVariant variant) 156public async Task StartupMessagesLogFileSwitchedWhenLogFilePresentInWebConfig(TestVariant variant) 187public async Task DebugLogsAreWrittenToEventLog(TestVariant variant) 199public async Task CheckUTF8File(TestVariant variant) 224public async Task OnlyOneFileCreatedWithProcessStartTime(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
45public async Task WindowsAuthTest(TestVariant variant)
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
195public async Task HelloWorld(TestVariant variant)
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
195public async Task HelloWorld(TestVariant variant)
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
195public async Task HelloWorld(TestVariant variant)
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
IISExpress.FunctionalTests (23)
OutOfProcess\NtlmAuthentationTest.cs (1)
37public async Task NtlmAuthentication(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\AspNetCorePortTests.cs (4)
55public async Task EnvVarInWebConfig_Valid(TestVariant variant) 71public async Task EnvVarInWebConfig_Empty(TestVariant variant) 87public async Task EnvVarInWebConfig_Invalid(TestVariant variant, string port) 103public async Task ShutdownMultipleTimesWorks(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
48public async Task BasicAuthTest(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (3)
53public Task HttpsNoClientCert_NoClientCert(TestVariant variant) 61public Task HttpsClientCert_GetCertInformation(TestVariant variant) 66private async Task ClientCertTest(TestVariant variant, bool sendClientCert)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (1)
35public IISDeploymentParameters GetBaseDeploymentParameters(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (11)
53public async Task CheckStdoutLoggingToFile(TestVariant variant) 60public async Task CheckStdoutErrLoggingToFile(TestVariant variant) 65private async Task CheckStdoutToFile(TestVariant variant, string path) 86public async Task InvalidFilePathForLogs_ServerStillRuns(TestVariant variant) 110public async Task StartupMessagesAreLoggedIntoDebugLogFile(TestVariant variant) 125public async Task StartupMessagesAreLoggedIntoDefaultDebugLogFile(TestVariant variant) 140public async Task StartupMessagesAreLoggedIntoDefaultDebugLogFileWhenEnabledWithEnvVar(TestVariant variant) 156public async Task StartupMessagesLogFileSwitchedWhenLogFilePresentInWebConfig(TestVariant variant) 187public async Task DebugLogsAreWrittenToEventLog(TestVariant variant) 199public async Task CheckUTF8File(TestVariant variant) 224public async Task OnlyOneFileCreatedWithProcessStartTime(TestVariant variant)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WindowsAuthTests.cs (1)
45public async Task WindowsAuthTest(TestVariant variant)
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (1)
195public async Task HelloWorld(TestVariant variant)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
WebHostBuilderTests.cs (1)
20public async Task InjectedStartup_DefaultApplicationNameIsEntryAssembly(TestVariant variant)
Microsoft.AspNetCore.Server.IntegrationTesting (15)
Common\DeploymentParameters.cs (1)
25public DeploymentParameters(TestVariant variant)
TestMatrix.cs (14)
19private IList<Tuple<Func<TestVariant, bool>, string>> Skips { get; } = new List<Tuple<Func<TestVariant, bool>, string>>(); 86public TestMatrix Skip(string message, Func<TestVariant, bool> check) 88Skips.Add(new Tuple<Func<TestVariant, bool>, string>(check, message)); 92private IEnumerable<TestVariant> Build() 117var variants = new List<TestVariant>(); 133private void VaryByServer(List<TestVariant> variants) 166private void VaryByTfm(List<TestVariant> variants, ServerType server, string skip) 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) 267private void VaryByAncmHostingModel(IList<TestVariant> variants, ServerType server, string tfm, ApplicationType type, RuntimeArchitecture arch, string skip) 298private void CheckForSkips(List<TestVariant> variants) 300foreach (var variant in variants) 321foreach (var v in Build())
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentParameters.cs (1)
14public IISDeploymentParameters(TestVariant variant)
ServerComparison.FunctionalTests (15)
HelloWorldTest.cs (2)
35public async Task HelloWorld(TestVariant variant) 124public async Task ApplicationException(TestVariant variant)
NtlmAuthenticationTest.cs (1)
32public async Task NtlmAuthentication(TestVariant variant)
ResponseCompressionTests.cs (5)
42public Task ResponseCompression_NoCompression(TestVariant variant) 54public Task ResponseCompression_HostCompression(TestVariant variant) 66public Task ResponseCompression_AppCompression(TestVariant variant) 78public Task ResponseCompression_AppAndHostCompression(TestVariant variant) 83private async Task ResponseCompression(TestVariant variant,
ResponseTests.cs (7)
34public Task ResponseFormats_ContentLength(TestVariant variant) 41public Task ResponseFormats_Chunked(TestVariant variant) 48public Task ResponseFormats_ManuallyChunk(TestVariant variant) 60public Task ResponseFormats_Http10ConnectionClose(TestVariant variant) 67public Task ResponseFormats_Http11ConnectionClose(TestVariant variant) 74public Task ResponseFormats_ManuallyChunkAndClose(TestVariant variant) 79private async Task ResponseFormats(TestVariant variant, Func<HttpClient, ILogger, Task> scenario, [CallerMemberName] string testName = null)