Show / Hide Table of Contents

Class AbpIntegratedTest<TStartupModule>

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<TStartupModule>
AbpAutoMapperExtensibleDtoExtensions_Tests
DependencyInjection_Standard_Tests
AbpAspNetCoreSignalRTestBase
AbpAuditingTestBase
AuthorizationTestBase
AbpAutoMapperModule_Basic_Tests
AbpAutoMapperModule_Specific_ObjectMapper_Tests
AutoMapper_ConfigurationValidation_Tests
AutoMapper_CustomServiceConstruction_Tests
AutoMapper_Dependency_Injection_Tests
ObjectMapperExtensions_Tests
BackgroundJobsTestBase
AbpBlobStoringTestBase
AbpBlobStoringAliyunTestBase
AbpBlobStoringAliyunTestCommonBase
AbpBlobStoringAwsTestBase
AbpBlobStoringAwsTestCommonBase
AbpBlobStoringAzureTestBase
AbpBlobStoringAzureTestCommonBase
BlobContainer_Tests<TStartupModule>
AbpBlobStoringFileSystemTestBase
AbpBlobStoringMinioTestBase
AbpBlobStoringMinioTestCommonBase
DistributedCache_ConfigureOptions_Test
DistributedCache_Tests
AbpCachingStackExchangeRedisTestBase
AbpCliTestBase
DapperTestBase
ConnectionStringResolver_Tests
DataSeederExtensions_Tests
AbpDistributedLockingAbstractionsTestBase
EntityFrameworkCoreTestBase
LocalDistributedEventBusTestBase
EventBusTestBase
FeatureTestBase
ApplicationService_FluentValidation_Tests
GlobalFeatureTestBase
HttpContextIdentityModelRemoteServiceHttpClientAuthenticator_Tests
AbpIdentityModelTestBase
AbpJsonTestBase
LdapManager_Tests
AbpEnumLocalizer_Tests
AbpLocalization_Tests
AbpStringLocalizerFactory_Tests
LocalizableStringSerializer_Tests
MailKitSmtpEmailSender_Tests
MemoryDbTestBase
CssMinifier_Tests
HtmlMinifier_Tests
JavascriptMinifier_Tests
MongoDbTestBase
MultiLingualObjectManager_Tests
MultiTenancyTestBase
AbpObjectExtendingTestBase
AbpObjectMappingTestBase
AbpClaimsPrincipalFactory_Test
CurrentPrincipalAccessor_Test
StringEncryptionService_Tests
SecurityLogManager_Tests
ObjectSerializer_Tests
SettingProvider_Tests
SimpleStateCheckerTestBase
AbpSmsAliyunTestBase
TestAppTestBase
TestAppTestBase<TStartupModule>
AbpTextTemplatingTestBase<TStartupModule>
NullCancellationTokenProvider_Tests
AppUrlProvider_Tests
MenuManager_Tests
AlwaysDisableUnitOfWorkTransaction_Tests
UnitOfWork_Ambient_Scope_Tests
UnitOfWork_Events_Tests
UnitOfWork_Nested_Tests
UnitOfWorkExtensions_Tests
ApplicationService_Validation_Tests
DynamicFileProvider_Tests
VirtualFileProvider_Tests
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