23 instantiations of TestConnection
IIS.FunctionalTests (5)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
100using (var connection = new TestConnection(result.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
120using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (1)
82using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
121using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
IIS.LongTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.NewHandler.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.NewShim.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
IIS.Tests (1)
Utilities\TestServer.cs (1)
53public TestConnection CreateConnection() => new TestConnection(_currentPort);
IISExpress.FunctionalTests (7)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
100using (var connection = new TestConnection(result.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
72return new TestConnection(Client.BaseAddress.Port);
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
120using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (1)
82using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
121using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (2)
208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
79 references to TestConnection
IIS.FunctionalTests (18)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (2)
43using (var connection = _fixture.CreateTestConnection()) 85using (var connection = _fixture.CreateTestConnection())
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
100using (var connection = new TestConnection(result.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
120using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (1)
82using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
121using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestPathBaseTests.cs (1)
87using (var connection = _fixture.CreateTestConnection())
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (10)
220using (var connection = _fixture.CreateTestConnection()) 254using (var connection = _fixture.CreateTestConnection()) 291using (var connection = _fixture.CreateTestConnection()) 340using (var connection = _fixture.CreateTestConnection()) 672using (var connection = _fixture.CreateTestConnection()) 699using (var connection = _fixture.CreateTestConnection()) 723using (var connection = _fixture.CreateTestConnection()) 755using (var connection = _fixture.CreateTestConnection()) 775using (var connection = _fixture.CreateTestConnection()) 794using (var connection = _fixture.CreateTestConnection())
IIS.LongTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
204var connectionList = new List<TestConnection>(); 208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.NewHandler.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
204var connectionList = new List<TestConnection>(); 208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.NewShim.FunctionalTests (4)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
204var connectionList = new List<TestConnection>(); 208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
IIS.Tests (27)
ClientDisconnectTests.cs (9)
44using (var connection = testServer.CreateConnection()) 86using (var connection = testServer.CreateConnection()) 125using (var connection = testServer.CreateConnection()) 168using (var connection = testServer.CreateConnection()) 208using (var connection = testServer.CreateConnection()) 252using (var connection = testServer.CreateConnection()) 301using (var connection = testServer.CreateConnection()) 334using (var connection = testServer.CreateConnection()) 350private static async Task SendContentLength1Post(TestConnection connection)
MaxRequestBodySizeTests.cs (10)
45using (var connection = testServer.CreateConnection()) 88using (var connection = testServer.CreateConnection()) 118using (var connection = testServer.CreateConnection()) 145using (var connection = testServer.CreateConnection()) 171using (var connection = testServer.CreateConnection()) 194using (var connection = testServer.CreateConnection()) 218using (var connection = testServer.CreateConnection()) 256using (var connection = testServer.CreateConnection()) 294using (var connection = testServer.CreateConnection()) 331using (var connection = testServer.CreateConnection())
ResponseAbortTests.cs (7)
29using (var connection = testServer.CreateConnection()) 50using (var connection = testServer.CreateConnection()) 86using (var connection = testServer.CreateConnection()) 115using (var connection = testServer.CreateConnection()) 137using (var connection = testServer.CreateConnection()) 164using (var connection = testServer.CreateConnection()) 172private static async Task SendContentLength1Post(TestConnection connection)
Utilities\TestServer.cs (1)
53public TestConnection CreateConnection() => new TestConnection(_currentPort);
IISExpress.FunctionalTests (21)
src\Servers\IIS\IIS\test\Common.FunctionalTests\CompressionTests.cs (2)
43using (var connection = _fixture.CreateTestConnection()) 85using (var connection = _fixture.CreateTestConnection())
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
100using (var connection = new TestConnection(result.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\IISTestSiteFixture.cs (1)
70public TestConnection CreateTestConnection()
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\MaxRequestBodySizeTests.cs (1)
120using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Latin1Tests.cs (1)
82using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\MaxRequestBodySizeTests.cs (1)
121using (var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port))
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestPathBaseTests.cs (1)
87using (var connection = _fixture.CreateTestConnection())
src\Servers\IIS\IIS\test\Common.FunctionalTests\RequestResponseTests.cs (10)
220using (var connection = _fixture.CreateTestConnection()) 254using (var connection = _fixture.CreateTestConnection()) 291using (var connection = _fixture.CreateTestConnection()) 340using (var connection = _fixture.CreateTestConnection()) 672using (var connection = _fixture.CreateTestConnection()) 699using (var connection = _fixture.CreateTestConnection()) 723using (var connection = _fixture.CreateTestConnection()) 755using (var connection = _fixture.CreateTestConnection()) 775using (var connection = _fixture.CreateTestConnection()) 794using (var connection = _fixture.CreateTestConnection())
src\Servers\IIS\IIS\test\Common.LongTests\ShutdownTests.cs (3)
204var connectionList = new List<TestConnection>(); 208var connection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port); 225var statusConnection = new TestConnection(deploymentResult.HttpClient.BaseAddress.Port);