aspnetcore/test/Microsoft.AspNet.Mvc.Core.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
..
ApplicationModel [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
Internal Split Mvc.Core 2015-06-09 02:12:13 -07:00
ModelBinding Add `ModelBindingResult.IsFatalError` and make body binding more consistent 2015-06-18 16:19:01 -07:00
Properties Split Mvc.Core 2015-06-09 02:12:13 -07:00
Routing
ActionExecutorTests.cs
BindAttributeTest.cs
ControllerActionArgumentBinderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerActionInvokerTest.cs [Fixes #2409] Return EmptyResult for void actions 2015-06-11 11:51:51 -07:00
DefaultActionSelectorTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
DefaultAssemblyProviderTests.cs
DefaultControllerActivatorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerFactoryTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultControllerTypeProviderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultFilterProviderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ExcludeTypeValidationFilterExtensionsTests.cs
FilterCollectionExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FlushReportingStream.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpMethodProviderAttributesTests.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
HttpResponseStreamWriterTest.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
MockScopedInstance.cs
ModelBindingHelperTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcCoreServiceCollectionExtensionsTest.cs Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
MvcOptionsTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcRouteHandlerTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
NoContentFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
NonDisposableStreamTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ObjectResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
OutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs [Fixes #2700] Added HttpHeadAttribute 2015-06-17 12:58:02 -07:00
ScopedInstanceTest.cs
SessionStateTempDataProviderTest.cs
SimpleTypeExcludeFilterTest.cs
StreamOutputFormatterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
StringOutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TempDataDictionaryTest.cs
TestController.cs
UrlHelperTest.cs
project.json