Show / Hide Table of Contents

Class AbpIntegratedTest<TStartupModule>

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<TStartupModule>
Implements
IDisposable
Inherited Members
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.GetKeyedServices<T>(object)
AbpTestBaseWithServiceProvider.GetRequiredKeyedService<T>(object)
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Testing
Assembly: Volo.Abp.TestBase.dll
Syntax
public abstract class AbpIntegratedTest<TStartupModule> : AbpTestBaseWithServiceProvider, IDisposable where TStartupModule : IAbpModule
Type Parameters
Name Description
TStartupModule

Constructors

AbpIntegratedTest()

Declaration
protected AbpIntegratedTest()

Properties

Application

Declaration
protected IAbpApplication Application { get; }
Property Value
Type Description
IAbpApplication

RootServiceProvider

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

TestServiceScope

Declaration
protected IServiceScope TestServiceScope { get; }
Property Value
Type Description
IServiceScope

Methods

AfterAddApplication(IServiceCollection)

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

BeforeAddApplication(IServiceCollection)

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

CreateServiceCollection()

Declaration
protected virtual IServiceCollection CreateServiceCollection()
Returns
Type Description
IServiceCollection

CreateServiceProvider(IServiceCollection)

Declaration
protected virtual IServiceProvider CreateServiceProvider(IServiceCollection services)
Parameters
Type Name Description
IServiceCollection services
Returns
Type Description
IServiceProvider

Dispose()

Declaration
public virtual void Dispose()

SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)

Declaration
protected virtual void SetAbpApplicationCreationOptions(AbpApplicationCreationOptions options)
Parameters
Type Name Description
AbpApplicationCreationOptions options

Implements

IDisposable

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by Volosoft