aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../ModelBinding
Doug Bunting a90f4118ad Do not include type names in `ModelState` error messages
- #6076
- add resources and accessors specifically for the element / parameter cases
- avoid `metadata.GetDisplayName()` where possible
- fill in the `ValidationContext` that `ValidatorObjectAdapter` uses
  - e.g. `Validate_NestedComplexType_IValidatableObject_Invalid()` test fails without this

Possible future work:
- improve error message used for `ModelMetadata.IsRequired` elements and parameters
- use something besides the type for `ValidationContext.DisplayName` of elements and parameters

nits:
- trailing whitespace
- use more `out var`
2017-06-28 15:16:23 -07:00
..
Binders Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Internal Replace HashSet with a Hybrid HashSet/List 2016-10-24 14:47:49 -07:00
Metadata Add BindingSourceMetadataProvider 2017-02-17 13:22:10 -08:00
Validation
BindingSourceValueProviderTest.cs Make tests resilient to Localization (#5011) 2016-07-14 09:28:01 -07:00
CompositeValueProviderTest.cs Reduce allocations during HTML generation 2016-10-03 12:17:47 -07:00
DefaultModelBindingContextTest.cs
EnumerableValueProviderTest.cs Upgrade test framework versions and fix test issues 2017-05-15 14:11:27 -07:00
FormValueProviderFactoryTest.cs
FormValueProviderTest.cs
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
ModelBinderFactoryTest.cs
ModelBindingHelperTest.cs ModelBinding: Remove IsReadOnly checks and add/update tests 2016-08-04 14:20:23 -07:00
ModelBindingResultTest.cs
ParameterBinderTest.cs Remove TaskCache and TaskCacheOfT 2017-06-08 08:19:20 -07:00
QueryStringValueProviderFactoryTest.cs
QueryStringValueProviderTest.cs
RouteValueProviderTests.cs Add culture constructor to RouteValueProvider 2017-02-16 14:47:34 -08:00
StubModelBinder.cs Remove TaskCache and TaskCacheOfT 2017-06-08 08:19:20 -07:00
TestModelBinderProviderContext.cs
TestValueProvider.cs
UnsupportedContentTypeFilterTest.cs