Class AbpIntegratedTest<TStartupModule>
Inheritance
AbpIntegratedTest<TStartupModule>
Implements
Inherited Members
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 |