109 references to CreateDefaultClient
AuthSamples.FunctionalTests (3)
ClaimsTransformTests.cs (1)
16
Client = fixture.
CreateDefaultClient
();
IdentityExternalClaimsTests.cs (1)
16
Client = fixture.
CreateDefaultClient
();
StaticFilesAuthTests.cs (1)
16
Client = fixture.
CreateDefaultClient
();
Microsoft.AspNetCore.Mvc.FunctionalTests (105)
AntiforgeryAuthTests.cs (1)
19
Client = Factory.
CreateDefaultClient
();
AntiforgeryTests.cs (1)
18
Client = Factory.
CreateDefaultClient
();
ApiBehaviorTest.cs (2)
27
Client = Factory.
CreateDefaultClient
();
430
var customInvalidModelStateClient = factory.
CreateDefaultClient
();
ApiExplorerTest.cs (1)
23
Client = Factory.
CreateDefaultClient
();
ApplicationModelTest.cs (1)
18
Client = Factory.
CreateDefaultClient
();
AsyncActionsTests.cs (1)
18
Client = Factory.
CreateDefaultClient
();
AsyncDisposalTest.cs (1)
23
Client = Factory.
CreateDefaultClient
();
AsyncEnumerableTestBase.cs (1)
21
Client = Factory.
CreateDefaultClient
();
AuthMiddlewareAndFilterTestBase.cs (1)
21
Client = Factory.
CreateDefaultClient
();
AuthMiddlewareUsingRequireAuthTest.cs (1)
20
Client = Factory.
CreateDefaultClient
();
BasicTests.cs (1)
29
Client = Factory.
CreateDefaultClient
();
CompilationOptionsTests.cs (1)
19
Client = Factory.
CreateDefaultClient
();
ConsumesAttributeTestsBase.cs (1)
25
Client = Factory.
CreateDefaultClient
();
ContentNegotiationTest.cs (1)
25
Client = Factory.
CreateDefaultClient
();
ControllerFromServicesTests.cs (1)
18
Client = Factory.
CreateDefaultClient
();
CorsTestsBase.cs (1)
21
Client = Factory.
CreateDefaultClient
();
CustomValueProviderTest.cs (1)
26
Client = Factory.
CreateDefaultClient
();
DataAnnotationTests.cs (1)
25
Client = Factory.
CreateDefaultClient
();
DefaultValuesTest.cs (1)
17
Client = Factory.
CreateDefaultClient
();
DirectivesTest.cs (1)
17
Client = Factory.
CreateDefaultClient
();
DoNotRespectBrowserAcceptHeaderTests.cs (1)
26
Client = Factory.
CreateDefaultClient
();
ErrorPageTests.cs (2)
34
Client = Factory.
CreateDefaultClient
();
55
var client = factory.
CreateDefaultClient
();
FileResultTests.cs (1)
21
Client = Factory.
CreateDefaultClient
();
FiltersTest.cs (1)
19
Client = Factory.
CreateDefaultClient
();
FlushPointTest.cs (1)
17
Client = Factory.
CreateDefaultClient
();
FormFileUploadTest.cs (1)
18
Client = Factory.
CreateDefaultClient
();
GlobalAuthorizationFilterTestBase.cs (1)
20
Client = Factory.
CreateDefaultClient
();
HtmlGenerationTest.cs (3)
27
Client = Factory.
CreateDefaultClient
();
28
EncodedClient = EncodedFactory.
CreateDefaultClient
();
218
.
CreateDefaultClient
();
HtmlGenerationWithCultureTest.cs (2)
29
Client = Factory.
CreateDefaultClient
();
143
.
CreateDefaultClient
();
HtmlHelperOptionsTest.cs (1)
20
Client = Factory.
CreateDefaultClient
();
HttpActionResultTests.cs (1)
20
Client = Factory.
CreateDefaultClient
();
InputFormatterTests.cs (1)
25
Client = Factory.
CreateDefaultClient
();
InputObjectValidationTests.cs (1)
25
Client = Factory.
CreateDefaultClient
();
InputParentValidationTests.cs (1)
29
Client = Factory.
CreateDefaultClient
();
InputValidationTests.cs (1)
20
Client = Factory.
CreateDefaultClient
();
JsonInputFormatterTestBase.cs (1)
27
Client = Factory.
CreateDefaultClient
();
JsonOutputFormatterTestBase.cs (1)
28
Client = Factory.
CreateDefaultClient
();
JsonPatchInputFormatterTest.cs (1)
21
Client = Factory.
CreateDefaultClient
();
JsonResultWithNewtonsoftJsonTest.cs (1)
26
Client = Factory.
CreateDefaultClient
();
JsonResultWithSystemTextJsonTest.cs (1)
26
Client = Factory.
CreateDefaultClient
();
KeyedServicesTests.cs (1)
17
Client = Factory.
CreateDefaultClient
();
LinkGenerationTests.cs (1)
28
Client = Factory.
CreateDefaultClient
();
LinkGeneratorTest.cs (1)
25
Client = Factory.
CreateDefaultClient
();
LinkParserTest.cs (1)
25
Client = Factory.
CreateDefaultClient
();
MvcSandboxTest.cs (1)
18
Client = Factory.
CreateDefaultClient
();
NonNullableReferenceTypesTest.cs (1)
19
Client = Factory.
CreateDefaultClient
();
OutputFormatterTest.cs (1)
19
Client = Factory.
CreateDefaultClient
();
PageAsyncDisposalTest.cs (1)
26
Client = Factory.
CreateDefaultClient
();
RazorBuildTest.cs (1)
40
Client = Factory.
CreateDefaultClient
();
RazorPageModelTest.cs (1)
23
Client = Factory.
CreateDefaultClient
();
RazorPagesNamespaceTest.cs (1)
22
Client = Factory.
CreateDefaultClient
();
RazorPagesTest.cs (1)
30
Client = Factory.
CreateDefaultClient
();
RazorPagesViewSearchTest.cs (1)
22
Client = Factory.
CreateDefaultClient
();
RazorPagesWithBasePathTest.cs (1)
19
Client = Factory.
CreateDefaultClient
();
RazorPagesWithEndpointRoutingTest.cs (1)
18
Client = Factory.
CreateDefaultClient
();
RazorRuntimeCompilationHostingStartupTest.cs (1)
37
Client = Factory.
CreateDefaultClient
();
RazorViewLocationSpecificationTest.cs (1)
20
Client = Factory.
CreateDefaultClient
();
ReadFromDisconnectedClientTest.cs (1)
26
Client = Factory.
CreateDefaultClient
();
RemoteAttributeValidationTest.cs (1)
21
Client = Factory.
CreateDefaultClient
();
RequestFormLimitsTest.cs (1)
23
Client = Factory.
CreateDefaultClient
();
RequestServicesTestBase.cs (1)
26
Client = Factory.
CreateDefaultClient
();
RequestSizeLimitTest.cs (1)
24
Client = Factory.
CreateDefaultClient
();
RespectBrowserAcceptHeaderTests.cs (1)
27
Client = Factory.
CreateDefaultClient
();
RoutingAcrossPipelineBranchesTest.cs (1)
24
Client = Factory.
CreateDefaultClient
();
RoutingDynamicTest.cs (3)
23
Client = Factory.
CreateDefaultClient
();
147
var client = Factory.WithWebHostBuilder(b => b.UseStartup<StartupForDynamicAndRazorPages>()).
CreateDefaultClient
();
164
var client = Factory.WithWebHostBuilder(b => b.UseStartup<StartupForDynamicAndRazorPages>()).
CreateDefaultClient
();
RoutingFallbackTest.cs (1)
24
Client = Factory.
CreateDefaultClient
();
RoutingGroupsTest.cs (1)
25
Client = Factory.
CreateDefaultClient
();
RoutingTestsBase.cs (1)
24
Client = Factory.
CreateDefaultClient
();
RoutingWithoutRazorPagesTestsBase.cs (1)
24
Client = Factory.
CreateDefaultClient
();
SerializableErrorTests.cs (1)
21
Client = Factory.
CreateDefaultClient
();
SimpleTests.cs (1)
17
Client = Factory.
CreateDefaultClient
();
SimpleWithWebApplicationBuilderTests.cs (4)
27
Client = Factory.
CreateDefaultClient
();
169
using var client = fixture.
CreateDefaultClient
();
188
using var client = fixture.
CreateDefaultClient
();
209
using var client = fixture.
CreateDefaultClient
();
StreamOutputFormatterTest.cs (1)
17
Client = Factory.
CreateDefaultClient
();
TagHelperComponentTagHelperTest.cs (1)
20
Client = Factory.
CreateDefaultClient
();
TagHelpersFromServicesTest.cs (1)
17
Client = Factory.
CreateDefaultClient
();
TagHelpersTest.cs (2)
27
Client = Factory.
CreateDefaultClient
();
28
EncodedClient = EncodedFactory.
CreateDefaultClient
();
TempDataInCookiesUsingCookieConsentTest.cs (1)
21
Client = Factory.
CreateDefaultClient
();
TempDataPropertyTest.cs (1)
19
Client = Factory.
CreateDefaultClient
();
TempDataTestBase.cs (1)
21
Client = Factory.
CreateDefaultClient
();
TestingInfrastructureTests.cs (5)
101
var client = Factory.
CreateDefaultClient
(
117
var client = Factory.
CreateDefaultClient
(
131
var client = Factory.
CreateDefaultClient
(
144
var client = Factory.
CreateDefaultClient
(
235
var client = Factory.
CreateDefaultClient
(
UrlResolutionTest.cs (2)
21
Client = Factory.
CreateDefaultClient
();
22
EncodedClient = EncodedFactory.
CreateDefaultClient
();
VersioningTestsBase.cs (1)
24
Client = Factory.
CreateDefaultClient
();
ViewComponentFromServicesTests.cs (1)
18
Client = Factory.
CreateDefaultClient
();
ViewEngineTests.cs (1)
23
Client = Factory.
CreateDefaultClient
();
XmlDataContractSerializerFormattersWrappingTest.cs (1)
24
Client = Factory.
CreateDefaultClient
();
XmlDataContractSerializerInputFormatterTest.cs (1)
22
Client = Factory.
CreateDefaultClient
();
XmlOutputFormatterTests.cs (1)
21
Client = Factory.
CreateDefaultClient
();
XmlSerializerFormattersWrappingTest.cs (1)
25
Client = Factory.
CreateDefaultClient
();
XmlSerializerInputFormatterTests.cs (1)
21
Client = Factory.
CreateDefaultClient
();
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
527
var client =
CreateDefaultClient
(handlers);