Class AbpAspNetCoreAsyncTestBase<TModule>
Inheritance
AbpAspNetCoreAsyncTestBase<TModule>
Implements
IAsyncLifetime
Assembly: Volo.Abp.AspNetCore.Tests.dll
Syntax
public abstract class AbpAspNetCoreAsyncTestBase<TModule> : AbpAspNetCoreAsyncIntegratedTestBase<TModule>, IAsyncLifetime where TModule : AbpModule
Type Parameters
Constructors
AbpAspNetCoreAsyncTestBase()
Declaration
protected AbpAspNetCoreAsyncTestBase()
Methods
GetResponseAsObjectAsync<T>(string, HttpStatusCode)
Declaration
protected virtual Task<T> GetResponseAsObjectAsync<T>(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK)
Parameters
Returns
Type Parameters
GetResponseAsStringAsync(string, HttpStatusCode)
Declaration
protected virtual Task<string> GetResponseAsStringAsync(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK)
Parameters
Returns
GetResponseAsync(string, HttpStatusCode, bool)
Declaration
protected virtual Task<HttpResponseMessage> GetResponseAsync(string url, HttpStatusCode expectedStatusCode = HttpStatusCode.OK, bool xmlHttpRequest = false)
Parameters
Returns
Implements
Xunit.IAsyncLifetime
Extension Methods