1 type derived from WebApplicationFactory
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
838
private sealed class DelegatedWebApplicationFactory :
WebApplicationFactory
<TEntryPoint>
28 references to WebApplicationFactory
Microsoft.AspNetCore.Mvc.Testing (28)
_generated\2\CustomJsonSerializerContext.g.cs (2)
26
public static global::Microsoft.AspNetCore.Mvc.Testing.
WebApplicationFactory
<TEntryPoint>.CustomJsonSerializerContext Default { get; } = new global::Microsoft.AspNetCore.Mvc.Testing.
WebApplicationFactory
<TEntryPoint>.CustomJsonSerializerContext(new global::System.Text.Json.JsonSerializerOptions(s_defaultOptions));
WebApplicationFactory.cs (17)
45
private readonly List<
WebApplicationFactory
<TEntryPoint>> _derivedFactories = new();
49
/// Creates an instance of <see cref="
WebApplicationFactory
{TEntryPoint}"/>. This factory can be used to
52
/// The <see cref="
WebApplicationFactory
{TEntryPoint}"/> will find the entry point class of <typeparamref name="TEntryPoint"/>
60
/// In case an attribute with the right key can't be found, <see cref="
WebApplicationFactory
{TEntryPoint}"/>
76
/// Finalizes an instance of the <see cref="
WebApplicationFactory
{TEntryPoint}"/> class.
84
/// Gets the <see cref="TestServer"/> created by this <see cref="
WebApplicationFactory
{TEntryPoint}"/>.
101
/// Gets the <see cref="IServiceProvider"/> created by the server associated with this <see cref="
WebApplicationFactory
{TEntryPoint}"/>.
127
/// <see cref="
WebApplicationFactory
{TEntryPoint}.WithWebHostBuilder(Action{IWebHostBuilder})"/>.
129
public IReadOnlyList<
WebApplicationFactory
<TEntryPoint>> Factories => _derivedFactories.AsReadOnly();
137
/// Creates a new <see cref="
WebApplicationFactory
{TEntryPoint}"/> with a <see cref="IWebHostBuilder"/>
143
/// <returns>A new <see cref="
WebApplicationFactory
{TEntryPoint}"/>.</returns>
144
public
WebApplicationFactory
<TEntryPoint> WithWebHostBuilder(Action<IWebHostBuilder> configuration) =>
147
internal virtual
WebApplicationFactory
<TEntryPoint> WithWebHostBuilderCore(Action<IWebHostBuilder> configuration)
308
typeof(
WebApplicationFactory
<TEntryPoint>).Name,
726
/// Configures <see cref="HttpClient"/> instances created by this <see cref="
WebApplicationFactory
{TEntryPoint}"/>.
818
foreach (
var
factory in _derivedFactories)
887
internal override
WebApplicationFactory
<TEntryPoint> WithWebHostBuilderCore(Action<IWebHostBuilder> configuration)
WebApplicationFactoryClientOptions.cs (5)
13
/// <see cref="
WebApplicationFactory
{TEntryPoint}.CreateClient(WebApplicationFactoryClientOptions)"/>.
37
/// <see cref="
WebApplicationFactory
{TEntryPoint}.CreateClient(WebApplicationFactoryClientOptions)"/>.
44
/// <see cref="
WebApplicationFactory
{TEntryPoint}.CreateClient(WebApplicationFactoryClientOptions)"/>
52
/// created by calling <see cref="
WebApplicationFactory
{TEntryPoint}.CreateClient(WebApplicationFactoryClientOptions)"/>
60
/// <see cref="
WebApplicationFactory
{TEntryPoint}.CreateClient(WebApplicationFactoryClientOptions)"/>
WebApplicationFactoryContentRootAttribute.cs (4)
10
/// Metadata that <see cref="
WebApplicationFactory
{TEntryPoint}"/> uses to find out the content
12
/// <see cref="
WebApplicationFactory
{TEntryPoint}"/> will iterate over all the instances of
16
/// <see cref="
WebApplicationFactory
{TEntryPoint}"/> will check for the existence of the marker
28
/// key is used by <see cref="
WebApplicationFactory
{TEntryPoint}"/> to determine what of the