public RoutingFallbackTest(MvcTestFixture <RoutingWebSite.StartupForFallback> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public XmlOutputFormatterTests(MvcTestFixture <FormatterWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public DefaultValuesTest(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
protected RequestServicesTestBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public NewtonsoftJsonInputFormatterTest(MvcTestFixture <FormatterWebSite.Startup> fixture) : base(fixture) { }
protected AuthMiddlewareAndFilterTestBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public TagHelpersFromServicesTest(MvcTestFixture <ControllersFromServicesWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public VersioningGlobalRoutingTests(MvcTestFixture <VersioningWebSite.StartupWithGlobalRouting> fixture) : base(fixture) { }
public AsyncEnumerableTestBase(MvcTestFixture <StartupWithJsonFormatter> fixture) { Client = fixture.CreateDefaultClient(); }
public VersioningTests(MvcTestFixture<VersioningWebSite.Startup> fixture) : base(fixture) { }
public HtmlHelperOptionsTest(MvcTestFixture <RazorWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public AntiforgeryAuthTests(MvcTestFixture <Startup> fixture) { Client = fixture.CreateDefaultClient(); }
protected ConsumesAttributeTestsBase(MvcTestFixture <TStartup> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public AuthMiddlewareAndFilterTest(MvcTestFixture <SecurityWebSite.StartupWithGlobalAuthFilter> fixture) : base(fixture) { }
public FileResultTests(MvcTestFixture <FilesWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public XmlDataContractSerializerFormattersWrappingTest(MvcTestFixture <Startup> fixture) { Factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(builder => builder.UseStartup <Startup>()); Client = Factory.CreateDefaultClient(); }
public InputValidationTests(MvcTestFixture <FormatterWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public RequestServicesEndpointRoutingTest(MvcTestFixture <BasicWebSite.Startup> fixture) : base(fixture) { }
public LinkParserTest(MvcTestFixture<RoutingWebSite.StartupForLinkGenerator> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public ApiBehaviorTest(MvcTestFixture <BasicWebSite.StartupWithSystemTextJson> fixture) : base(fixture) { }
public GlobalAuthorizationFilterUseMvcTest(MvcTestFixture <SecurityWebSite.StartupWithGlobalDenyAnonymousFilterWithUseMvc> fixture) { Factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = Factory.CreateDefaultClient(); }
public ContentNegotiationTest(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
public XmlSerializerInputFormatterTests(MvcTestFixture <XmlFormattersWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }
public VersioningTests(MvcTestFixture <VersioningWebSite.StartupWithoutEndpointRouting> fixture) : base(fixture) { }
public RoutingEndpointRoutingWithoutRazorPagesTests(MvcTestFixture <BasicWebSite.Startup> fixture) : base(fixture) { }
public NonNullableReferenceTypesTest(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
public OutputFormatterTest(MvcTestFixture <BasicWebSite.StartupWithoutEndpointRouting> fixture) { Client = fixture.CreateDefaultClient(); }
public SystemTextJsonOutputFormatterTest(MvcTestFixture <FormatterWebSite.StartupWithJsonFormatter> fixture) : base(fixture) { }
public RazorPagesViewSearchTest(MvcTestFixture <RazorPagesWebSite.StartupWithoutEndpointRouting> fixture) { var factory = fixture.Factories.FirstOrDefault() ?? fixture.WithWebHostBuilder(ConfigureWebHostBuilder); Client = factory.CreateDefaultClient(); }
public SimpleTests(MvcTestFixture <SimpleWebSite.Startup> fixture) { Client = fixture.CreateDefaultClient(); }