137 instantiations of FakeTimeProvider
Aspire.Hosting.Tests (1)
InMemory.FunctionalTests (3)
Microsoft.AspNetCore.Authentication.Test (3)
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Microsoft.AspNetCore.Identity.InMemory.Test (5)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.OutputCaching.Tests (5)
Microsoft.AspNetCore.ResponseCaching.Tests (5)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (7)
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (25)
Microsoft.Extensions.Diagnostics.Testing.Tests (13)
Microsoft.Extensions.Hosting.Testing.Tests (6)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.TimeProvider.Testing.Tests (40)
FakeTimeProviderTests.cs (24)
18var timeProvider = new FakeTimeProvider();
47var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
84var timeProvider = new FakeTimeProvider();
93var timeProvider = new FakeTimeProvider();
106var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
130var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
154var timeProvider = new FakeTimeProvider();
163var tp = new FakeTimeProvider();
190var tp = new FakeTimeProvider();
219var timeProvider = new FakeTimeProvider(dto);
228var timeProvider = new FakeTimeProvider();
238var timeProvider = new FakeTimeProvider();
252var timeProvider = new FakeTimeProvider();
268var timeProvider = new FakeTimeProvider();
280var timeProvider = new FakeTimeProvider();
307var timeProvider = new FakeTimeProvider();
326var timeProvider = new FakeTimeProvider();
344var timeProvider = new FakeTimeProvider();
359var timeProvider = new FakeTimeProvider(DateTimeOffset.UtcNow)
376var timeProvider = new FakeTimeProvider();
386var timeProvider = new FakeTimeProvider
401var timeProvider = new FakeTimeProvider();
418var provider = new FakeTimeProvider { AutoAdvanceAmount = TimeSpan.FromSeconds(2) };
449var provider = new FakeTimeProvider();
Sockets.BindTests (1)
Sockets.FunctionalTests (1)
145 references to FakeTimeProvider
Aspire.Hosting.Tests (1)
InMemory.FunctionalTests (14)
Microsoft.AspNetCore.Authentication.Test (3)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (8)
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Microsoft.AspNetCore.Identity.InMemory.Test (5)
Microsoft.AspNetCore.Identity.Test (1)
Microsoft.AspNetCore.OutputCaching.Tests (5)
Microsoft.AspNetCore.ResponseCaching.Tests (5)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
Microsoft.AspNetCore.SignalR.Tests (7)
Microsoft.Extensions.Diagnostics.Probes.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (13)
Microsoft.Extensions.Diagnostics.Testing.Tests (13)
Microsoft.Extensions.Hosting.Testing.Tests (3)
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Microsoft.Extensions.Http.Resilience.Tests (2)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (1)
Microsoft.Extensions.TimeProvider.Testing (5)
Microsoft.Extensions.TimeProvider.Testing.Tests (36)
FakeTimeProviderTests.cs (24)
18var timeProvider = new FakeTimeProvider();
47var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
84var timeProvider = new FakeTimeProvider();
93var timeProvider = new FakeTimeProvider();
106var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
130var timeProvider = new FakeTimeProvider(new DateTimeOffset(2001, 2, 3, 4, 5, 6, TimeSpan.Zero));
154var timeProvider = new FakeTimeProvider();
163var tp = new FakeTimeProvider();
190var tp = new FakeTimeProvider();
219var timeProvider = new FakeTimeProvider(dto);
228var timeProvider = new FakeTimeProvider();
238var timeProvider = new FakeTimeProvider();
252var timeProvider = new FakeTimeProvider();
268var timeProvider = new FakeTimeProvider();
280var timeProvider = new FakeTimeProvider();
307var timeProvider = new FakeTimeProvider();
326var timeProvider = new FakeTimeProvider();
344var timeProvider = new FakeTimeProvider();
359var timeProvider = new FakeTimeProvider(DateTimeOffset.UtcNow)
376var timeProvider = new FakeTimeProvider();
386var timeProvider = new FakeTimeProvider
401var timeProvider = new FakeTimeProvider();
418var provider = new FakeTimeProvider { AutoAdvanceAmount = TimeSpan.FromSeconds(2) };
449var provider = new FakeTimeProvider();
Sockets.BindTests (1)
Sockets.FunctionalTests (1)