aspnetcore/test
Doug Bunting 27283ec098 Make `string`-based expression evaluations behave consistently
- #1485, #1487
 - handle `TemplateInfo.HtmlFieldPrefix` in `ViewDataEvaluator.Eval()`
  - attempt lookup in the `ViewDataDictionary` using full name then evaluate
    relative `expression` against `viewData.Model`
  - handle `null` or empty `expression` special case in this method (remove `throw`s)
 - always pass relative `expression` name into `Eval()`
  - remove `null` or empty `expression` handling from higher-level code
  - in a couple of cases, special-case returned `ViewDataInfo`
- #2662
 - remove incorrect guard from `DefaultHtmlGenerator.GenerateRadioButtion()`
- add doc comments for the core methods that have changed
- enable unit tests skipped due to one of above bugs
 - fix one (yeah, just one) other test with incorrect expectations
- remove functional test comments about the above bugs and update expectations

nits:
- move some comments describing `ViewDataEvaluator` methods above the methods
2015-06-16 21:54:56 -07:00
..
Microsoft.AspNet.JsonPatch.Test
Microsoft.AspNet.Mvc.Abstractions.Test Add `ModelMetadata.ElementMetadata` 2015-06-10 12:02:50 -07:00
Microsoft.AspNet.Mvc.ApiExplorer.Test
Microsoft.AspNet.Mvc.Common.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Core.Test Go one less step when resolving `[ModelMetadataType]` 2015-06-14 18:02:10 -07:00
Microsoft.AspNet.Mvc.Extensions.Test Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
Microsoft.AspNet.Mvc.FunctionalTests Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
Microsoft.AspNet.Mvc.IntegrationTests Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
Microsoft.AspNet.Mvc.Razor.Host.Test React to aspnet/Razor#172. 2015-06-10 14:43:08 -07:00
Microsoft.AspNet.Mvc.Razor.Test
Microsoft.AspNet.Mvc.TagHelpers.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Test Adding an 'AddMinimalMvc()' for Mvc.Core and sample 2015-06-12 11:29:47 -07:00
Microsoft.AspNet.Mvc.TestCommon Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.WebApiCompatShimTest Split Mvc.Core 2015-06-09 02:12:13 -07:00
Microsoft.AspNet.Mvc.Xml.Test Split Mvc.Core 2015-06-09 02:12:13 -07:00
WebSites Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00