protected AuthMiddlewareAndFilterTestBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
protected RoutingWithoutRazorPagesTestsBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public SerializableErrorTests(MvcTestFixture <XmlFormattersWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public ViewEngineTests(MvcTestFixture <RazorWebSite.Startup> fixture) { Client = fixture.Client; }
public ViewEngineTests(MvcTestFixture <RazorWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public ConsumesAttributeTests(MvcTestFixture <BasicWebSite.Startup> fixture) { Client = fixture.Client; }
public RazorPagesWithEndpointRoutingTest(MvcTestFixture <RazorPagesWebSite.StartupWithEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
public GlobalAuthorizationFilterTest(MvcTestFixture <SecurityWebSite.StartupWithGlobalDenyAnonymousFilter> fixture) { Factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = Factory.CreateDefaultClient(); }
public WebApiCompatShimActionResultTest(MvcTestFixture <WebApiCompatShimWebSite.Startup> fixture) { Client = fixture.Client; }
public TempDataPropertyTest(MvcTestFixture <BasicWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public ApplicationModelTest(MvcTestFixture <ApplicationModelWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public BasicTests(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
public XmlSerializerFormattersWrappingTest(MvcTestFixture <Startup> fixture) { Factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(builder => builder.UseStartup <Startup>()); Client = Factory.CreateDefaultClient(); }
public DirectivesTest(MvcTestFixture <RazorWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public RazorPageModelTest(MvcTestFixture <RazorPagesWebSite.StartupWithoutEndpointRouting> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
protected RequestServicesTestBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public TagHelpersFromServicesTest(MvcTestFixture <ControllersFromServicesWebSite.Startup> fixture) { Client = fixture.Client; }
public FlushPointTest(MvcTestFixture <RazorWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public CorsTests(MvcTestFixture <CorsWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public ApiExplorerTest(MvcTestFixture <ApiExplorerWebSite.Startup> fixture) { Client = fixture.Client; }
public RazorPagesWithBasePathTest(MvcTestFixture <RazorPagesWebSite.StartupWithBasePath> fixture) { Client = fixture.CreateDefaultClient(); }
public RazorPagesTest(MvcTestFixture <RazorPagesWebSite.Startup> fixture) { Client = fixture.Client; }
public OutputFormatterTest(MvcTestFixture <BasicWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public HtmlGenerationWithCultureTest(MvcTestFixture <StartupWithCultureReplace> fixture) { var factory = fixture.WithWebHostBuilder(builder => builder.UseStartup <StartupWithCultureReplace>()); Client = factory.CreateDefaultClient(); }
public RoutingWithoutRazorPagesTests(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) : base(fixture) { }
public WebApiCompatShimBasicTest(MvcTestFixture <WebApiCompatShimWebSite.Startup> fixture) { Client = fixture.Client; }
public DoNotRespectBrowserAcceptHeaderTests(MvcTestFixture <FormatterWebSite.Startup> fixture) { Client = fixture.Client; }
public SimpleWithWebApplicationBuilderTests(MvcTestFixture <SimpleWebSiteWithWebApplicationBuilder.FakeStartup> fixture) { Client = fixture.CreateDefaultClient(); }
public ComponentRenderingFunctionalTests(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Factory = fixture; Client = Client ?? CreateClient(fixture); }
protected ConsumesAttributeTestsBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }