14 instantiations of TestPartitionedRateLimiter
Microsoft.AspNetCore.RateLimiting.Tests (14)
RateLimitingApplicationBuilderExtensionsTests.cs (2)
44
options.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
50
options.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
RateLimitingMetricsTests.cs (3)
31
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
71
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(true));
130
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(true));
RateLimitingMiddlewareTests.cs (9)
22
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>();
65
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(true));
90
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
115
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
144
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
293
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
325
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(true));
357
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));
524
options.Value.GlobalLimiter = new
TestPartitionedRateLimiter
<HttpContext>(new TestRateLimiter(false));