8 instantiations of TestAppHostSocket
Aspire.Cli.Tests (8)
Backchannel\AppHostAuxiliaryBackchannelTests.cs (2)
152
return await AppHostAuxiliaryBackchannel.CreateFromSocketAsync(new
TestAppHostSocket
("socket.hash1"), isInScope: true, NullLogger.Instance, new ProfilingTelemetry(new ConfigurationBuilder().Build()), clientSocket, timeout, CancellationToken.None).DefaultTimeout();
155
return await AppHostAuxiliaryBackchannel.CreateFromSocketAsync(new
TestAppHostSocket
("socket.hash1"), isInScope: true, NullLogger.Instance, new ProfilingTelemetry(new ConfigurationBuilder().Build()), clientSocket, CancellationToken.None).DefaultTimeout();
Backchannel\AuxiliaryBackchannelMonitorTests.cs (1)
454
var socket = new
TestAppHostSocket
(socketPath)
Commands\PsCommandTests.cs (1)
868
return await AppHostAuxiliaryBackchannel.CreateFromSocketAsync(new
TestAppHostSocket
("socket.hash1"), isInScope: true, NullLogger.Instance, new ProfilingTelemetry(new ConfigurationBuilder().Build()), clientSocket, CancellationToken.None).DefaultTimeout();
Mcp\ListAppHostsToolTests.cs (1)
177
return new AppHostAuxiliaryBackchannel(new
TestAppHostSocket
(socketPath), rpc, appHostInfo, isInScope);
Projects\RunningInstanceManagerTests.cs (1)
50
var stopped = await manager.StopRunningInstanceAsync(new
TestAppHostSocket
(socketPath), CancellationToken.None).DefaultTimeout();
TestServices\TestAppHostAuxiliaryBackchannel.cs (2)
24
private IAppHostSocket _socket = new
TestAppHostSocket
("/tmp/test.sock");
34
set => Socket = new
TestAppHostSocket
(value);
4 references to TestAppHostSocket
Aspire.Cli.Tests (4)
Backchannel\AuxiliaryBackchannelMonitorTests.cs (1)
454
var
socket = new TestAppHostSocket(socketPath)
Commands\TrayProtocolCommandTests.cs (3)
200
Assert.Equal(scenario is "stopped" or "replacement" ? 1 : 0, Assert.IsType<
TestAppHostSocket
>(selected.Socket).TryDeleteCallCount);
201
Assert.Equal(0, Assert.IsType<
TestAppHostSocket
>(sibling.Socket).TryDeleteCallCount);
202
Assert.Equal(0, Assert.IsType<
TestAppHostSocket
>(replacement.Socket).TryDeleteCallCount);