aspnetcore/test/Microsoft.AspNet.Mvc.Extens...
Doug Bunting 3f6ab3bb03 Add `ModelMetadata.ElementMetadata`
- #2664
- use new property to correctly determine `isTargetEnum` in `GetCurrentValues()`
 - avoid `ArgumentNullException` in all cases where raw values are `enum` but target is not
- stop skipping tests blocked by #2664, exposing a couple more #1487 issues
- use new property instead of private `GetElementType()` methods where possible
 - cleans up some duplicate code
 - also remove redundant use of `IsCollectionType` and `ElementMetadata`

nits:
- move properties above methods in `ModelMetadata`
- avoid accidentally-incorrect "Remove Unnecessary Usings"
2015-06-10 12:02:50 -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 `ModelMetadata.ElementMetadata` 2015-06-10 12:02:50 -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