11 references to TestTimeProvider
Aspire.Dashboard.Components.Tests (11)
Layout\MainLayoutTests.cs (1)
135Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Pages\ConsoleLogsTests.cs (1)
163Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Pages\StructuredLogsTests.cs (1)
175Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Pages\TraceDetailsTests.cs (1)
109Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Shared\MetricsSetupHelpers.cs (2)
39context.Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>(); 80context.Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Shared\ResourceSetupHelpers.cs (1)
18context.Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Shared\StructuredLogsSetupHelpers.cs (1)
18context.Services.AddSingleton<BrowserTimeProvider, TestTimeProvider>();
Shared\TestTimeProvider.cs (3)
22public override TimeZoneInfo LocalTimeZone => _localTimeZone ??= TimeZoneInfo.CreateCustomTimeZone(nameof(TestTimeProvider), TimeSpan.FromHours(1), nameof(TestTimeProvider), nameof(TestTimeProvider));