12 instantiations of TestDashboardClient
Aspire.Dashboard.Tests (12)
Integration\Playwright\TerminalDockTests.cs (1)
386Client = new TestDashboardClient(
Model\DashboardClientTests.cs (2)
62var dashboardClient = new TestDashboardClient(attachTerminal: (_, _) => Task.FromResult<Stream>(stream)); 181var dashboardClient = new TestDashboardClient(attachTerminal: (_, _) => Task.FromResult<Stream>(stream));
Model\DashboardCommandExecutorTests.cs (4)
32var dashboardClient = new TestDashboardClient( 76var dashboardClient = new TestDashboardClient( 116var dashboardClient = new TestDashboardClient( 160var dashboardClient = new TestDashboardClient(
Model\ResourceMenuBuilderTests.cs (2)
46dashboardClient ??= new TestDashboardClient(); 350new TestDashboardClient(isReadOnly: true));
Model\TelemetryExportServiceTests.cs (1)
1263var dashboardClient = new TestDashboardClient(isEnabled: isDashboardClientEnabled);
Shared\TerminalTestHost.cs (1)
48builder.Services.AddSingleton<IDashboardClient>(new TestDashboardClient(attachTerminal: AttachTerminalAsync));
Terminal\TerminalWebSocketProxyEndpointTests.cs (1)
177services.AddSingleton<IDashboardClient>(new TestDashboardClient(attachTerminal: async (terminalId, cancellationToken) =>
9 references to TestDashboardClient
Aspire.Dashboard.Tests (9)
Integration\Playwright\TerminalDockTests.cs (1)
382public TestDashboardClient Client { get; }
Model\DashboardClientTests.cs (2)
62var dashboardClient = new TestDashboardClient(attachTerminal: (_, _) => Task.FromResult<Stream>(stream)); 181var dashboardClient = new TestDashboardClient(attachTerminal: (_, _) => Task.FromResult<Stream>(stream));
Model\DashboardCommandExecutorTests.cs (5)
32var dashboardClient = new TestDashboardClient( 76var dashboardClient = new TestDashboardClient( 116var dashboardClient = new TestDashboardClient( 160var dashboardClient = new TestDashboardClient( 187private static DashboardCommandExecutor CreateExecutor(TestDashboardClient dashboardClient, out Aspire.Dashboard.Model.INotificationService notificationService, out TestNotificationService toastService)
Model\TelemetryExportServiceTests.cs (1)
1263var dashboardClient = new TestDashboardClient(isEnabled: isDashboardClientEnabled);