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