31 references to CreateTestMiddleware
Microsoft.AspNetCore.OutputCaching.Tests (31)
OutputCacheMiddlewareTests.cs (31)
160var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 175var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 212var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 254var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 275var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 293var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 322var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 339var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 354var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 371var middleware = TestUtils.CreateTestMiddleware(options: new OutputCacheOptions 387var middleware = TestUtils.CreateTestMiddleware(options: new OutputCacheOptions 409var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 429var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: options); 452var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: options); 478var middleware = TestUtils.CreateTestMiddleware(testSink: sink, options: options); 519var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 538var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 559var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 577var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 592var middleware = TestUtils.CreateTestMiddleware(testSink: sink); 607var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 635var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 664var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 695var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 720var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 741var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 819var middleware = TestUtils.CreateTestMiddleware(options: options, next: async c => 867var middleware = TestUtils.CreateTestMiddleware(options: options, next: async c => 927var middleware = TestUtils.CreateTestMiddleware(options: options, next: async c => 968var middleware = TestUtils.CreateTestMiddleware(testSink: sink, cache: cache); 1023var middleware = TestUtils.CreateTestMiddleware(options: options, testSink: sink, cache: cache, next: async c =>