aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../ModelBinding
Doug Bunting fae0e9a66e Handle `!ConvertEmptyStringToNull` cases correctly in `SimpleTypeModelBinder`
- #4988
- preserve whitespace as the setting demands
 - correct previous `string.IsNullOrEmpty()` call to match previous `ValueProviderResultExtensions.ConvertTo()` use
- short-circuit other `string`-to-`string` conversions (as `ValueProviderResultExtensions.ConvertTo()` does)
- correct documentation of `ConvertEmptyStringToNull` properties
- add more tests of these scenarios and remove duplicate `BindModel_ValidValueProviderResult_ConvertEmptyStringsToNull()` test
2016-09-02 16:15:18 -07:00
..
Binders
Metadata
Validation
BindingSourceValueProviderTest.cs
CompositeValueProviderTest.cs
DefaultModelBindingContextTest.cs
EnumerableValueProviderTest.cs
FormValueProviderFactoryTest.cs
FormValueProviderTest.cs
JQueryFormValueProviderFactoryTest.cs
JQueryFormValueProviderTest.cs
ModelBinderFactoryTest.cs
ModelBindingHelperTest.cs
ModelBindingResultTest.cs
QueryStringValueProviderFactoryTest.cs
QueryStringValueProviderTest.cs
RouteValueProviderTests.cs
StubModelBinder.cs
TestModelBinderProviderContext.cs
TestValueProvider.cs
UnsupportedContentTypeFilterTest.cs