2 instantiations of TestConnection
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
143return new TestConnection(Port, _listenOptions.IPEndPoint.AddressFamily);
src\Servers\Kestrel\test\FunctionalTests\ListenHandleTests.cs (1)
39using (var connection = new TestConnection(((IPEndPoint)_canListenToOpenTcpSocketHandleSocket.LocalEndPoint).Port))
29 references to TestConnection
Sockets.FunctionalTests (29)
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (1)
141public TestConnection CreateConnection()
src\Servers\Kestrel\test\FunctionalTests\ConnectionMiddlewareTests.cs (2)
28using (var connection = server.CreateConnection()) 70using (var connection = server.CreateConnection())
src\Servers\Kestrel\test\FunctionalTests\ListenHandleTests.cs (1)
39using (var connection = new TestConnection(((IPEndPoint)_canListenToOpenTcpSocketHandleSocket.LocalEndPoint).Port))
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (14)
212using (var connection1 = server.CreateConnection()) 213using (var connection2 = server.CreateConnection()) 273using (var connection = server.CreateConnection()) 325using (var connection = server.CreateConnection()) 370using (var connection = server.CreateConnection()) 429using (var connection = server.CreateConnection()) 502using (var connection = server.CreateConnection()) 658using (var connection1 = server.CreateConnection()) 748using (var connection = server.CreateConnection()) 780using (var connection = server.CreateConnection()) 818using (var connection = server.CreateConnection()) 895using (var connection = server.CreateConnection()) 1018using (var connection = server.CreateConnection()) 1071using (var connection = server.CreateConnection())
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (11)
170using (var connection = server.CreateConnection()) 236using (var connection = server.CreateConnection()) 326using (var connection = server.CreateConnection()) 380using (var connection = server.CreateConnection()) 438using (var connection = server.CreateConnection()) 566using (var connection = server.CreateConnection()) 694using (var connection = server.CreateConnection()) 810using (var connection = server.CreateConnection()) 896using (var connection = server.CreateConnection()) 971using (var connection = server.CreateConnection()) 1060using (var connection = server.CreateConnection())