6 references to TestController
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (6)
Filters\AntiforgeryApplicationModelProviderTest.cs (6)
20
var context = CreateProviderContext(typeof(
TestController
));
30
Assert.Equal(nameof(
TestController
.WithAntiforgeryMetadata), model.ActionName);
35
Assert.Equal(nameof(
TestController
.WithMvcAttribute), model.ActionName);
40
Assert.Equal(nameof(
TestController
.NoAttributes), model.ActionName);
164
var controllerModel = new ControllerModel(typeof(
TestController
).GetTypeInfo(), controllerAttributes);
165
var actionModel = new ActionModel(typeof(
TestController
).GetMethod(actionName), actionAttributes)