Show / Hide Table of Contents

Class AbpAuthorizationExceptionTestController_Tests

Inheritance
object
AbpTestBaseWithServiceProvider
AbpAspNetCoreIntegratedTestBase<Startup>
AbpAspNetCoreTestBase<Startup>
AspNetCoreMvcTestBase
AbpAuthorizationExceptionTestController_Tests
Implements
System.IDisposable
Inherited Members
AspNetCoreMvcTestBase.CreateHostBuilder()
AbpAspNetCoreTestBase<Startup>.GetResponseAsObjectAsync<T>(string, HttpStatusCode)
AbpAspNetCoreTestBase<Startup>.GetResponseAsStringAsync(string, HttpStatusCode)
AbpAspNetCoreTestBase<Startup>.GetResponseAsync(string, HttpStatusCode, bool)
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>()
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>(string)
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>(string, object)
AbpAspNetCoreIntegratedTestBase<Startup>.Dispose()
AbpAspNetCoreIntegratedTestBase<Startup>.Server
AbpAspNetCoreIntegratedTestBase<Startup>.Client
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.AspNetCore.Mvc.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class AbpAuthorizationExceptionTestController_Tests : AspNetCoreMvcTestBase, IDisposable

Constructors

AbpAuthorizationExceptionTestController_Tests()

Declaration
public AbpAuthorizationExceptionTestController_Tests()

Fields

FakeExceptionSubscriber

Declaration
protected IExceptionSubscriber FakeExceptionSubscriber
Field Value
Type Description
IExceptionSubscriber

FakeRequiredService

Declaration
protected FakeUserClaims FakeRequiredService
Field Value
Type Description
FakeUserClaims

Methods

ConfigureServices(HostBuilderContext, IServiceCollection)

Declaration
protected override void ConfigureServices(HostBuilderContext context, IServiceCollection services)
Parameters
Type Name Description
Microsoft.Extensions.Hosting.HostBuilderContext context
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Overrides
Volo.Abp.AspNetCore.TestBase.AbpAspNetCoreIntegratedTestBase<Volo.Abp.AspNetCore.Mvc.Startup>.ConfigureServices(Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection)

Should_Handle_By_Cookie_AuthenticationScheme_For_AbpAuthorizationException()

Declaration
public virtual Task Should_Handle_By_Cookie_AuthenticationScheme_For_AbpAuthorizationException()
Returns
Type Description
System.Threading.Tasks.Task

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