1 write to _mockTimeoutHandler
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
TimeoutControlTests.cs (1)
19
_mockTimeoutHandler
= new Mock<ITimeoutHandler>();
33 references to _mockTimeoutHandler
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (33)
TimeoutControlTests.cs (33)
21
_timeoutControl = new TimeoutControl(
_mockTimeoutHandler
.Object, _timeProvider);
36
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
48
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
57
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Once);
78
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
88
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
117
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
125
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
133
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
141
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
149
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
185
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
198
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
205
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
227
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
243
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
250
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
273
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
280
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.RequestBodyDrain), Times.Once);
314
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
321
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
328
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
357
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
367
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.ReadDataRate), Times.Once);
385
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Once);
404
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
409
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Once);
432
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
440
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Once);
467
_mockTimeoutHandler
.Verify(h => h.OnTimeout(It.IsAny<TimeoutReason>()), Times.Never);
473
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Once);
492
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Never);
497
_mockTimeoutHandler
.Verify(h => h.OnTimeout(TimeoutReason.WriteDataRate), Times.Once);