3 writes to FakeTimeProvider
InMemory.FunctionalTests (3)
Http2\Http2TestBase.cs (1)
400FakeTimeProvider = _timeProvider,
src\Servers\Kestrel\shared\test\TestServiceContext.cs (2)
46FakeTimeProvider = null; 55FakeTimeProvider = new FakeTimeProvider();
30 references to FakeTimeProvider
InMemory.FunctionalTests (30)
Http2\Http2TestBase.cs (3)
1381_serviceContext.FakeTimeProvider.Advance(timeSpan); 1387var timestamp = _serviceContext.FakeTimeProvider.GetTimestamp(); 1394var timeProvider = _serviceContext.FakeTimeProvider;
Http2\Http2TimeoutTests.cs (1)
248var timeProvider = _serviceContext.FakeTimeProvider;
Http3\Http3TestBase.cs (1)
126Http3Api = new Http3InMemory(_serviceContext, _serviceContext.FakeTimeProvider, _mockTimeoutHandler.Object, LoggerFactory);
Http3\Http3TimeoutTests.cs (7)
129var timeProvider = _serviceContext.FakeTimeProvider; 164var timestamp = _serviceContext.FakeTimeProvider.GetTimestamp(); 217var timeProvider = _serviceContext.FakeTimeProvider; 244var timeProvider = _serviceContext.FakeTimeProvider; 307var timeProvider = _serviceContext.FakeTimeProvider; 447var fakeTimeProvider = _serviceContext.FakeTimeProvider; 489var fakeTimeProvider = _serviceContext.FakeTimeProvider;
KeepAliveTimeoutTests.cs (6)
46testContext.FakeTimeProvider.Advance(_keepAliveTimeout + Heartbeat.Interval + TimeSpan.FromTicks(1)); 80testContext.FakeTimeProvider.Advance(_keepAliveTimeout + Heartbeat.Interval); 119testContext.FakeTimeProvider.Advance(_shortDelay); 159testContext.FakeTimeProvider.Advance(_shortDelay); 194testContext.FakeTimeProvider.Advance(_keepAliveTimeout + Heartbeat.Interval + TimeSpan.FromTicks(1)); 234testContext.FakeTimeProvider.Advance(_shortDelay);
RequestBodyTimeoutTests.cs (2)
77serviceContext.FakeTimeProvider.Advance(TimeSpan.FromSeconds(1)); 203serviceContext.FakeTimeProvider.Advance(TimeSpan.FromSeconds(1));
RequestHeadersTimeoutTests.cs (4)
42testContext.FakeTimeProvider.Advance(RequestHeadersTimeout + Heartbeat.Interval + TimeSpan.FromTicks(1)); 74testContext.FakeTimeProvider.Advance(RequestHeadersTimeout + Heartbeat.Interval + TimeSpan.FromTicks(1)); 107testContext.FakeTimeProvider.Advance(RequestHeadersTimeout + Heartbeat.Interval + TimeSpan.FromTicks(1)); 138testContext.FakeTimeProvider.Advance(ShortDelay);
RequestTests.cs (1)
1666serviceContext.FakeTimeProvider.Advance(TimeSpan.FromSeconds(5));
ResponseDrainingTests.cs (3)
61testContext.FakeTimeProvider.Advance(TimeSpan.FromSeconds(1)); 65testContext.FakeTimeProvider.Advance(Heartbeat.Interval - TimeSpan.FromSeconds(.5)); 70testContext.FakeTimeProvider.Advance(TimeSpan.FromSeconds(1));
src\Servers\Kestrel\shared\test\TestServiceContext.cs (2)
56TimeProvider = FakeTimeProvider; 57DateHeaderValueManager = new DateHeaderValueManager(FakeTimeProvider);