1 write to HostProcess
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISDeploymentResult.cs (1)
32
HostProcess
= hostProcess;
58 references to HostProcess
IIS.FunctionalTests (8)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
src\Servers\IIS\IIS\test\IIS.Shared.FunctionalTests\ApplicationInitializationTests.cs (1)
68
Assert.True(result.
HostProcess
.HasExited);
IIS.LongTests (9)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
715
Assert.Equal(Path.GetDirectoryName(deploymentResult.
HostProcess
.MainModule.FileName), await deploymentResult.HttpClient.GetStringAsync("/CurrentDirectory"));
1524
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-5);
IIS.NewHandler.FunctionalTests (12)
NewHandlerTests.cs (3)
31
result.
HostProcess
.Refresh();
32
var handles = result.
HostProcess
.Modules;
42
throw new XunitException($"Could not find aspnetcorev2.dll loaded in process {result.
HostProcess
.ProcessName}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
715
Assert.Equal(Path.GetDirectoryName(deploymentResult.
HostProcess
.MainModule.FileName), await deploymentResult.HttpClient.GetStringAsync("/CurrentDirectory"));
1524
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-5);
IIS.NewShim.FunctionalTests (11)
NewShimTests.cs (2)
26
var handles = result.
HostProcess
.Modules;
36
throw new XunitException($"Could not find aspnetcorev2_inprocess.dll loaded in process {result.
HostProcess
.ProcessName}");
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
715
Assert.Equal(Path.GetDirectoryName(deploymentResult.
HostProcess
.MainModule.FileName), await deploymentResult.HttpClient.GetStringAsync("/CurrentDirectory"));
1524
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-5);
IIS.ShadowCopy.Tests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
IISExpress.FunctionalTests (11)
InProcess\IISExpressShutdownTests.cs (2)
87
Assert.True(result.
HostProcess
.ExitCode == 0);
99
Assert.True(result.
HostProcess
.ExitCode == 1);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\EventLogHelpers.cs (4)
20
Assert.True(deploymentResult.
HostProcess
.HasExited);
39
Assert.True(deploymentResult.
HostProcess
.HasExited);
102
var processIdString = $"Process Id: {deploymentResult.
HostProcess
.Id}.";
105
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-10);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\Helpers.cs (3)
159
var hostProcess = deploymentResult.
HostProcess
;
199
var startTime = deploymentResult.
HostProcess
.StartTime.ToUniversalTime();
206
$"{deploymentResult.
HostProcess
.Id}.log");
src\Servers\IIS\IIS\test\Common.LongTests\StartupTests.cs (2)
715
Assert.Equal(Path.GetDirectoryName(deploymentResult.
HostProcess
.MainModule.FileName), await deploymentResult.HttpClient.GetStringAsync("/CurrentDirectory"));
1524
var processStartTime = deploymentResult.
HostProcess
.StartTime.AddSeconds(-5);