aspnetcore/test/Microsoft.AspNetCore.Mvc.Da.../Internal
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
..
CompareAttributeAdapterTest.cs Upgrade test framework versions and fix test issues 2017-05-15 14:11:27 -07:00
DataAnnotationsClientModelValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
DataAnnotationsMetadataProviderTest.cs Order enum values by DisplayAttribute.Order 2017-03-27 12:22:35 -07:00
DataAnnotationsModelValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
DataAnnotationsModelValidatorTest.cs Update partner package versions 2016-10-03 14:27:20 -07:00
DataMemberRequiredBindingMetadataProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
DataTypeClientModelValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
DefaultModelClientValidatorProviderTest.cs [Fixes #3904] Redesigned IValueProviderFactory and renamed a few methods 2016-02-03 11:31:05 -08:00
MaxLengthAttributeAdapterTest.cs
MinLengthAttributeAdapterTest.cs
ModelMetadataProviderTest.cs Use DataAnnotationLocalizerProvider for Display localization 2016-09-23 10:05:42 -07:00
MvcDataAnnotationsMvcOptionsSetup.cs Replace ConfigureOptions with IConfigureOptions 2016-09-08 15:19:07 -07:00
NumericClientModelValidatorTest.cs Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
RangeAttributeAdapterTest.cs
RequiredAttributeAdapterTest.cs
StringLengthAttributeAdapterTest.cs Changed min/max parameter order in StringLengthAttributeAdapter (#4899) 2016-06-27 10:21:50 -07:00
TestModelNameProvider.cs
TestResources.cs Fixes #5198 Stops caching of Enum display values (#5185) 2016-09-07 16:00:17 -07:00
ValidationAttributeAdapterOfTAttributeTest.cs
ValidationAttributeAdapterProviderTest.cs