12 references to TestDashboardClient
Aspire.Dashboard.Tests (12)
Integration\Playwright\TerminalDockTests.cs (1)
386
Client = new
TestDashboardClient
(
Model\DashboardClientTests.cs (2)
62
var dashboardClient = new
TestDashboardClient
(attachTerminal: (_, _) => Task.FromResult<Stream>(stream));
181
var dashboardClient = new
TestDashboardClient
(attachTerminal: (_, _) => Task.FromResult<Stream>(stream));
Model\DashboardCommandExecutorTests.cs (4)
32
var dashboardClient = new
TestDashboardClient
(
76
var dashboardClient = new
TestDashboardClient
(
116
var dashboardClient = new
TestDashboardClient
(
160
var dashboardClient = new
TestDashboardClient
(
Model\ResourceMenuBuilderTests.cs (2)
46
dashboardClient ??= new
TestDashboardClient
();
350
new
TestDashboardClient
(isReadOnly: true));
Model\TelemetryExportServiceTests.cs (1)
1263
var dashboardClient = new
TestDashboardClient
(isEnabled: isDashboardClientEnabled);
Shared\TerminalTestHost.cs (1)
48
builder.Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(attachTerminal: AttachTerminalAsync));
Terminal\TerminalWebSocketProxyEndpointTests.cs (1)
177
services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(attachTerminal: async (terminalId, cancellationToken) =>