aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi.../ViewFeatures
Doug Bunting ecedbd5372 Allow `null` or empty `fullName` in one special case
- #6662
- users can now provide a `name` or `data-valmsg-for` attribute to avoid `ArgumentException`s
  - affects `<input>`, `<select>`, `<textarea>` elements and validation message `<div>`s
- remove `fullName` check in `DefaultHtmlGenerator.GetCurrentValues(...)` entirely

The new workaround is _not_ identical to changing `ViewData.TemplateInfo.HtmlFieldPrefix`
- does not change where expression values are found in `ModelState` or `ViewData`
- likely needs to be combined with additional workarounds i.e. for advanced use only

nits:
- clean up some excessive argument naming; add a few missing argument names
- take VS suggestions in changed classes e.g. inline a few variable declarations
- clean up some test data
2018-01-09 08:53:37 -08:00
..
AntiforgeryExtensionsTest.cs
AttributeDictionaryTest.cs
CookieTempDataProviderTest.cs
DefaultHtmlGeneratorTest.cs Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
DefaultValidationHtmlAttributeProviderTest.cs
ModelExplorerExtensionsTest.cs
ModelExplorerTest.cs
PartialViewResultExecutorTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
SessionStateTempDataProviderTest.cs
StringHtmlContentTest.cs
TempDataDictionaryFactoryTest.cs
TempDataDictionaryTest.cs
ViewDataDictionaryOfTModelTest.cs
ViewDataDictionaryTest.cs
ViewDataOfTTest.cs
ViewExecutorTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ViewResultExecutorTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00