Base:
86 references to GetUtcNow
Aspire.Hosting.Tests (1)
Microsoft.AspNetCore.Authentication.Test (3)
Microsoft.AspNetCore.Identity.Test (3)
Microsoft.AspNetCore.OutputCaching.Tests (9)
Microsoft.AspNetCore.ResponseCaching.Tests (9)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (23)
ResourceMonitoringServiceTests.cs (13)
389TimeSpan.FromTicks(clock.GetUtcNow().Ticks),
403TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod).Ticks),
408TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 2).Ticks),
413TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 3).Ticks),
418TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 4).Ticks),
423TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 5).Ticks),
496TimeSpan.FromTicks(clock.GetUtcNow().Ticks),
509TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod).Ticks),
514TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 2).Ticks),
519TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 3).Ticks),
524TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 4).Ticks),
529TimeSpan.FromTicks(clock.GetUtcNow().AddMilliseconds(TimerPeriod * 5).Ticks),
644TimeSpan.FromTicks(_clock.GetUtcNow().Ticks),
Microsoft.Extensions.Diagnostics.Testing.Tests (5)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.TimeProvider.Testing.Tests (25)