41 references to CreateBuildersWithOutputCaching
Microsoft.AspNetCore.OutputCaching.Tests (41)
OutputCacheTests.cs (41)
19var builders = TestUtils.CreateBuildersWithOutputCaching(); 41var builders = TestUtils.CreateBuildersWithOutputCaching(); 61var builders = TestUtils.CreateBuildersWithOutputCaching(); 81var builders = TestUtils.CreateBuildersWithOutputCaching(); 101var builders = TestUtils.CreateBuildersWithOutputCaching(); 123var builders = TestUtils.CreateBuildersWithOutputCaching(); 154var builders = TestUtils.CreateBuildersWithOutputCaching(); 185var builders = TestUtils.CreateBuildersWithOutputCaching(); 208var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 235var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 258var builders = TestUtils.CreateBuildersWithOutputCaching(); 283var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 307var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From); 331var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 356var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 379var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 402var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 425var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 448var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 470var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 493var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 515var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 537var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 557var builders = TestUtils.CreateBuildersWithOutputCaching(); 581var builders = TestUtils.CreateBuildersWithOutputCaching(); 606var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.SetCookie = "cookieName=cookieValue"); 626var builders = TestUtils.CreateBuildersWithOutputCaching(); 650var builders = TestUtils.CreateBuildersWithOutputCaching(); 674var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.CacheControl = CacheControlHeaderValue.NoStoreString); 694var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => 723var builders = TestUtils.CreateBuildersWithOutputCaching(); 744var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => 772var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.GetTypedHeaders().ETag = new EntityTagHeaderValue("\"E1\"")); 799var builders = TestUtils.CreateBuildersWithOutputCaching(options: options); 819var builders = TestUtils.CreateBuildersWithOutputCaching(options: new OutputCacheOptions() 842var builders = TestUtils.CreateBuildersWithOutputCaching(options: new OutputCacheOptions() 865var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = HeaderNames.From); 889var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: context => context.Response.Headers.Vary = context.Request.Headers.Pragma); 922var builders = TestUtils.CreateBuildersWithOutputCaching(); 942var builders = TestUtils.CreateBuildersWithOutputCaching(contextAction: _ => throw new SomeException()); 971var builders = TestUtils.CreateBuildersWithOutputCaching();