45 references to CreateConnection
Aspire.Cli.Tests (45)
Commands\StopCommandTests.cs (45)
71var selected = CreateConnection(appHostPath, int.MaxValue - 1, isInScope: false); 72var sibling = CreateConnection(appHostPath, int.MaxValue - 2, isInScope: false); 123var connection = CreateConnection(appHostPath, int.MaxValue - 1); 125var sibling = CreateConnection(appHostPath, mismatch == "ambiguous" ? int.MaxValue - 1 : int.MaxValue - 2); 192var connection = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "AppHost.cs"), 1); 233var selected = CreateConnection(appHostPath, int.MaxValue - 1); 234var sibling = CreateConnection(appHostPath, int.MaxValue - 2); 267var selected = CreateConnection(appHostPath, int.MaxValue - 1); 268var replacement = CreateConnection(appHostPath, int.MaxValue - 1); 306var first = CreateConnection(appHostPath, int.MaxValue - 1); 307var second = CreateConnection(appHostPath, int.MaxValue - 2); 394monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, int.MaxValue - 1)); 395monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, int.MaxValue - 2)); 430monitor.AddConnection("socket.hash1", CreateConnection(appHostPath, processId1)); 431monitor.AddConnection("socket.hash2", CreateConnection(appHostPath, processId2)); 465var connection = CreateConnection(appHostPath, int.MaxValue - 5); 508var primaryConnection = CreateConnection( 513var nestedConnection = CreateConnection( 592var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 631var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 670monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, processId1)); 671monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, processId2)); 821var connection = CreateConnection(runningAppHostFile.FullName, int.MaxValue - 11); 937monitor.AddConnection("socket.hash1", CreateConnection(outOfScopeAppHostFile, int.MaxValue - 12, isInScope: false)); 1408var connection = CreateConnection(appHostFile.FullName, int.MaxValue - 10); 1493var connection = CreateConnection(appHostPath, int.MaxValue - 9); 1521var connection1 = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "AppHost.cs"), int.MaxValue - 1); 1522var connection2 = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "AppHost.cs"), int.MaxValue - 2); 1551var connection = CreateConnection(appHostPath, int.MaxValue - 1); 1591var connection = CreateConnection(appHostPath, int.MaxValue - 1); 1636var connection = CreateConnection(appHostPath, int.MaxValue - 1); 1687var connection = CreateConnection(appHostPath, appHostProcess.Id); 1755var connection = CreateConnection(appHostPath, int.MaxValue - 1); 1793var connection = CreateConnection(appHostPath, int.MaxValue - 1); 1839var connection = CreateConnection(appHostPath, appHostProcess.Id); 1915var connection = CreateConnection(appHostPath, appHostProcess.Id); 1982var connection = CreateConnection(appHostPath, int.MaxValue - 1); 2030var connection = CreateConnection(appHostPath, appHostProcess.Id); 2139var connection = CreateConnection(appHostPath, appHostProcess.Id); 2183var connection = CreateConnection(appHostPath, int.MaxValue - 1); 2214var unsupported = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "App1", "AppHost.cs"), int.MaxValue - 1); 2216var unconfirmed = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "App2", "AppHost.cs"), int.MaxValue - 2); 2265var connection = CreateConnection(appHostPath, int.MaxValue - 1); 2297var connection = CreateConnection(appHostFile.FullName, int.MaxValue - 12); 2346var connection = CreateConnection(appHostFile.FullName, appHostProcess.Id);