10 references to BrowserTimeProvider
Aspire.Dashboard.Components.Tests (1)
Shared\TestTimeProvider.cs (1)
13public TestTimeProvider() : base(NullLoggerFactory.Instance)
Aspire.Dashboard.Tests (9)
FormatHelpersTests.cs (1)
94return new BrowserTimeProvider(NullLoggerFactory.Instance);
Integration\DashboardClientAuthTests.cs (1)
135timeProvider: new BrowserTimeProvider(NullLoggerFactory.Instance),
Integration\Playwright\Infrastructure\MockDashboardClient.cs (1)
18private static readonly BrowserTimeProvider s_timeProvider = new(NullLoggerFactory.Instance);
Model\DashboardClientTests.cs (1)
19private static readonly BrowserTimeProvider s_timeProvider = new(NullLoggerFactory.Instance);
Model\ResourceSourceViewModelTests.cs (2)
26properties.TryAdd(KnownProperties.Executable.Args, new ResourcePropertyViewModel(KnownProperties.Executable.Args, Value.ForList(testData.ExecutableArguments.Select(Value.ForString).ToArray()), false, null, 0, new BrowserTimeProvider(new NullLoggerFactory()))); 49properties.TryAdd(propertyName, new ResourcePropertyViewModel(propertyName, propertyValue is null ? Value.ForNull() : Value.ForString(propertyValue), false, null, 0, new BrowserTimeProvider(new NullLoggerFactory())));
Model\ResourceStateViewModelTests.cs (2)
68propertiesDictionary.TryAdd(KnownProperties.Resource.ExitCode, new ResourcePropertyViewModel(KnownProperties.Resource.ExitCode, Value.ForNumber((double)exitCode), false, null, 0, new BrowserTimeProvider(new NullLoggerFactory()))); 81resource.Properties.TryAdd(KnownProperties.Resource.ExitCode, new ResourcePropertyViewModel(KnownProperties.Resource.ExitCode, Value.ForNumber((double)exitCode), false, null, 0, new BrowserTimeProvider(new NullLoggerFactory())));
Model\ResourceViewModelTests.cs (1)
17private static readonly BrowserTimeProvider s_timeProvider = new(NullLoggerFactory.Instance);