aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak 12c2759cec Fix for #384 - And some other changes to controller as filter
This is a major change to how we handle the scenario where a controller is
a filter. We want to change the lifetime of the controller object, by
scoping it around action filters and result filters. This means that a
controller class can only implement action filters and result filters.

To implement #384 - we're creating a delegating filter class
'ControllerFilter' which will forward calls to the implementation of the
controller. This is discovered in the controller model and added to the
filter collection. This filter is removable as an opt-out of this feature.

The ControllerFilter only implements action filter and result filter, so
the new restriction about filter types on Controller is in place. A future
change will move the instantiation of the controller to after resource
filters.
2015-01-16 19:15:59 -08:00
..
ActionResults Some cleanup of ActionResults - #657 2015-01-16 17:29:56 -08:00
AntiXsrf Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
ApplicationModel Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
Description
Filters Fix for #384 - And some other changes to controller as filter 2015-01-16 19:15:59 -08:00
Formatters Rename TextPlainFormatter and remove other minor warnings 2015-01-16 12:09:53 -08:00
Internal Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
Logging
OptionDescriptors
ParameterBinding Fix for #1722 - FromHeader does not respect default value 2015-01-16 17:59:00 -08:00
Properties
Rendering Correct `CheckBoxFor` to ignore `ViewData` 2015-01-16 17:20:34 -08:00
Routing
TestFiles
Utils
ViewComponents Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
ActionConstraintValuesTest.cs
ActionDescriptorValuesTest.cs
ActionExecutorTests.cs
ActionModelValuesTest.cs
ApiExplorerModelValuesTest.cs
AttributeRouteInfoValuesTest.cs
AttributeRouteModelValuesTest.cs
BodyModelBinderTests.cs Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
ConsumesAttributeTests.cs Adding Support for consumes. 2015-01-16 14:15:08 -08:00
ControllerActionDescriptorProviderTests.cs
ControllerActionInvokerTest.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
ControllerModelValuesTest.cs
ControllerTests.cs Added support for TryValidateModel and its corresponding tests 2015-01-16 17:23:59 -08:00
ControllerUnitTestabilityTests.cs Some cleanup of ActionResults - #657 2015-01-16 17:29:56 -08:00
CopyOnWriteDictionaryTest.cs
DefaultActionDescriptorCollectionProviderLoggingTest.cs
DefaultActionSelectorSelectAsyncValuesTest.cs
DefaultActionSelectorTests.cs Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs
DefaultControllerFactoryTest.cs
DefaultInputFormatterSelectorTests.cs
DefaultViewComponentActivatorTests.cs Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
FilterDescriptorValuesTest.cs
FilterValuesTest.cs
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.kproj
MockModelBinderProvider.cs
MockModelValidatorProviderProvider.cs
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
MockValueProviderFactoryProvider.cs
MvcOptionsTests.cs
MvcRouteHandlerTests.cs [Fixes #1791]Remove XML formatter from defaults 2015-01-15 15:46:49 -08:00
PropertyHelperTest.cs
RequireHttpsAttributeTests.cs Handle PipelineCore rename. 2015-01-15 15:25:17 -08:00
ResponseCacheAttributeTest.cs Changes introducing ResponseCache to cache content in the client/proxy. 2015-01-15 16:51:22 -08:00
RouteConstraintProviderValuesTest.cs
RouteDataActionConstraintTest.cs
RouteDataActionConstraintValuesTest.cs
RouteTemplateProviderAttributesTest.cs
StaticAssemblyProvider.cs
StaticControllerModelBuilder.cs
TestController.cs
TestGlobalFilterProvider.cs
TypeHelperTest.cs
UrlHelperTest.cs
ViewComponentTests.cs
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
project.json