aspnetcore/test/Microsoft.AspNet.Mvc.Integr...
Doug Bunting 715a0b6021 Add `ModelState` entries for greedy and type-matching model binders
- part II of II for #2445
- `FormCollectionModelBinder` is an exception because container is not user-provided
 - no `ModelState` entry added
- enable tests that #2445 was blocking
 - fix these and other tests expecting different `ModelState` entries
- simplify logic in `FormFileModelBinder`

`ValueProviderResult`
- remove `protected` setters and parameterless constructor
 - no scenario for their use in subclasses; however `ConvertTo()` remains `virtual`
- add single-parameter constructor
 - use in most of the greedy and type-matching model binders
- add doc comments throughout class

nits:
- use new `ValueProviderResult` constructor in many existing tests
- `""` -> `string.Empty` and `vpr` -> `valueProviderResult` in `ValueProviderResultTest`
- improve some test names in `BodyValidationIntegrationTests`
- do not check `Message` of a Json.NET `Exception`
2015-06-23 22:34:55 -07:00
..
ActionParametersIntegrationTest.cs Fixing #2466, #2446. 2015-05-15 12:27:41 -07:00
ArrayModelBinderIntegrationTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
BinderTypeBasedModelBinderIntegrationTest.cs Correct test expectations 2015-06-01 12:15:39 -07:00
BodyValidationIntegrationTests.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
ByteArrayModelBinderIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
CancellationTokenModelBinderIntegrationTest.cs Enabling test for 2447, CancellationToken does not gets validated. 2015-06-01 12:41:34 -07:00
CollectionModelBinderIntegrationTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
DictionaryModelBinderIntegrationTest.cs Enable tests for #2470 2015-05-28 14:57:50 -07:00
FormCollectionModelBindingIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
FormFileModelBindingIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
GenericModelBinderIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
HeaderModelBinderIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
KeyValuePairModelBinderIntegrationTest.cs Fix #1579 - Bind top-level collections as an empty collection 2015-05-21 22:46:04 -07:00
Microsoft.AspNet.Mvc.IntegrationTests.xproj
…
ModelBindingTestHelper.cs Fixes #2464 - Does not add extra skipped entries for model bound from services. 2015-05-15 12:27:43 -07:00
MutableObjectModelBinderIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
ServicesModelBinderIntegrationTest.cs `ByteArrayModelBinder` should return `null` only when type is not matched 2015-06-01 12:20:17 -07:00
TestMvcOptions.cs Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
TryUpdateModelIntegrationTest.cs Fixing #2466, #2446. 2015-05-15 12:27:41 -07:00
TypeConverterModelBinderIntegrationTest.cs Fixing #2466, #2446. 2015-05-15 12:27:41 -07:00
ValidationIntegrationTests.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
project.json
…