aspnetcore/test
Doug Bunting c4fa402105 Add `ModelBindingResult.IsFatalError` and make body binding more consistent
- part I of II for #2445 (with a duplicate code PR to follow)
- needed for #2445 because new `ModelState` entries for values will make inconsisteny worse
- change `BodyModelBinder` to use same keys for all `ModelBindingResult`s and `ModelState` entries
 - return fatal error result if formatter adds an error to `ModelState`
 - update potential callers to avoid avoid ignoring `IsFatalError`
- fix test attempting to serialize all of `ModelState`
 - will be borked with additional `RawValue`s in state
- fix two other tests that serialized `ModelState` but checked only `IsValid`

nits:
- address minor inconsistencies in `ModelBindingContext`
- use `System.Reflection.Extensions` package a bit more, where it's already referenced
- remove some unused resources
2015-06-18 16:19:01 -07:00
..
Microsoft.AspNet.JsonPatch.Test
Microsoft.AspNet.Mvc.Abstractions.Test Add `ModelMetadata.ElementMetadata` 2015-06-10 12:02:50 -07:00
Microsoft.AspNet.Mvc.ApiExplorer.Test
Microsoft.AspNet.Mvc.Common.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Core.Test Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
Microsoft.AspNet.Mvc.Extensions.Test Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
Microsoft.AspNet.Mvc.FunctionalTests Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
Microsoft.AspNet.Mvc.IntegrationTests Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
Microsoft.AspNet.Mvc.Razor.Host.Test React to aspnet/Razor#172. 2015-06-10 14:43:08 -07:00
Microsoft.AspNet.Mvc.Razor.Test
Microsoft.AspNet.Mvc.TagHelpers.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Test Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
Microsoft.AspNet.Mvc.TestCommon Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Xml.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
WebSites Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00