1 write to FlushCallCount
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
ConcurrentPipeWriterTests.cs (1)
436
FlushCallCount
++;
17 references to FlushCallCount
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (17)
ConcurrentPipeWriterTests.cs (17)
43
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
59
Assert.Equal(2, mockPipeWriter.
FlushCallCount
);
108
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
120
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
140
Assert.Equal(2, mockPipeWriter.
FlushCallCount
);
153
Assert.Equal(3, mockPipeWriter.
FlushCallCount
);
206
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
221
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
237
Assert.Equal(2, mockPipeWriter.
FlushCallCount
);
247
Assert.Equal(2, mockPipeWriter.
FlushCallCount
);
289
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
304
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
325
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
358
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
369
Assert.Equal(1, mockPipeWriter.
FlushCallCount
);
398
Assert.Equal(2, mockPipeWriter.
FlushCallCount
);
438
return new ValueTask<FlushResult>(_flushResults[
FlushCallCount
- 1].Task);