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