aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/ModelBinding
Doug Bunting e31eab0391 `ByteArrayModelBinder` should return `null` only when type is not matched
- #2456
- visible behaviours now match MVC 5
- prevent `CollectionModelBinder` from converting no value to `byte[0]`
- prevent `TypeConverterModelBinder` from converting empty value to `byte[] { '\0' }`

nit:
- remove additional delegates `ModelBindingTestHelper.GetOperationBindingContext()` calls
 - a few left despite #2625 cleanup
2015-06-01 12:20:17 -07:00
..
Metadata
Validation Fix #2407 - Add back the implicit [Required] for value types 2015-05-21 17:52:25 -07:00
ArrayModelBinderTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
BinderTypeBasedModelBinderModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
BindingSourceModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
BindingSourceValueProviderTest.cs
BodyModelBinderTests.cs Restoring modelvalidation node. 2015-05-14 18:38:26 -07:00
ByteArrayModelBinderTests.cs `ByteArrayModelBinder` should return `null` only when type is not matched 2015-06-01 12:20:17 -07:00
CancellationTokenModelBinderTests.cs Correct test expectations 2015-06-01 12:15:39 -07:00
CollectionModelBinderTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
ComplexModelDtoTest.cs
CompositeModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
CompositeValueProviderTests.cs
DictionaryBasedValueProviderTests.cs
DictionaryModelBinderTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
ElementalValueProviderTests.cs
FormCollectionModelBinderTest.cs
FormFileModelBinderTest.cs
FormValueProviderFactoryTests.cs Correct test expectations 2015-06-01 12:15:39 -07:00
HeaderModelBinderTests.cs Correct test expectations 2015-06-01 12:15:39 -07:00
KeyValuePairModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
ModelBindingContextTest.cs
ModelBindingResultTest.cs
MutableObjectModelBinderTest.cs React to aspnet/Razor#89 fix 2015-05-20 22:07:19 -07:00
QueryStringValueProviderFactoryTest.cs
ReadableStringCollectionValueProviderTest.cs
SimpleHttpValueProvider.cs
TestResources.cs
TestValueProvider.cs
TypeConverterModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
TypeMatchModelBinderTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
ValidationAttributeUtil.cs