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