aspnetcore/test/Microsoft.AspNet.Mvc.Integr...
Doug Bunting a170a4e1e4 Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject`
- cleanup duplicate code now that #2445 is fixed
- update unit tests using old `ModelBindingContext` setups
- fix (just) one integration test where `MutableObjectModelBinder` incorrectly calculated
  `isTopLevelObject` and returned a non-`null` model
- undo temporary changes in `BodyModelBinderTests` due to increased reliance on incorrect
  `isTopLevelObject` in #2445 fix

nits:
- combine tests that are now duplicates
- beef up coverage of some `MutableObjectModelBinderTest` cases
- remove unused `using`s
2015-06-24 09:17:29 -07:00
..
ActionParametersIntegrationTest.cs
ArrayModelBinderIntegrationTest.cs
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
DictionaryModelBinderIntegrationTest.cs
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 `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
HeaderModelBinderIntegrationTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
KeyValuePairModelBinderIntegrationTest.cs
Microsoft.AspNet.Mvc.IntegrationTests.xproj
ModelBindingTestHelper.cs
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
TypeConverterModelBinderIntegrationTest.cs
ValidationIntegrationTests.cs Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
project.json