396 references to HostingModel
IIS.FunctionalTests (43)
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
68if (variant.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
206return Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (5)
49.WithHostingModels(HostingModel.InProcess); 100if (variant.HostingModel == HostingModel.InProcess) 241var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 256var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 271var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (10)
44var parameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 55var parameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 74[InlineData(HostingModel.OutOfProcess)] 75[InlineData(HostingModel.InProcess)] 76public async Task FailsAndLogsEventLogForMixedHostingModel(HostingModel firstApp) 83var otherApp = firstApp == HostingModel.InProcess ? HostingModel.OutOfProcess : HostingModel.InProcess; 100private void SetHostingModel(string directory, HostingModel model)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketInProcessTests.cs (1)
31Fixture.DeploymentParameters.HostingModel = HostingModel.InProcess;
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketOutOfProcessTests.cs (1)
31Fixture.DeploymentParameters.HostingModel = HostingModel.OutOfProcess;
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (2)
58if (Fixture.DeploymentParameters.HostingModel == HostingModel.OutOfProcess) 123var expected = Fixture.DeploymentParameters.HostingModel == HostingModel.InProcess
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\ApplicationInitializationTests.cs (8)
41[InlineData(HostingModel.InProcess, true)] 42[InlineData(HostingModel.OutOfProcess, true)] 43[InlineData(HostingModel.InProcess, false)] 44[InlineData(HostingModel.OutOfProcess, false)] 45public async Task ApplicationPreloadStartsApp(HostingModel hostingModel, bool delayShutdown) 81[InlineData(HostingModel.InProcess)] 82[InlineData(HostingModel.OutOfProcess)] 83public async Task ApplicationInitializationPageIsRequested(HostingModel hostingModel)
IIS.LongTests (74)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (26)
81var deploymentResult = await DeployApp(HostingModel.InProcess); 93var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 104var deploymentResult = await DeployApp(HostingModel.InProcess); 122var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 139var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.InProcess); 158var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.OutOfProcess); 176var deploymentResult = await DeployApp(HostingModel.InProcess); 340var deploymentResult = await AssertStarts(HostingModel.InProcess); 351var deploymentResult = await AssertStarts(HostingModel.OutOfProcess); 366var deploymentResult = await DeployApp(HostingModel.InProcess); 381var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 397await AppOfflineAddAndRemovedStress(HostingModel.InProcess); 404await AppOfflineAddAndRemovedStress(HostingModel.OutOfProcess); 407private async Task AppOfflineAddAndRemovedStress(HostingModel hostingModel) 441if (hostingModel != HostingModel.InProcess) 451var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 467var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 484var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 504var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 525var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 544var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 566await ConfigurationTouchedStress(HostingModel.InProcess); 569private async Task ConfigurationTouchedStress(HostingModel hostingModel) 597if (hostingModel != HostingModel.InProcess) 610var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 638var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (34)
938[InlineData(HostingModel.InProcess)] 939[InlineData(HostingModel.OutOfProcess)] 940public async Task EnvironmentVariableForLauncherPathIsPreferred(HostingModel hostingModel) 954[InlineData(HostingModel.InProcess)] 955[InlineData(HostingModel.OutOfProcess)] 956public async Task EnvironmentVariableForLauncherArgsIsPreferred(HostingModel hostingModel) 1091var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1110var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1161var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1180var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1190public Task AuthHeaderEnvironmentVariableRemoved_InProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.InProcess); 1193public Task AuthHeaderEnvironmentVariableRemoved_OutOfProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.OutOfProcess); 1195private async Task AuthHeaderEnvironmentVariableRemoved(HostingModel hostingModel) 1206public Task WebConfigOverridesGlobalEnvironmentVariables_InProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.InProcess); 1211public Task WebConfigOverridesGlobalEnvironmentVariables_OutOfProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.OutOfProcess); 1213private async Task WebConfigOverridesGlobalEnvironmentVariables(HostingModel hostingModel) 1224public Task WebConfigAppendsHostingStartup_InProcess() => WebConfigAppendsHostingStartup(HostingModel.InProcess); 1229public Task WebConfigAppendsHostingStartup_OutOfProcess() => WebConfigAppendsHostingStartup(HostingModel.OutOfProcess); 1231private async Task WebConfigAppendsHostingStartup(HostingModel hostingModel) 1235if (hostingModel == HostingModel.InProcess) 1248public Task WebConfigOverridesHostingStartup_InProcess() => WebConfigOverridesHostingStartup(HostingModel.InProcess); 1253public Task WebConfigOverridesHostingStartup_OutOfProcess() => WebConfigOverridesHostingStartup(HostingModel.OutOfProcess); 1255private async Task WebConfigOverridesHostingStartup(HostingModel hostingModel) 1266public Task WebConfigExpandsVariables_InProcess() => WebConfigExpandsVariables(HostingModel.InProcess); 1271public Task WebConfigExpandsVariables_OutOfProcess() => WebConfigExpandsVariables(HostingModel.OutOfProcess); 1273private async Task WebConfigExpandsVariables(HostingModel hostingModel) 1285[InlineData(HostingModel.InProcess)] 1286[InlineData(HostingModel.OutOfProcess)] 1287public async Task PreferEnvironmentVariablesOverWebConfigWhenConfigured(HostingModel hostingModel) 1307var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1328var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1353var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1402var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1431var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
IIS.NewHandler.FunctionalTests (74)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (26)
81var deploymentResult = await DeployApp(HostingModel.InProcess); 93var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 104var deploymentResult = await DeployApp(HostingModel.InProcess); 122var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 139var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.InProcess); 158var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.OutOfProcess); 176var deploymentResult = await DeployApp(HostingModel.InProcess); 340var deploymentResult = await AssertStarts(HostingModel.InProcess); 351var deploymentResult = await AssertStarts(HostingModel.OutOfProcess); 366var deploymentResult = await DeployApp(HostingModel.InProcess); 381var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 397await AppOfflineAddAndRemovedStress(HostingModel.InProcess); 404await AppOfflineAddAndRemovedStress(HostingModel.OutOfProcess); 407private async Task AppOfflineAddAndRemovedStress(HostingModel hostingModel) 441if (hostingModel != HostingModel.InProcess) 451var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 467var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 484var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 504var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 525var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 544var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 566await ConfigurationTouchedStress(HostingModel.InProcess); 569private async Task ConfigurationTouchedStress(HostingModel hostingModel) 597if (hostingModel != HostingModel.InProcess) 610var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 638var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (34)
938[InlineData(HostingModel.InProcess)] 939[InlineData(HostingModel.OutOfProcess)] 940public async Task EnvironmentVariableForLauncherPathIsPreferred(HostingModel hostingModel) 954[InlineData(HostingModel.InProcess)] 955[InlineData(HostingModel.OutOfProcess)] 956public async Task EnvironmentVariableForLauncherArgsIsPreferred(HostingModel hostingModel) 1091var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1110var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1161var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1180var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1190public Task AuthHeaderEnvironmentVariableRemoved_InProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.InProcess); 1193public Task AuthHeaderEnvironmentVariableRemoved_OutOfProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.OutOfProcess); 1195private async Task AuthHeaderEnvironmentVariableRemoved(HostingModel hostingModel) 1206public Task WebConfigOverridesGlobalEnvironmentVariables_InProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.InProcess); 1211public Task WebConfigOverridesGlobalEnvironmentVariables_OutOfProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.OutOfProcess); 1213private async Task WebConfigOverridesGlobalEnvironmentVariables(HostingModel hostingModel) 1224public Task WebConfigAppendsHostingStartup_InProcess() => WebConfigAppendsHostingStartup(HostingModel.InProcess); 1229public Task WebConfigAppendsHostingStartup_OutOfProcess() => WebConfigAppendsHostingStartup(HostingModel.OutOfProcess); 1231private async Task WebConfigAppendsHostingStartup(HostingModel hostingModel) 1235if (hostingModel == HostingModel.InProcess) 1248public Task WebConfigOverridesHostingStartup_InProcess() => WebConfigOverridesHostingStartup(HostingModel.InProcess); 1253public Task WebConfigOverridesHostingStartup_OutOfProcess() => WebConfigOverridesHostingStartup(HostingModel.OutOfProcess); 1255private async Task WebConfigOverridesHostingStartup(HostingModel hostingModel) 1266public Task WebConfigExpandsVariables_InProcess() => WebConfigExpandsVariables(HostingModel.InProcess); 1271public Task WebConfigExpandsVariables_OutOfProcess() => WebConfigExpandsVariables(HostingModel.OutOfProcess); 1273private async Task WebConfigExpandsVariables(HostingModel hostingModel) 1285[InlineData(HostingModel.InProcess)] 1286[InlineData(HostingModel.OutOfProcess)] 1287public async Task PreferEnvironmentVariablesOverWebConfigWhenConfigured(HostingModel hostingModel) 1307var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1328var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1353var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1402var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1431var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
IIS.NewShim.FunctionalTests (74)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (26)
81var deploymentResult = await DeployApp(HostingModel.InProcess); 93var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 104var deploymentResult = await DeployApp(HostingModel.InProcess); 122var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 139var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.InProcess); 158var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.OutOfProcess); 176var deploymentResult = await DeployApp(HostingModel.InProcess); 340var deploymentResult = await AssertStarts(HostingModel.InProcess); 351var deploymentResult = await AssertStarts(HostingModel.OutOfProcess); 366var deploymentResult = await DeployApp(HostingModel.InProcess); 381var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 397await AppOfflineAddAndRemovedStress(HostingModel.InProcess); 404await AppOfflineAddAndRemovedStress(HostingModel.OutOfProcess); 407private async Task AppOfflineAddAndRemovedStress(HostingModel hostingModel) 441if (hostingModel != HostingModel.InProcess) 451var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 467var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 484var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 504var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 525var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 544var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 566await ConfigurationTouchedStress(HostingModel.InProcess); 569private async Task ConfigurationTouchedStress(HostingModel hostingModel) 597if (hostingModel != HostingModel.InProcess) 610var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 638var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (34)
938[InlineData(HostingModel.InProcess)] 939[InlineData(HostingModel.OutOfProcess)] 940public async Task EnvironmentVariableForLauncherPathIsPreferred(HostingModel hostingModel) 954[InlineData(HostingModel.InProcess)] 955[InlineData(HostingModel.OutOfProcess)] 956public async Task EnvironmentVariableForLauncherArgsIsPreferred(HostingModel hostingModel) 1091var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1110var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1161var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1180var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1190public Task AuthHeaderEnvironmentVariableRemoved_InProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.InProcess); 1193public Task AuthHeaderEnvironmentVariableRemoved_OutOfProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.OutOfProcess); 1195private async Task AuthHeaderEnvironmentVariableRemoved(HostingModel hostingModel) 1206public Task WebConfigOverridesGlobalEnvironmentVariables_InProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.InProcess); 1211public Task WebConfigOverridesGlobalEnvironmentVariables_OutOfProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.OutOfProcess); 1213private async Task WebConfigOverridesGlobalEnvironmentVariables(HostingModel hostingModel) 1224public Task WebConfigAppendsHostingStartup_InProcess() => WebConfigAppendsHostingStartup(HostingModel.InProcess); 1229public Task WebConfigAppendsHostingStartup_OutOfProcess() => WebConfigAppendsHostingStartup(HostingModel.OutOfProcess); 1231private async Task WebConfigAppendsHostingStartup(HostingModel hostingModel) 1235if (hostingModel == HostingModel.InProcess) 1248public Task WebConfigOverridesHostingStartup_InProcess() => WebConfigOverridesHostingStartup(HostingModel.InProcess); 1253public Task WebConfigOverridesHostingStartup_OutOfProcess() => WebConfigOverridesHostingStartup(HostingModel.OutOfProcess); 1255private async Task WebConfigOverridesHostingStartup(HostingModel hostingModel) 1266public Task WebConfigExpandsVariables_InProcess() => WebConfigExpandsVariables(HostingModel.InProcess); 1271public Task WebConfigExpandsVariables_OutOfProcess() => WebConfigExpandsVariables(HostingModel.OutOfProcess); 1273private async Task WebConfigExpandsVariables(HostingModel hostingModel) 1285[InlineData(HostingModel.InProcess)] 1286[InlineData(HostingModel.OutOfProcess)] 1287public async Task PreferEnvironmentVariablesOverWebConfigWhenConfigured(HostingModel hostingModel) 1307var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1328var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1353var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1402var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1431var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
IIS.ShadowCopy.Tests (14)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
IISExpress.FunctionalTests (102)
InProcess\AppOfflineIISExpressTests.cs (1)
28var deploymentResult = await DeployApp(HostingModel.InProcess);
OutOfProcess\MultipleAppTests.cs (1)
37var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: IntegrationTesting.HostingModel.OutOfProcess);
src\Servers\IIS\IIS\test\Common.FunctionalTests\BasicAuthTests.cs (1)
68if (variant.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\GlobalVersionTests.cs (1)
206return Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (2)
140if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess) 181if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (2)
170if (deploymentResult.DeploymentParameters.HostingModel != HostingModel.InProcess) 201if (deploymentResult.DeploymentParameters.HostingModel == HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISFunctionalTestBase.cs (3)
30public async Task<IISDeploymentResult> DeployApp(HostingModel hostingModel = HostingModel.InProcess) 57public async Task<IISDeploymentResult> AssertStarts(HostingModel hostingModel)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
44HostingModel = HostingModel.InProcess,
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\PublishedSitesFixture.cs (6)
29public IISDeploymentParameters GetBaseDeploymentParameters(HostingModel hostingModel = HostingModel.InProcess) 31var publisher = hostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 37var publisher = variant.HostingModel == HostingModel.InProcess ? InProcessTestSite : OutOfProcessTestSite; 41public IISDeploymentParameters GetBaseDeploymentParameters(ApplicationPublisher publisher, HostingModel hostingModel = HostingModel.InProcess)
src\Servers\IIS\IIS\test\Common.FunctionalTests\LoggingTests.cs (5)
49.WithHostingModels(HostingModel.InProcess); 100if (variant.HostingModel == HostingModel.InProcess) 241var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 256var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 271var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
src\Servers\IIS\IIS\test\Common.FunctionalTests\MultiApplicationTests.cs (10)
44var parameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 55var parameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 74[InlineData(HostingModel.OutOfProcess)] 75[InlineData(HostingModel.InProcess)] 76public async Task FailsAndLogsEventLogForMixedHostingModel(HostingModel firstApp) 83var otherApp = firstApp == HostingModel.InProcess ? HostingModel.OutOfProcess : HostingModel.InProcess; 100private void SetHostingModel(string directory, HostingModel model)
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketInProcessTests.cs (1)
31Fixture.DeploymentParameters.HostingModel = HostingModel.InProcess;
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketOutOfProcessTests.cs (1)
31Fixture.DeploymentParameters.HostingModel = HostingModel.OutOfProcess;
src\Servers\IIS\IIS\test\Common.FunctionalTests\WebSocketTests.cs (2)
58if (Fixture.DeploymentParameters.HostingModel == HostingModel.OutOfProcess) 123var expected = Fixture.DeploymentParameters.HostingModel == HostingModel.InProcess
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (26)
81var deploymentResult = await DeployApp(HostingModel.InProcess); 93var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 104var deploymentResult = await DeployApp(HostingModel.InProcess); 122var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 139var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.InProcess); 158var deploymentParameters = Fixture.GetBaseDeploymentParameters(hostingModel: HostingModel.OutOfProcess); 176var deploymentResult = await DeployApp(HostingModel.InProcess); 340var deploymentResult = await AssertStarts(HostingModel.InProcess); 351var deploymentResult = await AssertStarts(HostingModel.OutOfProcess); 366var deploymentResult = await DeployApp(HostingModel.InProcess); 381var deploymentResult = await DeployApp(HostingModel.OutOfProcess); 397await AppOfflineAddAndRemovedStress(HostingModel.InProcess); 404await AppOfflineAddAndRemovedStress(HostingModel.OutOfProcess); 407private async Task AppOfflineAddAndRemovedStress(HostingModel hostingModel) 441if (hostingModel != HostingModel.InProcess) 451var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 467var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 484var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 504var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 525var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 544var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 566await ConfigurationTouchedStress(HostingModel.InProcess); 569private async Task ConfigurationTouchedStress(HostingModel hostingModel) 597if (hostingModel != HostingModel.InProcess) 610var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 638var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess);
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (34)
938[InlineData(HostingModel.InProcess)] 939[InlineData(HostingModel.OutOfProcess)] 940public async Task EnvironmentVariableForLauncherPathIsPreferred(HostingModel hostingModel) 954[InlineData(HostingModel.InProcess)] 955[InlineData(HostingModel.OutOfProcess)] 956public async Task EnvironmentVariableForLauncherArgsIsPreferred(HostingModel hostingModel) 1091var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1110var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1161var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1180var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1190public Task AuthHeaderEnvironmentVariableRemoved_InProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.InProcess); 1193public Task AuthHeaderEnvironmentVariableRemoved_OutOfProcess() => AuthHeaderEnvironmentVariableRemoved(HostingModel.OutOfProcess); 1195private async Task AuthHeaderEnvironmentVariableRemoved(HostingModel hostingModel) 1206public Task WebConfigOverridesGlobalEnvironmentVariables_InProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.InProcess); 1211public Task WebConfigOverridesGlobalEnvironmentVariables_OutOfProcess() => WebConfigOverridesGlobalEnvironmentVariables(HostingModel.OutOfProcess); 1213private async Task WebConfigOverridesGlobalEnvironmentVariables(HostingModel hostingModel) 1224public Task WebConfigAppendsHostingStartup_InProcess() => WebConfigAppendsHostingStartup(HostingModel.InProcess); 1229public Task WebConfigAppendsHostingStartup_OutOfProcess() => WebConfigAppendsHostingStartup(HostingModel.OutOfProcess); 1231private async Task WebConfigAppendsHostingStartup(HostingModel hostingModel) 1235if (hostingModel == HostingModel.InProcess) 1248public Task WebConfigOverridesHostingStartup_InProcess() => WebConfigOverridesHostingStartup(HostingModel.InProcess); 1253public Task WebConfigOverridesHostingStartup_OutOfProcess() => WebConfigOverridesHostingStartup(HostingModel.OutOfProcess); 1255private async Task WebConfigOverridesHostingStartup(HostingModel hostingModel) 1266public Task WebConfigExpandsVariables_InProcess() => WebConfigExpandsVariables(HostingModel.InProcess); 1271public Task WebConfigExpandsVariables_OutOfProcess() => WebConfigExpandsVariables(HostingModel.OutOfProcess); 1273private async Task WebConfigExpandsVariables(HostingModel hostingModel) 1285[InlineData(HostingModel.InProcess)] 1286[InlineData(HostingModel.OutOfProcess)] 1287public async Task PreferEnvironmentVariablesOverWebConfigWhenConfigured(HostingModel hostingModel) 1307var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.InProcess); 1328var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1353var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1402var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess); 1431var deploymentParameters = Fixture.GetBaseDeploymentParameters(HostingModel.OutOfProcess);
UpgradeFeatureDetectionTests.cs (5)
32"Disabled", HostingModel.InProcess); 40_isWebsocketsSupported, HostingModel.InProcess); 48"Disabled", HostingModel.OutOfProcess); 56_isWebsocketsSupported, HostingModel.OutOfProcess); 59private async Task UpgradeFeatureDetectionDeployer(bool disableWebSocket, string expected, HostingModel hostingModel)
Microsoft.AspNetCore.FunctionalTests (1)
WebHostFunctionalTests.cs (1)
157HostingModel = HostingModel.InProcess
Microsoft.AspNetCore.Server.IntegrationTesting (13)
Common\DeploymentParameters.cs (1)
159public HostingModel HostingModel { get; set; }
TestMatrix.cs (9)
17public IList<HostingModel> HostingModels { get; set; } = new List<HostingModel>(); 67public TestMatrix WithHostingModels(params HostingModel[] models) 75HostingModels.Add(HostingModel.OutOfProcess); 76HostingModels.Add(HostingModel.InProcess); 84public TestMatrix WithAncmV2InProcess() => WithHostingModels(HostingModel.InProcess); 114HostingModels.Add(HostingModel.OutOfProcess); 269foreach (var hostingModel in HostingModels) 272if (hostingModel == HostingModel.InProcess)
TestVariant.cs (3)
18public HostingModel HostingModel { get; set; } 38info.AddValue(nameof(HostingModel), HostingModel, typeof(HostingModel)); 48HostingModel = info.GetValue<HostingModel>(nameof(HostingModel));
ServerComparison.FunctionalTests (1)
HelloWorldTest.cs (1)
98if (variant.HostingModel == HostingModel.OutOfProcess)