96 references to MvcTestFixture
Microsoft.AspNetCore.Mvc.FunctionalTests (96)
AntiforgeryAuthTests.cs (1)
18Factory = new MvcTestFixture<Startup>(LoggerFactory);
AntiforgeryTests.cs (1)
17Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
ApiBehaviorTest.cs (2)
26Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder); 428await using var factory = new MvcTestFixture<BasicWebSite.StartupWithCustomInvalidModelStateFactory>(LoggerFactory)
ApiExplorerTest.cs (1)
22Factory = new MvcTestFixture<ApiExplorerWebSite.Startup>(LoggerFactory);
ApplicationModelTest.cs (1)
17Factory = new MvcTestFixture<ApplicationModelWebSite.Startup>(LoggerFactory);
AsyncActionsTests.cs (1)
17Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
AsyncDisposalTest.cs (1)
22Factory = new MvcTestFixture<BasicWebSite.Startup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
AsyncEnumerableTestBase.cs (1)
20Factory = new MvcTestFixture<StartupWithJsonFormatter>(LoggerFactory);
AuthMiddlewareAndFilterTestBase.cs (1)
20Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
AuthMiddlewareUsingRequireAuthTest.cs (1)
19Factory = new MvcTestFixture<SecurityWebSite.StartupWithRequireAuth>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
BasicTests.cs (1)
28Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
ClientValidationOptionsTests.cs (1)
16Factory = new MvcTestFixture<RazorPagesWebSite.Startup>(LoggerFactory);
CompilationOptionsTests.cs (1)
18Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
ComponentRenderingFunctionalTests.cs (1)
22Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
ConsumesAttributeTestsBase.cs (1)
24Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
ContentNegotiationTest.cs (1)
24Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
ControllerEndpointFiltersTest.cs (1)
23Factory = new MvcTestFixture<StartupForEndpointFilters>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
ControllerFromServicesTests.cs (1)
17Factory = new MvcTestFixture<ControllersFromServicesWebSite.Startup>(LoggerFactory);
CorsTestsBase.cs (1)
20Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
CustomValueProviderTest.cs (1)
23Factory = new MvcTestFixture<BasicWebSite.StartupWithCustomValueProvider>(LoggerFactory)
DataAnnotationTests.cs (1)
20Factory = new MvcTestFixture<StartupDataAnnotations>(LoggerFactory)
DefaultValuesTest.cs (1)
16Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
DirectivesTest.cs (1)
16Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
DoNotRespectBrowserAcceptHeaderTests.cs (1)
25Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
ErrorPageTests.cs (1)
32Factory = new MvcTestFixture<ErrorPageMiddlewareWebSite.Startup>(LoggerFactory)
FileResultTests.cs (1)
20Factory = new MvcTestFixture<FilesWebSite.Startup>(LoggerFactory);
FiltersTest.cs (1)
18Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
FlushPointTest.cs (1)
16Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
FormFileUploadTest.cs (1)
17Factory = new MvcTestFixture<FilesWebSite.Startup>(LoggerFactory);
GlobalAuthorizationFilterTestBase.cs (1)
19Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
HtmlGenerationTest.cs (1)
25Factory = new MvcTestFixture<HtmlGenerationWebSite.Startup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
HtmlGenerationWithCultureTest.cs (1)
27Factory = new MvcTestFixture<StartupWithCultureReplace>(LoggerFactory)
HtmlHelperOptionsTest.cs (1)
19Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
HttpActionResultTests.cs (1)
19Factory = new MvcTestFixture<BasicWebSite.StartupWithSystemTextJson>(LoggerFactory);
Infrastructure\MvcEncodedTestFixtureOfT.cs (1)
16public MvcEncodedTestFixture(ILoggerFactory outputHelper) : base(outputHelper) { }
InputFormatterTests.cs (1)
24Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
InputObjectValidationTests.cs (1)
24Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
InputParentValidationTests.cs (1)
28Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(builder => builder.UseStartup<TStartup>());
InputValidationTests.cs (1)
19Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
JsonInputFormatterTestBase.cs (1)
26Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
JsonOutputFormatterTestBase.cs (1)
27Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
JsonPatchInputFormatterTest.cs (1)
20Factory = new MvcTestFixture<Startup>(LoggerFactory);
JsonResultWithNewtonsoftJsonTest.cs (1)
23Factory = new MvcTestFixture<BasicWebSite.StartupWithNewtonsoftJson>(LoggerFactory)
JsonResultWithSystemTextJsonTest.cs (1)
23Factory = new MvcTestFixture<BasicWebSite.StartupWithSystemTextJson>(LoggerFactory)
KeyedServicesTests.cs (1)
16Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
LinkGenerationTests.cs (1)
27Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
LinkGeneratorTest.cs (1)
23Factory = new MvcTestFixture<RoutingWebSite.StartupForLinkGenerator>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder)
LinkParserTest.cs (1)
24Factory = new MvcTestFixture<RoutingWebSite.StartupForLinkGenerator>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
MvcSandboxTest.cs (1)
17Factory = new MvcTestFixture<MvcSandbox.Startup>(LoggerFactory);
NonNullableReferenceTypesTest.cs (1)
18Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
OutputFormatterTest.cs (1)
18Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
PageAsyncDisposalTest.cs (1)
25Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithoutEndpointRouting>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RazorBuildTest.cs (1)
27Factory = new MvcTestFixture<RazorBuildWebSite.Startup>(LoggerFactory)
RazorPageModelTest.cs (1)
22Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithoutEndpointRouting>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RazorPagesNamespaceTest.cs (1)
21Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithoutEndpointRouting>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RazorPagesTest.cs (1)
29Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithoutEndpointRouting>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RazorPagesViewSearchTest.cs (1)
21Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithoutEndpointRouting>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RazorPagesWithBasePathTest.cs (1)
18Factory = new MvcTestFixture<RazorPagesWebSite.StartupWithBasePath>(LoggerFactory);
RazorPagesWithEndpointRoutingTest.cs (1)
17Factory = new MvcTestFixture<RazorPagesWebSite.Startup>(LoggerFactory);
RazorRuntimeCompilationHostingStartupTest.cs (1)
24Factory = new MvcTestFixture<RazorBuildWebSite.StartupWithHostingStartup>(LoggerFactory)
RazorViewLocationSpecificationTest.cs (1)
19Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
ReadFromDisconnectedClientTest.cs (1)
25Factory = new MvcTestFixture<BasicWebSite.StartupWhereReadingRequestBodyThrows>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RemoteAttributeValidationTest.cs (1)
20Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
RequestFormLimitsTest.cs (1)
22Factory = new MvcTestFixture<BasicWebSite.StartupRequestLimitSize>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RequestServicesTestBase.cs (1)
25Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RequestSizeLimitTest.cs (1)
23Factory = new MvcTestFixture<BasicWebSite.StartupRequestLimitSize>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RespectBrowserAcceptHeaderTests.cs (1)
26Factory = new MvcTestFixture<FormatterWebSite.StartupWithRespectBrowserAcceptHeader>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingAcrossPipelineBranchesTest.cs (1)
23Factory = new MvcTestFixture<RoutingWebSite.StartupRoutingDifferentBranches>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingDynamicOrderTest.cs (1)
23Factory = new MvcTestFixture<RoutingWebSite.StartupForDynamic>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingDynamicTest.cs (1)
22Factory = new MvcTestFixture<RoutingWebSite.StartupForDynamic>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingFallbackTest.cs (1)
23Factory = new MvcTestFixture<RoutingWebSite.StartupForFallback>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingGroupsTest.cs (1)
24Factory = new MvcTestFixture<StartupForGroups>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingGroupsWithMetadataTest.cs (1)
23Factory = new MvcTestFixture<StartupForRouteGroupsWithMetadata>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingTestsBase.cs (1)
23Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
RoutingWithoutRazorPagesTestsBase.cs (1)
23Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
SerializableErrorTests.cs (1)
20Factory = new MvcTestFixture<XmlFormattersWebSite.Startup>(LoggerFactory);
SimpleTests.cs (1)
16Factory = new MvcTestFixture<SimpleWebSite.Startup>(LoggerFactory);
SimpleWithWebApplicationBuilderExceptionTests.cs (1)
15Factory = new MvcTestFixture<SimpleWebSiteWithWebApplicationBuilderException.Program>(LoggerFactory);
SimpleWithWebApplicationBuilderTests.cs (1)
26Factory = new MvcTestFixture<SimpleWebSiteWithWebApplicationBuilder.Program>(LoggerFactory);
StreamOutputFormatterTest.cs (1)
16Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
TagHelperComponentTagHelperTest.cs (1)
19Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
TagHelpersFromServicesTest.cs (1)
16Factory = new MvcTestFixture<ControllersFromServicesWebSite.Startup>(LoggerFactory);
TagHelpersTest.cs (1)
25Factory = new MvcTestFixture<TagHelpersWebSite.Startup>(LoggerFactory);
TempDataInCookiesUsingCookieConsentTest.cs (1)
20Factory = new MvcTestFixture<BasicWebSite.StartupWithCookieTempDataProviderAndCookieConsent>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
TempDataPropertyTest.cs (1)
18Factory = new MvcTestFixture<BasicWebSite.StartupWithoutEndpointRouting>(LoggerFactory);
TempDataTestBase.cs (1)
20Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
UrlResolutionTest.cs (1)
19Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
VersioningTestsBase.cs (1)
23Factory = new MvcTestFixture<TStartup>(LoggerFactory).WithWebHostBuilder(ConfigureWebHostBuilder);
ViewComponentFromServicesTests.cs (1)
17Factory = new MvcTestFixture<ControllersFromServicesWebSite.Startup>(LoggerFactory);
ViewEngineTests.cs (1)
22Factory = new MvcTestFixture<RazorWebSite.Startup>(LoggerFactory);
XmlDataContractSerializerFormattersWrappingTest.cs (1)
23Factory = new MvcTestFixture<Startup>(LoggerFactory);
XmlDataContractSerializerInputFormatterTest.cs (1)
21Factory = new MvcTestFixture<Startup>(LoggerFactory);
XmlOutputFormatterTests.cs (1)
20Factory = new MvcTestFixture<FormatterWebSite.Startup>(LoggerFactory);
XmlSerializerFormattersWrappingTest.cs (1)
24Factory = new MvcTestFixture<Startup>(LoggerFactory);
XmlSerializerInputFormatterTests.cs (1)
20Factory = new MvcTestFixture<XmlFormattersWebSite.Startup>(LoggerFactory);