4 instantiations of TestDashboardClient
Aspire.Dashboard.Components.Tests (4)
Pages\ConsoleLogsTests.cs (1)
380
Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
());
Pages\LoginTests.cs (1)
64
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
());
Pages\ResourcesTests.cs (2)
33
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
131
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
9 references to TestDashboardClient
Aspire.Dashboard.Components.Tests (9)
Layout\MainLayoutTests.cs (1)
131
Services.AddSingleton<IDashboardClient,
TestDashboardClient
>();
Pages\ConsoleLogsTests.cs (6)
44
var
dashboardClient = new TestDashboardClient(
123
var
dashboardClient = new TestDashboardClient(
170
var
dashboardClient = new TestDashboardClient(
227
var
dashboardClient = new TestDashboardClient(
287
var
dashboardClient = new TestDashboardClient(
340
private void SetupConsoleLogsServices(
TestDashboardClient
? dashboardClient = null, TestTimeProvider? timeProvider = null)
Pages\ResourcesTests.cs (2)
33
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
131
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);