aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak f5e7a69693 Updates to the extensibility for validator providers
This change removes reflection from validator providers, and instead
relies on cached metadata in in the modelmetadata.

In general this means that our MVPs don't need to cache anything, they
just look at the metadata and create what they need.

In the case of data-annotations, we update the model details provider to
add validation attributes to the modelmetadata. This would allow someone
to replace the DataAnnotationsValidatorProvider, but still use the
metadata in these attributes.

The change to the IModelValidatorProvider api (to use a context) is
intended to minimize allocations. Currently each validator provider needs
to return a list so you end up with N+1 lists (N validators + a final list
to compine them all). This change will let us just create the final list
(and a small context object). This is a very very high traffic API so it
seemed worth doing.

There's also some general massaging of namespaces and file locations.
2015-03-20 15:19:25 -07:00
..
ActionResults [Fixes #2190] Remove GetSupportedContentTypes method from IOutputFormatter and move to a separate metadata interface 2015-03-18 16:13:14 -07:00
AntiXsrf React to DI 2015-03-04 19:26:54 -08:00
ApplicationModel Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
Description Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
Filters Cors Support in MVC. 2015-03-18 19:37:00 -07:00
Formatters [Fixes #2190] Remove GetSupportedContentTypes method from IOutputFormatter and move to a separate metadata interface 2015-03-18 16:13:14 -07:00
Internal React to hosting changes 2015-03-19 11:07:25 -07:00
Logging Logging API changes 2015-03-04 21:07:45 -08:00
OptionDescriptors Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
ParameterBinding Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
Properties
Rendering Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
Routing React to #154 (Routing - adding data token to GetVirtualPath) 2015-03-19 21:51:14 -07:00
TestFiles
Utils
ViewComponents Refactor of ViewComponent extensibility 2015-03-20 13:39:54 -07:00
ActionConstraintValuesTest.cs Remove INestedProviderXXX 2015-02-23 15:18:39 -08:00
ActionDescriptorValuesTest.cs
ActionExecutorTests.cs
ActionModelValuesTest.cs
ApiExplorerModelValuesTest.cs
AttributeRouteInfoValuesTest.cs
AttributeRouteModelValuesTest.cs
BodyModelBinderTests.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
ConsumesAttributeTests.cs
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
ControllerActionInvokerTest.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
ControllerModelValuesTest.cs
ControllerTests.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
ControllerUnitTestabilityTests.cs [Fixes #1331] Register object for dispose in ObjectResult and 2015-03-17 17:04:05 -07:00
DefaultActionDescriptorCollectionProviderLoggingTest.cs React to AuthN changes 2015-03-02 16:14:38 -08:00
DefaultActionSelectorSelectAsyncValuesTest.cs
DefaultActionSelectorTests.cs Cors Support in MVC. 2015-03-18 19:37:00 -07:00
DefaultAssemblyProviderTests.cs List of assembly names in DefaultAssemblyProvider needs to be kept up to date 2015-03-20 11:38:43 -07:00
DefaultControllerActivatorTest.cs Fix for #1416 - Remove all uses of ITypeActivator and use the static method instead 2015-02-16 16:02:39 -08:00
DefaultControllerFactoryTest.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
DefaultControllerTypeProviderTest.cs * Modify DefaultControllerTypeProvider to look at the object graph to 2015-02-15 22:11:37 -08:00
DefaultInputFormatterSelectorTests.cs
FilterDescriptorValuesTest.cs
FilterValuesTest.cs
FormatterMappingsTest.cs Adding ClearMediaTypeMappingForFormat to FormatterMappings and other PR comments 2015-01-31 23:18:24 -08:00
HttpMethodProviderAttributesTests.cs
JsonResultTest.cs
KnownRouteValueConstraintTests.cs Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:52:24 -07:00
Microsoft.AspNet.Mvc.Core.Test.xproj Update .kproj => .xproj. 2015-03-11 14:01:43 -07:00
MockModelBinderProvider.cs
MockModelValidatorProviderProvider.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
MockMvcOptionsAccessor.cs
MockScopedInstance.cs Fixed build break. 2015-02-16 13:08:10 -08:00
MockValueProviderFactoryProvider.cs
MvcOptionsTests.cs Issue #1785 - Changes to add CacheProfiles for response caching. 2015-02-04 15:25:45 -08:00
MvcRouteHandlerTests.cs
RemoteAttributeTest.cs Updates to the extensibility for validator providers 2015-03-20 15:19:25 -07:00
RequireHttpsAttributeTests.cs React to HttpRequest.IsSecure being renamed 2015-02-17 11:15:56 -08:00
RouteConstraintProviderValuesTest.cs
RouteDataActionConstraintTest.cs
RouteDataActionConstraintValuesTest.cs
RouteTemplateProviderAttributesTest.cs
ScopedInstanceTest.cs Welcome home ScopedInstance 2015-03-11 15:03:29 -07:00
SerializableErrorWrapperTests.cs
ServiceBasedControllerActivatorTest.cs ControllerActivator should be able to use controllers registered as 2015-02-11 16:41:59 -08:00
SessionStateTempDataProviderTest.cs [Fixes #2157] Added additional functional tests for TempData 2015-03-19 15:55:23 -07:00
TempDataDictionaryTest.cs Introducing TempData 2015-03-10 12:04:05 -07:00
TestController.cs
TestGlobalFilterProvider.cs
TestValueProvider.cs Make BindingSource extensible 2015-02-05 13:41:31 -08:00
TypeHelperTest.cs
UrlHelperTest.cs React to #154 (Routing - adding data token to GetVirtualPath) 2015-03-19 21:51:14 -07:00
ViewComponentTests.cs Replaced WebUtility.HtmlEnode with IHtmlEncoder.HtmlEncode 2015-03-03 13:57:36 -08:00
ViewDataDictionaryOfTModelTest.cs Removing ModelMetadata.Model 2015-02-23 19:56:59 -08:00
ViewDataDictionaryTest.cs Correct evaluation of expression result in `GenerateSelect()` 2015-03-02 12:07:43 -08:00
project.json Add TestCommon project 2015-03-16 13:49:29 -07:00