aspnetcore/test
Ryan Nowak f20bf9ea02 Fix #7503 change to model name for IValidableObject
This change undoes a breaking change introduced by the 2.1 model
validation changes. Now an implementation of IValidableObject on a
top-level model will be called correctly with the 'empty' prefix instead
of the parameter name.

When fixing this we undid a workaround for another issue.

When validating a parameter that didn't bind we didn't correctly compute
the model name for 'fallback to empty prefix' cases.

(cherry picked from commit 7a1096a72b)
2018-03-29 21:35:59 -07:00
..
Microsoft.AspNetCore.Mvc.Abstractions.Test Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.Analyzers.Experimental.Test Add an analyzer to warn against the use of IHtmlHelper.Partial and IHtmlHelper.RenderPartial 2018-03-29 21:25:54 -07:00
Microsoft.AspNetCore.Mvc.Analyzers.Test Add an analyzer to warn against the use of IHtmlHelper.Partial and IHtmlHelper.RenderPartial 2018-03-29 21:25:54 -07:00
Microsoft.AspNetCore.Mvc.ApiExplorer.Test
Microsoft.AspNetCore.Mvc.Core.Test Fix #7503 change to model name for IValidableObject 2018-03-29 21:35:59 -07:00
Microsoft.AspNetCore.Mvc.Cors.Test
Microsoft.AspNetCore.Mvc.DataAnnotations.Test Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.Formatters.Json.Test
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test
Microsoft.AspNetCore.Mvc.FunctionalTests
Microsoft.AspNetCore.Mvc.IntegrationTests Fix #7503 change to model name for IValidableObject 2018-03-29 21:35:59 -07:00
Microsoft.AspNetCore.Mvc.Localization.Test
Microsoft.AspNetCore.Mvc.Razor.Test
Microsoft.AspNetCore.Mvc.RazorPages.Test
Microsoft.AspNetCore.Mvc.TagHelpers.Test
Microsoft.AspNetCore.Mvc.Test
Microsoft.AspNetCore.Mvc.TestCommon Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.TestDiagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures.Test
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
WebSites
Directory.Build.props
MvcTests.ruleset