15 references to TestDashboardClient
Aspire.Dashboard.Components.Tests (15)
Pages\ConsoleLogsTests.cs (8)
51
var dashboardClient = new
TestDashboardClient
(
135
var dashboardClient = new
TestDashboardClient
(
182
var dashboardClient = new
TestDashboardClient
(
239
var dashboardClient = new
TestDashboardClient
(
299
var dashboardClient = new
TestDashboardClient
(
364
var dashboardClient = new
TestDashboardClient
(
423
var dashboardClient = new
TestDashboardClient
(
573
Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
());
Pages\LoginTests.cs (1)
66
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
());
Pages\ResourcesTests.cs (5)
37
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
135
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
187
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
222
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources,
319
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
Shared\ResourceSetupHelpers.cs (1)
116
context.Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>));