aspnetcore/test/Microsoft.AspNetCore.Mvc.Vi...
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
..
DependencyInjection
Internal [Fixes #6591] TempData should support nullable types 2017-12-04 15:33:22 -08:00
Model
Properties
Rendering Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
ViewComponents Upgrade to xunit 2.3.0-beta4 2017-08-17 10:45:03 -07:00
ViewEngines Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ViewFeatures Allow `null` or empty `fullName` in one special case 2018-01-09 08:53:37 -08:00
ControllerTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ControllerUnitTestabilityTests.cs House Cleaning - Spelling and grammar 🚿 2017-08-30 14:58:44 -07:00
Microsoft.AspNetCore.Mvc.ViewFeatures.Test.csproj Update samples and tests to target netcoreapp2.1 2017-11-13 14:58:40 -08:00
ModelStateDictionaryExtensionsTest.cs
PartialViewResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
RemoteAttributeTest.cs Upgrade test framework versions and fix test issues 2017-05-15 14:11:27 -07:00
Resources.resx
SkipStatusCodePagesAttributeTest.cs
TestApplicationPart.cs
ViewComponentResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00
ViewComponentTests.cs React to ISession cancellation changes 2017-07-05 14:34:48 -07:00
ViewResultTest.cs Remove TestOptionsManager 2017-10-30 17:49:15 -07:00