aspnetcore/test/Microsoft.AspNet.Mvc.Extens...
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
..
AntiXsrf Split Mvc.Core 2015-06-09 02:12:13 -07:00
Authorization Split Mvc.Core 2015-06-09 02:12:13 -07:00
Cors Split Mvc.Core 2015-06-09 02:12:13 -07:00
ModelBinding Split Mvc.Core 2015-06-09 02:12:13 -07:00
Properties Split Mvc.Core 2015-06-09 02:12:13 -07:00
Rendering Add `ModelBindingContext.IsFirstChanceBinding` and `IsTopLevelObject` 2015-06-24 09:17:29 -07:00
TestFiles Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewComponents Split Mvc.Core 2015-06-09 02:12:13 -07:00
ActionFilterAttributeTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
BadRequestObjectResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
BadRequestResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ChallengeResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ConsumesAttributeTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ContentResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ControllerUnitTestabilityTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
CreatedAtActionResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
CreatedAtRouteResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
CreatedResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
EmptyResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FileContentResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FilePathResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FileResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FileStreamResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FormatFilterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
FormatterMappingsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpNotFoundObjectResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpNotFoundResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpStatusCodeResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HttpUnauthorizedResultTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
JsonInputFormatterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
JsonOutputFormatterTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
JsonPatchInputFormatterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
JsonResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Extensions.Test.xproj Split Mvc.Core 2015-06-09 02:12:13 -07:00
MockAuthorizationOptionsAccessor.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MockMvcOptionsAccessor.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MockMvcViewOptionsAccessor.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
MvcCacheOptionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
PartialViewResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ProducesAttributeTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RedirectResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RedirectToActionResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RedirectToRouteResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RemoteAttributeTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
RequireHttpsAttributeTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
Resources.resx Split Mvc.Core 2015-06-09 02:12:13 -07:00
ResponseCacheAttributeTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ResponseCacheFilterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ResultFilterAttributeTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
SerializableErrorTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ServiceBasedControllerActivatorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
SkipStatusCodePagesAttributeTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewComponentTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewDataDictionaryOfTModelTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewDataDictionaryTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewEngineDescriptorExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewEngineDescriptorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewExecutorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewResultTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
project.json Split Mvc.Core 2015-06-09 02:12:13 -07:00