88 references to CreateTestContext
Microsoft.AspNetCore.OutputCaching.Tests (88)
OutputCacheKeyProviderTests.cs (30)
19var context = TestUtils.CreateTestContext(); 34var context = TestUtils.CreateTestContext(); 54var context = TestUtils.CreateTestContext(); 69var context = TestUtils.CreateTestContext(); 79var context = TestUtils.CreateTestContext(); 88var context = TestUtils.CreateTestContext(); 98var context = TestUtils.CreateTestContext(); 111var context = TestUtils.CreateTestContext(); 132var context = TestUtils.CreateTestContext(); 144var context = TestUtils.CreateTestContext(); 157var context = TestUtils.CreateTestContext(); 169var context = TestUtils.CreateTestContext(); 182var context = TestUtils.CreateTestContext(); 195var context = TestUtils.CreateTestContext(); 208var context = TestUtils.CreateTestContext(); 221var context = TestUtils.CreateTestContext(); 236var context = TestUtils.CreateTestContext(); 251var context = TestUtils.CreateTestContext(); 266var context = TestUtils.CreateTestContext(); 285var context = TestUtils.CreateTestContext(); 297var context = TestUtils.CreateTestContext(); 310var context = TestUtils.CreateTestContext(); 322var context = TestUtils.CreateTestContext(); 336var context = TestUtils.CreateTestContext(); 350var context = TestUtils.CreateTestContext(); 363var context = TestUtils.CreateTestContext(); 376var context = TestUtils.CreateTestContext(); 389var context = TestUtils.CreateTestContext(); 403var context = TestUtils.CreateTestContext(); 418var context = TestUtils.CreateTestContext();
OutputCacheMiddlewareTests.cs (41)
38var context = TestUtils.CreateTestContext(cache: cache); 58var context = TestUtils.CreateTestContext(cache: cache); 74var context = TestUtils.CreateTestContext(cache: cache); 102var context = TestUtils.CreateTestContext(cache: cache); 132var context = TestUtils.CreateTestContext(cache: cache); 161var context = TestUtils.CreateTestContext(testSink: sink); 174var context = TestUtils.CreateTestContext(testSink: sink); 213var context = TestUtils.CreateTestContext(testSink: sink); 255var context = TestUtils.CreateTestContext(testSink: sink); 276var context = TestUtils.CreateTestContext(testSink: sink); 294var context = TestUtils.CreateTestContext(testSink: sink); 323var context = TestUtils.CreateTestContext(testSink: sink); 340var context = TestUtils.CreateTestContext(testSink: sink); 355var context = TestUtils.CreateTestContext(testSink: sink); 375var context = TestUtils.CreateTestContext(); 391var context = TestUtils.CreateTestContext(); 410var context = TestUtils.CreateTestContext(); 430var context = TestUtils.CreateTestContext(); 453var context = TestUtils.CreateTestContext(); 479var context = TestUtils.CreateTestContext(); 520var context = TestUtils.CreateTestContext(cache: cache); 539var context = TestUtils.CreateTestContext(); 560var context = TestUtils.CreateTestContext(); 578var context = TestUtils.CreateTestContext(); 593var context = TestUtils.CreateTestContext(); 608var context = TestUtils.CreateTestContext(cache: cache); 636var context = TestUtils.CreateTestContext(cache: cache); 665var context = TestUtils.CreateTestContext(cache: cache); 696var context = TestUtils.CreateTestContext(cache: cache); 721var context = TestUtils.CreateTestContext(cache: cache); 742var context = TestUtils.CreateTestContext(cache: cache); 768var context = TestUtils.CreateTestContext(); 794var context = TestUtils.CreateTestContext(httpContext); 831var context1 = TestUtils.CreateTestContext(); 835var context2 = TestUtils.CreateTestContext(); 882var context1 = TestUtils.CreateTestContext(); 887var context2 = TestUtils.CreateTestContext(); 946var context1 = TestUtils.CreateTestContext(); 950var context2 = TestUtils.CreateTestContext(); 969var context = TestUtils.CreateTestContext(cache: cache); 1042var requestContext = TestUtils.CreateTestContext(cache: cache);
OutputCachePolicyProviderTests.cs (17)
47var context = TestUtils.CreateTestContext(testSink: sink); 66var context = TestUtils.CreateTestContext(testSink: sink); 80var context = TestUtils.CreateTestContext(testSink: sink); 96var context = TestUtils.CreateTestContext(testSink: sink); 114var context = TestUtils.CreateTestContext(testSink: sink); 130var context = TestUtils.CreateTestContext(testSink: sink); 144var context = TestUtils.CreateTestContext(testSink: sink); 162var context = TestUtils.CreateTestContext(testSink: sink); 180var context = TestUtils.CreateTestContext(testSink: sink); 198var context = TestUtils.CreateTestContext(testSink: sink); 212var context = TestUtils.CreateTestContext(testSink: sink); 226var context = TestUtils.CreateTestContext(testSink: sink); 245var context = TestUtils.CreateTestContext(testSink: sink); 321var context = TestUtils.CreateTestContext(testSink: sink); 335var context = TestUtils.CreateTestContext(testSink: sink); 355var context = TestUtils.CreateTestContext(testSink: sink); 378var context = TestUtils.CreateTestContext(testSink: sink);