Show / Hide Table of Contents

Class AbpAspNetCoreAsyncTestBase<TModule>

Inheritance
object
AbpAspNetCoreAsyncIntegratedTestBase<TModule>
AbpAspNetCoreAsyncTestBase<TModule>
AbpAspNetCoreAsyncTestBase_Tests
Implements
IAsyncLifetime
Inherited Members
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetService<T>()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetRequiredService<T>()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetKeyedServices<T>(object)
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetRequiredKeyedService<T>(object)
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.InitializeAsync()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.DisposeAsync()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.ConfigureServicesAsync(IServiceCollection)
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetUrl<TController>()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetUrl<TController>(string)
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetUrl<TController>(string, object)
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.WebApplication
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.Server
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.Client
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore
Assembly: Volo.Abp.AspNetCore.Tests.dll
Syntax
public abstract class AbpAspNetCoreAsyncTestBase<TModule> : AbpAspNetCoreAsyncIntegratedTestBase<TModule>, IAsyncLifetime where TModule : AbpModule
Type Parameters
Name Description
TModule

Constructors

AbpAspNetCoreAsyncTestBase()

Declaration
protected AbpAspNetCoreAsyncTestBase()

Methods

GetResponseAsObjectAsync<T>(string, HttpStatusCode)

Declaration
protected virtual Task<T> GetResponseAsObjectAsync<T>(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK)
Parameters
Type Name Description
string url
HttpStatusCode expectedStatusCode
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

GetResponseAsStringAsync(string, HttpStatusCode)

Declaration
protected virtual Task<string> GetResponseAsStringAsync(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK)
Parameters
Type Name Description
string url
HttpStatusCode expectedStatusCode
Returns
Type Description
Task<string>

GetResponseAsync(string, HttpStatusCode, bool)

Declaration
protected virtual Task<HttpResponseMessage> GetResponseAsync(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK, bool xmlHttpRequest = false)
Parameters
Type Name Description
string url
HttpStatusCode expectedStatusCode
bool xmlHttpRequest
Returns
Type Description
Task<HttpResponseMessage>

Implements

Xunit.IAsyncLifetime

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