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