aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/ModelBinding
Doug Bunting 42017faa21 Add `InputFormatterResult` and `InputFormatterContext.ModelName`
- #2722
- make communication of errors from formatters to `BodyModelBinder` explicit
  - `JsonInputFormatter` now adds errors to `ModelStateDictionary` with correct key
- change `InputFormatter.SelectCharacterEncoding()` to add an error and return `null` when it fails
  - one less `Exception` case and removes some duplicate code

nits:
- improve some doc comments (more `<inheritdoc/>`, `<paramref/>` and `<see/>`)
- add another two `BodyValidationIntegrationTests` tests
2015-09-19 21:36:38 -07:00
..
Metadata
Validation Reorganize MVC namespaces 2015-09-01 22:28:33 -07:00
ArrayModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
BinderTypeBasedModelBinderModelBinderTest.cs Make ModelBindingResult a struct. 2015-09-03 12:52:50 -07:00
BindingSourceValueProviderTest.cs
BodyModelBinderTests.cs Add `InputFormatterResult` and `InputFormatterContext.ModelName` 2015-09-19 21:36:38 -07:00
ByteArrayModelBinderTests.cs Make ModelBindingResult a struct. 2015-09-03 12:52:50 -07:00
CancellationTokenModelBinderTests.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
CollectionModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
CompositeModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
CompositeValueProviderTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
DictionaryBasedValueProviderTests.cs
DictionaryModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
ElementalValueProviderTests.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
EnumerableValueProviderTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
ExcludeTypeValidationFilterExtensionsTests.cs Reorganize MVC namespaces 2015-09-01 22:28:33 -07:00
FormCollectionModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
FormFileModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
FormValueProviderFactoryTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
HeaderModelBinderTests.cs Optimize async code in model binders 2015-09-08 09:42:34 -07:00
JQueryFormValueProviderFactoryTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
JQueryFormValueProviderTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
KeyValuePairModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
ModelBindingContextTest.cs Change ModelBinding to use a single pass 2015-08-31 11:58:53 -07:00
ModelBindingResultTest.cs Make ModelBindingResult a struct. 2015-09-03 12:52:50 -07:00
MutableObjectModelBinderTest.cs Make ModelBindingResult a struct. 2015-09-03 12:52:50 -07:00
QueryStringValueProviderFactoryTest.cs
ReadableStringCollectionValueProviderTest.cs React to string[] -> StringValues changes. 2015-08-28 16:36:19 -07:00
ServiceModelBinderTest.cs Optimize async code in model binders 2015-09-08 09:42:34 -07:00
SimpleTypeModelBinderTest.cs Remove use of `IsMono` to no-op a test 2015-09-10 11:55:51 -07:00
SimpleValueProvider.cs
TestValueProvider.cs