19 references to TestUtils
Microsoft.AspNetCore.ConcurrencyLimiter.Microbenchmarks (6)
QueueEmptyOverhead.cs (2)
25
_middlewareQueue =
TestUtils
.CreateTestMiddleware_QueuePolicy(
30
_middlewareStack =
TestUtils
.CreateTestMiddleware_StackPolicy(
QueueFullOverhead.cs (2)
27
_middlewareQueue =
TestUtils
.CreateTestMiddleware_QueuePolicy(
32
_middlewareStack =
TestUtils
.CreateTestMiddleware_StackPolicy(
QueueRequestsOverwritten.cs (2)
25
_middlewareQueue =
TestUtils
.CreateTestMiddleware_QueuePolicy(
31
_middlewareStack =
TestUtils
.CreateTestMiddleware_StackPolicy(
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (13)
MiddlewareTests.cs (8)
17
var middleware =
TestUtils
.CreateTestMiddleware(
34
var middleware =
TestUtils
.CreateTestMiddleware(
51
var middleware =
TestUtils
.CreateTestMiddleware(
66
var middleware =
TestUtils
.CreateTestMiddleware(testQueue);
89
var middleware =
TestUtils
.CreateTestMiddleware(testQueue);
111
var middleware =
TestUtils
.CreateTestMiddleware(
146
var middleware =
TestUtils
.CreateTestMiddleware(
187
var middleware =
TestUtils
.CreateTestMiddleware(
PolicyTests\QueuePolicyTests.cs (5)
13
using var s =
TestUtils
.CreateQueuePolicy(2);
28
using var s =
TestUtils
.CreateQueuePolicy(1);
41
using var s =
TestUtils
.CreateQueuePolicy(2, 1);
64
using var s1 =
TestUtils
.CreateQueuePolicy(1);
65
using var s2 =
TestUtils
.CreateQueuePolicy(1);