aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/ModelBinding
Doug Bunting 83a559c28c Add `ModelValidationNode`s consistently
- #2633
- do not leave `ModelBindingResult.ValidationNode` as `null` when we hit the `null` `RawValue` special case
 - move two bits of code together to make the special case more obvious
- add `ModelValidationNode` (that suppresses validation) when `HttpRequestMessageModelBinder` is successful
 - also suppress validation of `HttpRequestMEssage` properties
- suppress validation in `CancellationTokenModelBinder`, `FormCollectionModelBinder`, `FormCollectionModelBinder`
- do not create a `ModelValidationNode` when validation fails in `TypeConverterModelBinder`

nits:
- improve some doc comments
- add a quick `HttpRequestMessageModelBinderTest`
2015-08-11 08:30:29 -07:00
..
Metadata
Validation
ArrayModelBinderTest.cs
BinderTypeBasedModelBinderModelBinderTest.cs Reacting to DI changes 2015-08-07 10:50:25 -07:00
BindingSourceModelBinderTest.cs
BindingSourceValueProviderTest.cs
BodyModelBinderTests.cs
ByteArrayModelBinderTests.cs
CancellationTokenModelBinderTests.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
CollectionModelBinderTest.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
ComplexModelDtoTest.cs
CompositeModelBinderTest.cs
CompositeValueProviderTest.cs Make `CompositeValueProvider` consistent with `IBindingSourceValueProvider` contract 2015-08-06 16:05:13 -07:00
DictionaryBasedValueProviderTests.cs
DictionaryModelBinderTest.cs Handle broader range of collection types in model binding 2015-08-11 08:26:49 -07:00
ElementalValueProviderTests.cs
EnumerableValueProviderTest.cs Make `CompositeValueProvider` consistent with `IBindingSourceValueProvider` contract 2015-08-06 16:05:13 -07:00
FormCollectionModelBinderTest.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
FormFileModelBinderTest.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
FormValueProviderFactoryTest.cs
HeaderModelBinderTests.cs
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
KeyValuePairModelBinderTest.cs
ModelBindingContextTest.cs
ModelBindingResultTest.cs
MutableObjectModelBinderTest.cs
QueryStringValueProviderFactoryTest.cs
ReadableStringCollectionValueProviderTest.cs
SimpleHttpValueProvider.cs
TestValueProvider.cs
TypeConverterModelBinderTest.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
TypeMatchModelBinderTest.cs