5 instantiations of TestDashboardClient
Aspire.Dashboard.Components.Tests (5)
Pages\ConsoleLogsTests.cs (1)
549
Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
());
Pages\LoginTests.cs (1)
63
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
());
Pages\ResourcesTests.cs (3)
36
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
134
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
186
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
12 references to TestDashboardClient
Aspire.Dashboard.Components.Tests (12)
Layout\MainLayoutTests.cs (1)
131
Services.AddSingleton<IDashboardClient,
TestDashboardClient
>();
Pages\ConsoleLogsTests.cs (8)
47
var
dashboardClient = new TestDashboardClient(
131
var
dashboardClient = new TestDashboardClient(
178
var
dashboardClient = new TestDashboardClient(
235
var
dashboardClient = new TestDashboardClient(
295
var
dashboardClient = new TestDashboardClient(
360
var
dashboardClient = new TestDashboardClient(
418
var
dashboardClient = new TestDashboardClient(
506
private void SetupConsoleLogsServices(
TestDashboardClient
? dashboardClient = null, TestTimeProvider? timeProvider = null)
Pages\ResourcesTests.cs (3)
36
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
134
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
186
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);