Implemented interface member:
property
SocketPath
Aspire.Cli.Backchannel.IAppHostAuxiliaryBackchannel.SocketPath
37 writes to SocketPath
Aspire.Cli.Tests (37)
Backchannel\OrphanedAppHostCollectorTests.cs (1)
378SocketPath = socketPath,
Backchannel\TrayWatchStreamTests.cs (1)
1003SocketPath = $"socket-{pid}",
Commands\AgentMcpCommandTests.cs (12)
168SocketPath = "socket.pinned", 292SocketPath = "socket.annotated", 582SocketPath = "socket.pinned", 792SocketPath = "socket.unrelated", 824SocketPath = "socket.pinned", 913SocketPath = "socket.pinned", 989SocketPath = "socket.unrelated", 1024SocketPath = "socket.unrelated", 1087SocketPath = "socket.pinned", 1114SocketPath = "socket.pinned", 1167SocketPath = "socket.test", 1826SocketPath = socketPath,
Commands\PsCommandTests.cs (1)
142SocketPath = "/tmp/test2.sock",
Commands\StopCommandTests.cs (19)
73selected.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 1); 74sibling.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 2); 124connection.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 1); 125sibling.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 2); 233selected.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 1); 234sibling.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 2); 267selected.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 1); 268replacement.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 2); 306first.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 1); 307second.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 2); 464connection.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 5); 510primaryConnection.SocketPath = CreateMatchingSocketFile(primaryAppHost, workspace, 7); 515nestedConnection.SocketPath = CreateMatchingSocketFile(nestedAppHost, workspace, 8); 591connection.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 6); 630connection.SocketPath = CreateMatchingSocketFile(appHostPath, workspace, 6); 819connection.SocketPath = CreateMatchingSocketFile(runningAppHostFile.FullName, workspace, 11); 1406connection.SocketPath = CreateMatchingSocketFile(appHostFile.FullName, workspace, 10); 1491connection.SocketPath = socketPath; 1610SocketPath = $"socket.{processId.ToString(CultureInfo.InvariantCulture)}",
Commands\TrayProtocolCommandTests.cs (1)
315SocketPath = Path.Combine(Path.GetDirectoryName(path)!, $"socket-{pid}"),
Mcp\AppHostConnectionSelectionLogicTests.cs (1)
340SocketPath = $"/socket-{processId}.sock",
Mcp\SelectAppHostToolTests.cs (1)
190SocketPath = $"socket-{processId}",
101 references to SocketPath
Aspire.Cli.Tests (101)
Backchannel\TrayWatchStreamTests.cs (8)
206monitor.AddConnection(connection.SocketPath, connection); 212monitor.AddConnection(connection.SocketPath, connection); 341monitor.AddConnection(hung.SocketPath, hung); 342monitor.AddConnection(healthy.SocketPath, healthy); 396monitor.AddConnection(connection.SocketPath, connection); 526monitor.AddConnection(connection.SocketPath, connection); 645monitor.AddConnection(connection.SocketPath, connection); 770monitor.AddConnection(connection.SocketPath, connection);
Commands\AgentMcpCommandTests.cs (28)
176ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 264ctx.BackchannelMonitor!.AddConnection(mockBackchannel.SocketPath, mockBackchannel); 337ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 410ctx.BackchannelMonitor!.AddConnection(mockBackchannel.SocketPath, mockBackchannel); 478ctx.BackchannelMonitor!.AddConnection(appHostA.Hash, appHostA.SocketPath, appHostA); 479ctx.BackchannelMonitor.AddConnection(appHostB.Hash, appHostB.SocketPath, appHostB); 542ctx.BackchannelMonitor!.AddConnection(mockBackchannel.SocketPath, mockBackchannel); 590ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 738ctx.BackchannelMonitor!.AddConnection(unrelatedConnection.Hash, unrelatedConnection.SocketPath, unrelatedConnection); 741ctx.BackchannelMonitor.AddConnection(pinnedConnection.Hash, pinnedConnection.SocketPath, pinnedConnection); 859unrelatedConnection.SocketPath, 863pinnedConnection.SocketPath, 952ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 963ctx.BackchannelMonitor.RemoveConnection(connection.Hash, connection.SocketPath); 1095ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1144ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1147ctx.BackchannelMonitor.RemoveConnection(connection.Hash, connection.SocketPath); 1176ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1226ctx.BackchannelMonitor!.AddConnection(mockBackchannel.SocketPath, mockBackchannel); 1300ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1339ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1429ctx.BackchannelMonitor!.AddConnection(mockBackchannel.SocketPath, mockBackchannel); 1456ctx.BackchannelMonitor!.AddConnection(connection.Hash, connection.SocketPath, connection); 1480ctx.BackchannelMonitor!.AddConnection(connectionA.Hash, connectionA.SocketPath, connectionA); 1491ctx.BackchannelMonitor.AddConnection(connectionB.Hash, connectionB.SocketPath, connectionB); 1512ctx.BackchannelMonitor!.AddConnection(connectionA.Hash, connectionA.SocketPath, connectionA); 1517ctx.BackchannelMonitor.RemoveConnection(connectionA.Hash, connectionA.SocketPath); 1525ctx.BackchannelMonitor.AddConnection(connectionB.Hash, connectionB.SocketPath, connectionB);
Commands\StopCommandTests.cs (33)
75monitor.AddConnection(selected.SocketPath, selected); 76monitor.AddConnection(sibling.SocketPath, sibling); 97Assert.False(File.Exists(selected.SocketPath)); 98Assert.True(File.Exists(sibling.SocketPath)); 126monitor.AddConnection(connection.SocketPath, connection); 127monitor.AddConnection(sibling.SocketPath, sibling); 163Assert.True(File.Exists(connection.SocketPath)); 164Assert.True(File.Exists(sibling.SocketPath)); 191monitor.AddConnection(connection.SocketPath, connection); 238monitor.AddConnection(selected.SocketPath, selected); 239monitor.AddConnection(sibling.SocketPath, sibling); 250Assert.True(File.Exists(selected.SocketPath)); 251Assert.True(File.Exists(sibling.SocketPath)); 269monitor.AddConnection(selected.SocketPath, selected); 276monitor.AddConnection(replacement.SocketPath, replacement); 290Assert.False(File.Exists(selected.SocketPath)); 291Assert.True(File.Exists(replacement.SocketPath)); 308monitor.AddConnection(first.SocketPath, first); 309monitor.AddConnection(second.SocketPath, second); 317Assert.False(File.Exists(first.SocketPath)); 318Assert.False(File.Exists(second.SocketPath)); 465monitor.AddConnection(connection.SocketPath, connection); 516monitor.AddConnection(primaryConnection.SocketPath, primaryConnection); 517monitor.AddConnection(nestedConnection.SocketPath, nestedConnection); 535Assert.False(File.Exists(primaryConnection.SocketPath)); 536Assert.True(File.Exists(nestedConnection.SocketPath)); 592monitor.AddConnection(connection.SocketPath, connection); 613Assert.True(File.Exists(connection.SocketPath)); 631monitor.AddConnection(connection.SocketPath, connection); 653Assert.False(File.Exists(connection.SocketPath)); 820monitor.AddConnection(connection.SocketPath, connection); 1368monitor.AddConnection(connection.SocketPath, connection); 1407monitor.AddConnection(connection.SocketPath, connection);
Commands\TerminalCommandTests.cs (1)
819public string SocketPath => _inner.SocketPath;
Mcp\AppHostConnectionSelectionLogicTests.cs (11)
38monitor.AddConnection(inScope.Hash, inScope.SocketPath, inScope); 39monitor.AddConnection(outOfScope.Hash, outOfScope.SocketPath, outOfScope); 50monitor.AddConnection(inScope.Hash, inScope.SocketPath, inScope); 65monitor.AddConnection(inScope.Hash, inScope.SocketPath, inScope); 66monitor.AddConnection(outOfScope.Hash, outOfScope.SocketPath, outOfScope); 90monitor.AddConnection(firstConnection.Hash, firstConnection.SocketPath, firstConnection); 91monitor.AddConnection(secondConnection.Hash, secondConnection.SocketPath, secondConnection); 161monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 215monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 242monitor.AddConnection(cachedUnrelated.Hash, cachedUnrelated.SocketPath, cachedUnrelated); 246monitor.AddConnection(selectedConnection.Hash, selectedConnection.SocketPath, selectedConnection);
Mcp\SelectAppHostToolTests.cs (5)
42monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 91monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 117monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 158monitor.AddConnection(firstConnection.Hash, firstConnection.SocketPath, firstConnection); 159monitor.AddConnection(secondConnection.Hash, secondConnection.SocketPath, secondConnection);
Mcp\WaitForResourcesToolTests.cs (15)
122monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 164monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 200monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 229monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 278monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 329monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 398monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 491monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 547monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 585monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 627monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 676monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 706monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 759monitor.AddConnection(connection.Hash, connection.SocketPath, connection); 779monitor.AddConnection(connection.Hash, connection.SocketPath, connection);