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 Remove OperationBindingContext 2016-04-25 09:29:03 -07:00
EnumerableValueProviderTest.cs Upgrade test framework versions and fix test issues 2017-05-15 14:11:27 -07:00
FormValueProviderFactoryTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
FormValueProviderTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
JQueryFormValueProviderFactoryTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00
JQueryFormValueProviderTest.cs
ModelBinderFactoryTest.cs Fail more gracefully when option collections cleared 2016-06-30 14:52:50 -07:00
ModelBindingHelperTest.cs ModelBinding: Remove IsReadOnly checks and add/update tests 2016-08-04 14:20:23 -07:00
ModelBindingResultTest.cs Remove Key from ModelBindingResult 2016-05-23 13:17:19 -07:00
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 Use type metadata for `ModelBinderProviderContext.BindingInfo` 2016-05-27 23:00:29 -07:00
TestValueProvider.cs
UnsupportedContentTypeFilterTest.cs React to HttpAbstractions namespace changes 2016-03-30 16:19:42 -07:00