3 writes to FakeTimeProvider
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
KestrelServerTests.cs (1)
725
FakeTimeProvider
= timeProvider,
src\Servers\Kestrel\shared\test\TestServiceContext.cs (2)
46
FakeTimeProvider
= null;
55
FakeTimeProvider
= new FakeTimeProvider();
4 references to FakeTimeProvider
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
KestrelServerTests.cs (2)
743
testContext.
FakeTimeProvider
.Advance(TimeSpan.FromDays(1));
747
Assert.Equal(HeaderUtilities.FormatDate(testContext.
FakeTimeProvider
.GetUtcNow()),
src\Servers\Kestrel\shared\test\TestServiceContext.cs (2)
56
TimeProvider =
FakeTimeProvider
;
57
DateHeaderValueManager = new DateHeaderValueManager(
FakeTimeProvider
);