26 references to CreateConnection
Aspire.Cli.Tests (26)
Commands\StopCommandTests.cs (26)
69var selected = CreateConnection(appHostPath, int.MaxValue - 1, isInScope: false); 70var sibling = CreateConnection(appHostPath, int.MaxValue - 2, isInScope: false); 121var connection = CreateConnection(appHostPath, int.MaxValue - 1); 123var sibling = CreateConnection(appHostPath, mismatch == "ambiguous" ? int.MaxValue - 1 : int.MaxValue - 2); 190var connection = CreateConnection(Path.Combine(workspace.WorkspaceRoot.FullName, "AppHost.cs"), 1); 231var selected = CreateConnection(appHostPath, int.MaxValue - 1); 232var sibling = CreateConnection(appHostPath, int.MaxValue - 2); 265var selected = CreateConnection(appHostPath, int.MaxValue - 1); 266var replacement = CreateConnection(appHostPath, int.MaxValue - 1); 304var first = CreateConnection(appHostPath, int.MaxValue - 1); 305var second = CreateConnection(appHostPath, int.MaxValue - 2); 392monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, int.MaxValue - 1)); 393monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, int.MaxValue - 2)); 428monitor.AddConnection("socket.hash1", CreateConnection(appHostPath, processId1)); 429monitor.AddConnection("socket.hash2", CreateConnection(appHostPath, processId2)); 463var connection = CreateConnection(appHostPath, int.MaxValue - 5); 506var primaryConnection = CreateConnection( 511var nestedConnection = CreateConnection( 590var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 629var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 667monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, processId1)); 668monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, processId2)); 818var connection = CreateConnection(runningAppHostFile.FullName, int.MaxValue - 11); 934monitor.AddConnection("socket.hash1", CreateConnection(outOfScopeAppHostFile, int.MaxValue - 12, isInScope: false)); 1405var connection = CreateConnection(appHostFile.FullName, int.MaxValue - 10); 1490var connection = CreateConnection(appHostPath, int.MaxValue - 9);