Show / Hide Table of Contents

Class AbpAspNetCoreAsyncTestBase<TModule>

Inheritance
object
AbpAspNetCoreAsyncIntegratedTestBase<TModule>
AbpAspNetCoreAsyncTestBase<TModule>
AbpAspNetCoreAsyncTestBase_Tests
Implements
Xunit.IAsyncLifetime
Inherited Members
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetService<T>()
AbpAspNetCoreAsyncIntegratedTestBase<TModule>.GetRequiredService<T>()
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
System.Net.HttpStatusCode expectedStatusCode
Returns
Type Description
System.Threading.Tasks.Task<TResult><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
System.Net.HttpStatusCode expectedStatusCode
Returns
Type Description
System.Threading.Tasks.Task<TResult><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
System.Net.HttpStatusCode expectedStatusCode
bool xmlHttpRequest
Returns
Type Description
System.Threading.Tasks.Task<TResult><System.Net.Http.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft