9 references to TestIsControllerAction
Mvc.Api.Analyzers.Test (9)
MvcFactsTest.cs (9)
14
private static readonly Type TestIsControllerActionType = typeof(
TestIsControllerAction
);
107
public Task IsAction_ReturnsFalseForInternalMethod() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.InternalMethod));
110
public Task IsAction_ReturnsFalseForGenericMethod() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.GenericMethod));
113
public Task IsAction_ReturnsFalseForStaticMethod() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.StaticMethod));
116
public Task IsAction_ReturnsFalseForNonActionMethod() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.NonAction));
119
public Task IsAction_ReturnsFalseForOverriddenNonActionMethod() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.NonActionBase));
122
public Task IsAction_ReturnsFalseForDisposableDispose() => IsActionReturnsFalse(TestIsControllerActionType, nameof(
TestIsControllerAction
.Dispose));
173
public Task IsAction_ReturnsTrueForOrdinaryAction() => IsActionReturnsTrue(TestIsControllerActionType, nameof(
TestIsControllerAction
.Ordinary));
176
public Task IsAction_ReturnsTrueForOverriddenMethod() => IsActionReturnsTrue(TestIsControllerActionType, nameof(
TestIsControllerAction
.AbstractMethod));