aspnetcore/test/Microsoft.AspNet.Mvc.Extens.../Rendering
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
..
Expression Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewEngine Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultDisplayTemplatesTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultEditorTemplatesTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultHtmlGeneratorTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
DefaultTemplatesUtilities.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlAttributePropertyHelperTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperCheckboxTest.cs Demonstrate #1485, #1487, #2662, #2664 in functional and unit tests 2015-06-10 10:22:40 -07:00
HtmlHelperDisplayNameExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperDisplayTextTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperFormExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperFormTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperHiddenTest.cs Demonstrate #1485, #1487, #2662, #2664 in functional and unit tests 2015-06-10 10:22:40 -07:00
HtmlHelperLabelExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperLinkGenerationTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperNameExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperPartialExtensionsTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperPasswordTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperSelectTest.cs Add `ModelMetadata.ElementMetadata` 2015-06-10 12:02:50 -07:00
HtmlHelperTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperValidationSummaryTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
HtmlHelperValueTest.cs Demonstrate #1485, #1487, #2662, #2664 in functional and unit tests 2015-06-10 10:22:40 -07:00
StringCollectionTextWriterTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TagBuilderTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TemplateRendererTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
TestResources.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewContextTests.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00
ViewDataOfTTest.cs Split Mvc.Core 2015-06-09 02:12:13 -07:00