aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test/ModelBinding
Doug Bunting 26795bd4b5 Correct test expectations
- use valid `multipart/form-data` content type; include a `boundary`
- correct expectations of `FormCollection` model binder's operation
 - restore tests actually skipped for either of the above reasons
- add more tests with `ModelBindingResult.Model==null` and both `IsModelSet` values

#### Remove test references to Won't Fix bug #2473
- restore #2473 tests; update test expectations
- expect `null` composite results whenever binding fails

#### Restore test skipped due to "#2646"
- that issue does not exist; was likely #2466 or similar fixed bug

#### Rename model binding tests that still mention ReturnsFalse or ReturnsTrue

#### Minor src changes
- remove unused variable and unnecessary nesting in `DefaultControllerActionArgumentBinder`
- remove dangling mention of `[DefaultValue]` in `ComplexModelDtoModelBinder`

#### nits:
- remove empty delegates from some `GetOperationBindingContext` calls; `null` fine
- do some `using` cleanup
- combine two test methods in `KeyValuePairModelBinderTest`
- name a few more arguments
2015-06-01 12:15:39 -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 Correct test expectations 2015-06-01 12:15:39 -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