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)
17var middleware = TestUtils.CreateTestMiddleware( 34var middleware = TestUtils.CreateTestMiddleware( 51var middleware = TestUtils.CreateTestMiddleware( 66var middleware = TestUtils.CreateTestMiddleware(testQueue); 89var middleware = TestUtils.CreateTestMiddleware(testQueue); 111var middleware = TestUtils.CreateTestMiddleware( 146var middleware = TestUtils.CreateTestMiddleware( 187var middleware = TestUtils.CreateTestMiddleware(
PolicyTests\QueuePolicyTests.cs (5)
13using var s = TestUtils.CreateQueuePolicy(2); 28using var s = TestUtils.CreateQueuePolicy(1); 41using var s = TestUtils.CreateQueuePolicy(2, 1); 64using var s1 = TestUtils.CreateQueuePolicy(1); 65using var s2 = TestUtils.CreateQueuePolicy(1);