aspnetcore/test
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
..
Microsoft.AspNetCore.Mvc.Abstractions.Test Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Microsoft.AspNetCore.Mvc.ApiExplorer.Test
Microsoft.AspNetCore.Mvc.Core.Test Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Microsoft.AspNetCore.Mvc.Cors.Test
Microsoft.AspNetCore.Mvc.DataAnnotations.Test Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Microsoft.AspNetCore.Mvc.Formatters.Json.Test Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test
Microsoft.AspNetCore.Mvc.FunctionalTests
Microsoft.AspNetCore.Mvc.IntegrationTests Do not include type names in `ModelState` error messages 2017-06-28 15:16:23 -07:00
Microsoft.AspNetCore.Mvc.Localization.Test
Microsoft.AspNetCore.Mvc.Performance
Microsoft.AspNetCore.Mvc.Razor.Test
Microsoft.AspNetCore.Mvc.RazorPages.Test
Microsoft.AspNetCore.Mvc.TagHelpers.Test
Microsoft.AspNetCore.Mvc.Test
Microsoft.AspNetCore.Mvc.TestCommon
Microsoft.AspNetCore.Mvc.TestDiagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures.Test
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
WebSites