Show / Hide Table of Contents

Class AbpWebApplicationFactoryIntegratedTest<TProgram>

Inheritance
object
AbpWebApplicationFactoryIntegratedTest<TProgram>
AbpAspNetCoreTestBase<TProgram>
Namespace: Volo.Abp.AspNetCore.TestBase
Assembly: Volo.Abp.AspNetCore.TestBase.dll
Syntax
public abstract class AbpWebApplicationFactoryIntegratedTest<TProgram> : WebApplicationFactory<TProgram> where TProgram : class
Type Parameters
Name Description
TProgram

Constructors

AbpWebApplicationFactoryIntegratedTest()

Declaration
protected AbpWebApplicationFactoryIntegratedTest()

Properties

Client

Declaration
protected HttpClient Client { get; set; }
Property Value
Type Description
HttpClient

ServiceProvider

Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
Type Description
IServiceProvider

Methods

ConfigureServices(IServiceCollection)

Declaration
protected virtual void ConfigureServices(IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services

CreateHost(IHostBuilder)

Declaration
protected override IHost CreateHost(IHostBuilder builder)
Parameters
Type Name Description
IHostBuilder builder
Returns
Type Description
IHost

GetKeyedServices<T>(object?)

Declaration
protected virtual T? GetKeyedServices<T>(object? serviceKey)
Parameters
Type Name Description
object serviceKey
Returns
Type Description
T
Type Parameters
Name Description
T

GetRequiredKeyedService<T>(object?)

Declaration
protected virtual T GetRequiredKeyedService<T>(object? serviceKey) where T : notnull
Parameters
Type Name Description
object serviceKey
Returns
Type Description
T
Type Parameters
Name Description
T

GetRequiredService<T>()

Declaration
protected virtual T GetRequiredService<T>() where T : notnull
Returns
Type Description
T
Type Parameters
Name Description
T

GetService<T>()

Declaration
protected virtual T? GetService<T>()
Returns
Type Description
T
Type Parameters
Name Description
T

GetUrl<TController>()

Declaration
protected virtual string GetUrl<TController>()
Returns
Type Description
string
Type Parameters
Name Description
TController

GetUrl<TController>(string)

Declaration
protected virtual string GetUrl<TController>(string actionName)
Parameters
Type Name Description
string actionName
Returns
Type Description
string
Type Parameters
Name Description
TController

GetUrl<TController>(string, object)

Declaration
protected virtual string GetUrl<TController>(string actionName, object queryStringParamsAsAnonymousObject)
Parameters
Type Name Description
string actionName
object queryStringParamsAsAnonymousObject
Returns
Type Description
string
Type Parameters
Name Description
TController

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform