134 instantiations of TestDashboardClient
Aspire.Dashboard.Components.Tests (134)
Controls\ApplicationNameTests.cs (1)
58
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(applicationName: "<marquee>An HTML title!</marquee>"));
Controls\ResourceActionsTests.cs (4)
35
var client = new
TestDashboardClient
(isEnabled: enabled, initialResources: [resource],
76
var client = new
TestDashboardClient
(isEnabled: true, initialResources: resources.Values.ToList(),
99
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [resource],
115
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [resource],
Controls\ResourceDetailsTests.cs (1)
464
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(isEnabled: true));
Dialogs\InteractionsInputDialogTests.cs (9)
54
DashboardClient = new
TestDashboardClient
(),
116
DashboardClient = new
TestDashboardClient
(),
182
DashboardClient = new
TestDashboardClient
(),
237
DashboardClient = new
TestDashboardClient
(),
309
DashboardClient = new
TestDashboardClient
(),
372
DashboardClient = new
TestDashboardClient
(),
659
DashboardClient = new
TestDashboardClient
(),
720
DashboardClient = new
TestDashboardClient
(),
748
DashboardClient = new
TestDashboardClient
(),
Dialogs\ManageDataDialogTests.cs (3)
43
var dashboardClient = new
TestDashboardClient
(
162
var dashboardClient = new
TestDashboardClient
(isEnabled: false, initialResources: [], isReadOnly: dashboardClientIsReadOnly);
257
var dashboardClient = new
TestDashboardClient
(
Interactions\InteractionsProviderTests.cs (16)
40
var dashboardClient = new
TestDashboardClient
(isEnabled: false);
64
var dashboardClient = new
TestDashboardClient
(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
96
var liveDashboardClient = new
TestDashboardClient
(
105
var selectedDashboardClient = new
TestDashboardClient
(
143
var dashboardClient = new
TestDashboardClient
(
206
var dashboardClient = new
TestDashboardClient
(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
258
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
317
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
378
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
447
var dashboardClient = new
TestDashboardClient
(
487
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
566
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
622
var dashboardClient = new
TestDashboardClient
(isEnabled: true,
681
var dashboardClient = new
TestDashboardClient
(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
737
Services.AddSingleton<IDashboardClient>(selectedDashboardClient ?? new
TestDashboardClient
());
738
Services.AddKeyedSingleton<IDashboardClient>(DashboardClient.LiveAppHostServiceKey, dashboardClient ?? new
TestDashboardClient
());
Interactions\InteractionsProviderTests.Terminal.cs (2)
30
var client = new
TestDashboardClient
(isEnabled: true, interactionChannelProvider: () => updates,
89
var client = new
TestDashboardClient
(isEnabled: true, interactionChannelProvider: () => updates,
Layout\DesktopNavMenuTests.cs (1)
30
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(isEnabled: enabled));
Layout\MainLayoutResourceTerminalsTests.cs (3)
29
var client = new
TestDashboardClient
(isEnabled: isEnabled,
56
var client = new
TestDashboardClient
(isEnabled: true,
105
var client = new
TestDashboardClient
(isEnabled: true, resourceChannelProvider: () => updates);
Layout\MainLayoutTerminalTests.cs (3)
31
var client = new
TestDashboardClient
(
88
var client = new
TestDashboardClient
(
173
var client = new
TestDashboardClient
(
Layout\MainLayoutTests.cs (2)
1215
SetupMainLayoutServices(dashboardClient: new
TestDashboardClient
(isEnabled: false));
1253
dashboardClient ??= new
TestDashboardClient
();
Layout\MobileNavMenuTests.cs (1)
135
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(isEnabled: true));
Layout\ResourceServiceConnectionProviderTests.cs (1)
18
var dashboardClient = new
TestDashboardClient
(isEnabled: true);
Layout\ResourceTerminalsAvailabilityProviderTests.cs (2)
21
var client = new
TestDashboardClient
(isEnabled: enabled, isReadOnly: readOnly);
32
var client = new
TestDashboardClient
(isEnabled: true, whenConnected: connected.Task);
Layout\TerminalDockInitializationTests.cs (2)
26
var client = new
TestDashboardClient
(
90
var client = new
TestDashboardClient
(isEnabled: enabled, isReadOnly: readOnly);
Layout\TerminalDockTests.cs (1)
97
var client = new
TestDashboardClient
(
Pages\ConsoleLogsTerminalTests.cs (1)
29
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [resource],
Pages\ConsoleLogsTests.cs (21)
44
var dashboardClient = new
TestDashboardClient
(
95
var dashboardClient = new
TestDashboardClient
(
182
var dashboardClient = new
TestDashboardClient
(
271
var dashboardClient = new
TestDashboardClient
(
323
var dashboardClient = new
TestDashboardClient
(
372
var liveClient = new
TestDashboardClient
(
381
var currentResourceRepository = new
TestDashboardClient
(
411
var dashboardClient = new
TestDashboardClient
(
433
var dashboardClient = new
TestDashboardClient
(
474
var dashboardClient = new
TestDashboardClient
(
500
var dashboardClient = new
TestDashboardClient
(
549
var dashboardClient = new
TestDashboardClient
(
599
var dashboardClient = new
TestDashboardClient
(
665
var dashboardClient = new
TestDashboardClient
(
702
var dashboardClient = new
TestDashboardClient
(
757
var dashboardClient = new
TestDashboardClient
(
797
var dashboardClient = new
TestDashboardClient
(
869
var dashboardClient = new
TestDashboardClient
(
907
var dashboardClient = new
TestDashboardClient
(
965
var dashboardClient = new
TestDashboardClient
(
1115
Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
());
Pages\LoginTests.cs (1)
94
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
());
Pages\MetricsTests.cs (1)
46
Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
(isReadOnly: dashboardClientIsReadOnly));
Pages\ResourcesTests.cs (23)
103
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
128
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
175
var dashboardClient = new
TestDashboardClient
(
211
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
309
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
362
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
436
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
534
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: [resource], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
579
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
607
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
635
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
666
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
786
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources,
883
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
1015
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1042
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1071
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1101
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1133
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1215
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1277
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1321
var dashboardClient = new
TestDashboardClient
(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1356
var dashboardClient = new
TestDashboardClient
(
Pages\TerminalsTests.cs (8)
33
var client = new
TestDashboardClient
(isEnabled: true, initialResources: resources, whenResourcesReady: ready.Task,
73
var client = new
TestDashboardClient
(isEnabled: true, whenResourcesReady: ready.Task,
95
var client = new
TestDashboardClient
(isEnabled: true,
131
var client = new
TestDashboardClient
(isEnabled: true, whenConnected: connected.Task,
447
var client = new
TestDashboardClient
(isEnabled: enabled, isReadOnly: readOnly,
481
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [first, last], resourceChannelProvider: () => updates);
575
var client = new
TestDashboardClient
(isEnabled: true,
640
=>
new
(isEnabled: true, initialResources: resources,
Pages\TerminalWindowTests.cs (24)
34
var client = new
TestDashboardClient
(isEnabled: true, initialResources: resources, whenResourcesReady: ready.Task);
61
var client = new
TestDashboardClient
(isEnabled: true, whenResourcesReady: ready.Task);
77
var client = new
TestDashboardClient
(isEnabled: true, whenResourcesReady: ready.Task,
99
var client = new
TestDashboardClient
(isEnabled: true, whenResourcesReady: ready.Task,
114
var client = new
TestDashboardClient
(isEnabled: true, whenResourcesReady: ready.Task,
139
var client = new
TestDashboardClient
(isEnabled: true, initialResources:
162
var client = new
TestDashboardClient
(isEnabled: true, initialResources:
187
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [resource]);
205
var client = new
TestDashboardClient
(isEnabled: true, initialResources: [resource]);
227
var client = new
TestDashboardClient
(isEnabled: true, initialResources: resources);
255
var client = new
TestDashboardClient
(isEnabled: true, initialResources:
277
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
(isEnabled: true,
296
var client = new
TestDashboardClient
(isEnabled: isEnabled, terminalChannelProvider: () => terminals,
322
var client = new
TestDashboardClient
(isEnabled: true, initialResources: resources);
346
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
(isEnabled: true,
373
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
());
405
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
());
422
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
());
443
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
(terminalChannelProvider: () => updates), pathBase);
458
TerminalSetupHelpers.SetupTerminalComponents(this, new
TestDashboardClient
(isEnabled: true,
482
var client = new
TestDashboardClient
(terminalChannelProvider: () => updates);
508
var client = new
TestDashboardClient
(terminalChannelProvider: () =>
545
var client = new
TestDashboardClient
(terminalChannelProvider: () => updates)
581
var client = new
TestDashboardClient
(terminalChannelProvider: () => updates);
Shared\ResourceSetupHelpers.cs (1)
72
context.Services.AddSingleton<IDashboardClient>(dashboardClient ?? new
TestDashboardClient
(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>));
Shared\StructuredLogsSetupHelpers.cs (1)
23
context.Services.AddSingleton<IDashboardClient>(new
TestDashboardClient
());
Shared\TerminalSetupHelpers.cs (1)
28
=>
new
(isEnabled: true,
139 references to TestDashboardClient
Aspire.Dashboard.Components.Tests (139)
Controls\ResourceActionsTests.cs (5)
35
var
client = new TestDashboardClient(isEnabled: enabled, initialResources: [resource],
76
var
client = new TestDashboardClient(isEnabled: true, initialResources: resources.Values.ToList(),
99
var
client = new TestDashboardClient(isEnabled: true, initialResources: [resource],
115
var
client = new TestDashboardClient(isEnabled: true, initialResources: [resource],
131
ResourceViewModel resource,
TestDashboardClient
client, bool isDesktop,
Dialogs\ManageDataDialogTests.cs (4)
43
var
dashboardClient = new TestDashboardClient(
162
var
dashboardClient = new TestDashboardClient(isEnabled: false, initialResources: [], isReadOnly: dashboardClientIsReadOnly);
257
var
dashboardClient = new TestDashboardClient(
278
private void SetupManageDataDialogServices(
TestDashboardClient
dashboardClient)
Interactions\InteractionsProviderTests.cs (16)
40
var
dashboardClient = new TestDashboardClient(isEnabled: false);
64
var
dashboardClient = new TestDashboardClient(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
96
var
liveDashboardClient = new TestDashboardClient(
105
var
selectedDashboardClient = new TestDashboardClient(
143
var
dashboardClient = new TestDashboardClient(
206
var
dashboardClient = new TestDashboardClient(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
258
var
dashboardClient = new TestDashboardClient(isEnabled: true,
317
var
dashboardClient = new TestDashboardClient(isEnabled: true,
378
var
dashboardClient = new TestDashboardClient(isEnabled: true,
447
var
dashboardClient = new TestDashboardClient(
487
var
dashboardClient = new TestDashboardClient(isEnabled: true,
566
var
dashboardClient = new TestDashboardClient(isEnabled: true,
622
var
dashboardClient = new TestDashboardClient(isEnabled: true,
681
var
dashboardClient = new TestDashboardClient(isEnabled: true, interactionChannelProvider: () => interactionsChannel);
726
TestDashboardClient
? dashboardClient = null,
728
TestDashboardClient
? selectedDashboardClient = null)
Interactions\InteractionsProviderTests.Terminal.cs (2)
30
var
client = new TestDashboardClient(isEnabled: true, interactionChannelProvider: () => updates,
89
var
client = new TestDashboardClient(isEnabled: true, interactionChannelProvider: () => updates,
Layout\MainLayoutResourceTerminalsTests.cs (3)
29
var
client = new TestDashboardClient(isEnabled: isEnabled,
56
var
client = new TestDashboardClient(isEnabled: true,
105
var
client = new TestDashboardClient(isEnabled: true, resourceChannelProvider: () => updates);
Layout\MainLayoutTerminalTests.cs (3)
31
var
client = new TestDashboardClient(
88
var
client = new TestDashboardClient(
173
var
client = new TestDashboardClient(
Layout\MainLayoutTests.cs (1)
1237
TestDashboardClient
? dashboardClient = null)
Layout\ResourceServiceConnectionProviderTests.cs (1)
18
var
dashboardClient = new TestDashboardClient(isEnabled: true);
Layout\ResourceTerminalsAvailabilityProviderTests.cs (2)
21
var
client = new TestDashboardClient(isEnabled: enabled, isReadOnly: readOnly);
32
var
client = new TestDashboardClient(isEnabled: true, whenConnected: connected.Task);
Layout\TerminalDockInitializationTests.cs (2)
26
var
client = new TestDashboardClient(
90
var
client = new TestDashboardClient(isEnabled: enabled, isReadOnly: readOnly);
Layout\TerminalDockTelemetryTests.cs (1)
31
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
Layout\TerminalDockTests.cs (19)
97
var
client = new TestDashboardClient(
134
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
157
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
196
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient();
215
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
270
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
311
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
345
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
397
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(
432
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
461
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
488
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(
532
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
595
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(
624
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(
652
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
701
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
741
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
784
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
Layout\TerminalDockWindowTrackingTests.cs (3)
30
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
89
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
175
var
client = TerminalSetupHelpers.CreateTerminalDashboardClient(terminalChannelProvider: () => updates);
Pages\ConsoleLogsTerminalTests.cs (1)
29
var
client = new TestDashboardClient(isEnabled: true, initialResources: [resource],
Pages\ConsoleLogsTests.cs (21)
44
var
dashboardClient = new TestDashboardClient(
95
var
dashboardClient = new TestDashboardClient(
182
var
dashboardClient = new TestDashboardClient(
271
var
dashboardClient = new TestDashboardClient(
323
var
dashboardClient = new TestDashboardClient(
372
var
liveClient = new TestDashboardClient(
381
var
currentResourceRepository = new TestDashboardClient(
411
var
dashboardClient = new TestDashboardClient(
433
var
dashboardClient = new TestDashboardClient(
474
var
dashboardClient = new TestDashboardClient(
500
var
dashboardClient = new TestDashboardClient(
549
var
dashboardClient = new TestDashboardClient(
599
var
dashboardClient = new TestDashboardClient(
665
var
dashboardClient = new TestDashboardClient(
702
var
dashboardClient = new TestDashboardClient(
757
var
dashboardClient = new TestDashboardClient(
797
var
dashboardClient = new TestDashboardClient(
869
var
dashboardClient = new TestDashboardClient(
907
var
dashboardClient = new TestDashboardClient(
965
var
dashboardClient = new TestDashboardClient(
1094
private void SetupConsoleLogsServices(
TestDashboardClient
? dashboardClient = null, TestTimeProvider? timeProvider = null, IResourceRepository? resourceRepository = null)
Pages\ResourcesTests.cs (23)
103
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
128
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
175
var
dashboardClient = new TestDashboardClient(
211
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
309
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
362
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
436
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
534
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: [resource], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
579
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
607
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
635
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: [], resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
666
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
786
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources,
883
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: () => channel);
1015
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1042
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1071
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1101
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1133
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1215
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1277
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1321
var
dashboardClient = new TestDashboardClient(isEnabled: true, initialResources: initialResources, resourceChannelProvider: Channel.CreateUnbounded<IReadOnlyList<ResourceViewModelChange>>);
1356
var
dashboardClient = new TestDashboardClient(
Pages\TerminalsTests.cs (11)
33
var
client = new TestDashboardClient(isEnabled: true, initialResources: resources, whenResourcesReady: ready.Task,
73
var
client = new TestDashboardClient(isEnabled: true, whenResourcesReady: ready.Task,
95
var
client = new TestDashboardClient(isEnabled: true,
131
var
client = new TestDashboardClient(isEnabled: true, whenConnected: connected.Task,
264
var
client = CreateClient(
447
var
client = new TestDashboardClient(isEnabled: enabled, isReadOnly: readOnly,
481
var
client = new TestDashboardClient(isEnabled: true, initialResources: [first, last], resourceChannelProvider: () => updates);
556
var
client = CreateClient(TerminalSetupHelpers.CreateTerminalResource("shell"));
575
var
client = new TestDashboardClient(isEnabled: true,
630
var
client = CreateClient(TerminalSetupHelpers.CreateTerminalResource("shell"));
639
private static
TestDashboardClient
CreateClient(params ResourceViewModel[] resources)
Pages\TerminalWindowTests.cs (17)
34
var
client = new TestDashboardClient(isEnabled: true, initialResources: resources, whenResourcesReady: ready.Task);
61
var
client = new TestDashboardClient(isEnabled: true, whenResourcesReady: ready.Task);
77
var
client = new TestDashboardClient(isEnabled: true, whenResourcesReady: ready.Task,
99
var
client = new TestDashboardClient(isEnabled: true, whenResourcesReady: ready.Task,
114
var
client = new TestDashboardClient(isEnabled: true, whenResourcesReady: ready.Task,
139
var
client = new TestDashboardClient(isEnabled: true, initialResources:
162
var
client = new TestDashboardClient(isEnabled: true, initialResources:
187
var
client = new TestDashboardClient(isEnabled: true, initialResources: [resource]);
205
var
client = new TestDashboardClient(isEnabled: true, initialResources: [resource]);
227
var
client = new TestDashboardClient(isEnabled: true, initialResources: resources);
255
var
client = new TestDashboardClient(isEnabled: true, initialResources:
296
var
client = new TestDashboardClient(isEnabled: isEnabled, terminalChannelProvider: () => terminals,
322
var
client = new TestDashboardClient(isEnabled: true, initialResources: resources);
482
var
client = new TestDashboardClient(terminalChannelProvider: () => updates);
508
var
client = new TestDashboardClient(terminalChannelProvider: () =>
545
var
client = new TestDashboardClient(terminalChannelProvider: () => updates)
581
var
client = new TestDashboardClient(terminalChannelProvider: () => updates);
Shared\FluentUISetupHelpers.cs (1)
234
context.Services.AddSingleton<IDashboardClient,
TestDashboardClient
>();
Shared\TerminalSetupHelpers.cs (2)
25
public static
TestDashboardClient
CreateTerminalDashboardClient(
53
public static void SetupTerminalComponents(BunitContext context,
TestDashboardClient
client, string pathBase = "")
Shared\TerminalsSetupHelpers.cs (1)
14
public static void SetupPage(BunitContext context,
TestDashboardClient
client, ISessionStorage? sessionStorage = null, string pathBase = "")