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