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
ArrayModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
BinderTypeBasedModelBinderModelBinderTest.cs
BindingSourceValueProviderTest.cs
BodyModelBinderTests.cs Add `InputFormatterResult` and `InputFormatterContext.ModelName` 2015-09-19 21:36:38 -07:00
ByteArrayModelBinderTests.cs
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
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
ExcludeTypeValidationFilterExtensionsTests.cs
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
HeaderModelBinderTests.cs Optimize async code in model binders 2015-09-08 09:42:34 -07:00
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
KeyValuePairModelBinderTest.cs Test Cleanup: Fix Assert.NotNulls with ModelBindingResult 2015-09-07 17:15:31 -07:00
ModelBindingContextTest.cs
ModelBindingResultTest.cs
MutableObjectModelBinderTest.cs
QueryStringValueProviderFactoryTest.cs
ReadableStringCollectionValueProviderTest.cs
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