aspnetcore/test/WebSites
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
..
ActionConstraintsWebSite
ActionResultsWebSite
ActivatorWebSite
AddServicesWebSite
AntiForgeryWebSite
ApiExplorerWebSite
ApplicationModelWebSite
AutofacWebSite
BasicWebSite
BestEffortLinkGenerationWebSite
CompositeViewEngineWebSite Split Mvc.Core 2015-06-09 02:12:13 -07:00
ContentNegotiationWebSite
ControllerDiscoveryConventionsWebSite
ControllersFromServicesClassLibrary
ControllersFromServicesWebSite
CorsMiddlewareWebSite Removed unnecessary cors dependency 2015-06-16 10:25:25 -07:00
CorsWebSite Removed unnecessary cors dependency 2015-06-16 10:25:25 -07:00
CustomRouteWebSite
ErrorPageMiddlewareWebSite React to aspnet/Diagnostics#142 changes 2015-06-16 11:27:33 -07:00
FilesWebSite
FiltersWebSite
FormatFilterWebSite Split Mvc.Core 2015-06-09 02:12:13 -07:00
FormatterWebSite
HtmlGenerationWebSite Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
InlineConstraintsWebSite
JsonPatchWebSite
LocalizationWebSite Split Mvc.Core 2015-06-09 02:12:13 -07:00
LoggingWebSite
LowercaseUrlsWebSite
Microsoft.AspNet.Mvc.TestConfiguration React to HttpResponse.HeadersSent rename. 2015-06-15 18:29:20 -07:00
ModelBindingWebSite `ByteArrayModelBinder` should return `null` only when type is not matched 2015-06-01 12:20:17 -07:00
PrecompilationWebSite
RazorCompilerCacheWebSite
RazorEmbeddedViewsWebSite
RazorPageExecutionInstrumentationWebSite
RazorWebSite Split Mvc.Core 2015-06-09 02:12:13 -07:00
RequestServicesWebSite
ResponseCacheWebSite Split Mvc.Core 2015-06-09 02:12:13 -07:00
RoutingWebSite
TagHelpersWebSite
TempDataWebSite React to Session api review changes 2015-06-08 09:44:05 -07:00
UrlHelperWebSite
UserClassLibrary
ValidationWebSite
ValueProvidersWebSite
VersioningWebSite
ViewComponentWebSite
WebApiCompatShimWebSite
XmlFormattersWebSite