15 references to CreateConnection
Aspire.Cli.Tests (15)
Commands\StopCommandTests.cs (15)
127monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, int.MaxValue - 1)); 128monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, int.MaxValue - 2)); 163monitor.AddConnection("socket.hash1", CreateConnection(appHostPath, processId1)); 164monitor.AddConnection("socket.hash2", CreateConnection(appHostPath, processId2)); 198var connection = CreateConnection(appHostPath, int.MaxValue - 5); 241var primaryConnection = CreateConnection( 246var nestedConnection = CreateConnection( 325var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 364var connection = CreateConnection(appHostPath, int.MaxValue - 6, isInScope: false); 402monitor.AddConnection("socket.hash1", CreateConnection(appHostPath1, processId1)); 403monitor.AddConnection("socket.hash2", CreateConnection(appHostPath2, processId2)); 550var connection = CreateConnection(runningAppHostFile.FullName, int.MaxValue - 11); 666monitor.AddConnection("socket.hash1", CreateConnection(outOfScopeAppHostFile, int.MaxValue - 12, isInScope: false)); 1131var connection = CreateConnection(appHostFile.FullName, int.MaxValue - 10); 1194var connection = CreateConnection(appHostPath, int.MaxValue - 9);