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 Go one less step when resolving `[ModelMetadataType]` 2015-06-14 18:02:10 -07:00
Validation Fixing tests in Mono. 2015-07-02 17:24:14 -07:00
ArrayModelBinderTest.cs Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
BinderTypeBasedModelBinderModelBinderTest.cs Reacting to DI changes 2015-08-07 10:50:25 -07:00
BindingSourceModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
BindingSourceValueProviderTest.cs
BodyModelBinderTests.cs Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
ByteArrayModelBinderTests.cs Fixing tests in Mono. 2015-07-02 17:24:14 -07:00
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 Correct test expectations 2015-06-01 12:15:39 -07:00
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 Add support for jQuery syntax in form data 2015-08-05 10:31:24 -07:00
HeaderModelBinderTests.cs Correct test expectations 2015-06-01 12:15:39 -07:00
JQueryFormValueProviderFactoryTest.cs Add support for jQuery syntax in form data 2015-08-05 10:31:24 -07:00
JQueryFormValueProviderTest.cs Add support for jQuery syntax in form data 2015-08-05 10:31:24 -07:00
KeyValuePairModelBinderTest.cs Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
ModelBindingContextTest.cs
ModelBindingResultTest.cs
MutableObjectModelBinderTest.cs Remove a VS build warning 2015-07-17 08:50:28 -07:00
QueryStringValueProviderFactoryTest.cs
ReadableStringCollectionValueProviderTest.cs Add support for jQuery syntax in form data 2015-08-05 10:31:24 -07:00
SimpleHttpValueProvider.cs
TestValueProvider.cs
TypeConverterModelBinderTest.cs Add `ModelValidationNode`s consistently 2015-08-11 08:30:29 -07:00
TypeMatchModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00