Show / Hide Table of Contents

Class AbpIntegratedTest<TStartupModule>

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<TStartupModule>
Implements
System.IDisposable
Inherited Members
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
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
System.IServiceProvider

TestServiceScope

Declaration
protected IServiceScope TestServiceScope { get; }
Property Value
Type Description
Microsoft.Extensions.DependencyInjection.IServiceScope

Methods

AfterAddApplication(IServiceCollection)

Declaration
protected virtual void AfterAddApplication(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

BeforeAddApplication(IServiceCollection)

Declaration
protected virtual void BeforeAddApplication(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services

CreateServiceCollection()

Declaration
protected virtual IServiceCollection CreateServiceCollection()
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

CreateServiceProvider(IServiceCollection)

Declaration
protected virtual IServiceProvider CreateServiceProvider(IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Returns
Type Description
System.IServiceProvider

Dispose()

Declaration
public virtual void Dispose()

SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)

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

Implements

System.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