aspnetcore/test/Microsoft.AspNet.Mvc.Extens.../Rendering
Doug Bunting 715a0b6021 Add `ModelState` entries for greedy and type-matching model binders
- part II of II for #2445
- `FormCollectionModelBinder` is an exception because container is not user-provided
 - no `ModelState` entry added
- enable tests that #2445 was blocking
 - fix these and other tests expecting different `ModelState` entries
- simplify logic in `FormFileModelBinder`

`ValueProviderResult`
- remove `protected` setters and parameterless constructor
 - no scenario for their use in subclasses; however `ConvertTo()` remains `virtual`
- add single-parameter constructor
 - use in most of the greedy and type-matching model binders
- add doc comments throughout class

nits:
- use new `ValueProviderResult` constructor in many existing tests
- `""` -> `string.Empty` and `vpr` -> `valueProviderResult` in `ValueProviderResultTest`
- improve some test names in `BodyValidationIntegrationTests`
- do not check `Message` of a Json.NET `Exception`
2015-06-23 22:34:55 -07:00
..
Expression
ViewEngine
DefaultDisplayTemplatesTest.cs
DefaultEditorTemplatesTest.cs
DefaultHtmlGeneratorTest.cs Add `ModelState` entries for greedy and type-matching model binders 2015-06-23 22:34:55 -07:00
DefaultTemplatesUtilities.cs
HtmlAttributePropertyHelperTest.cs
HtmlHelperCheckboxTest.cs Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
HtmlHelperDisplayNameExtensionsTest.cs
HtmlHelperDisplayTextTest.cs Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
HtmlHelperFormExtensionsTest.cs
HtmlHelperFormTest.cs
HtmlHelperHiddenTest.cs Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
HtmlHelperLabelExtensionsTest.cs
HtmlHelperLinkGenerationTest.cs
HtmlHelperNameExtensionsTest.cs
HtmlHelperPartialExtensionsTest.cs
HtmlHelperPasswordTest.cs
HtmlHelperSelectTest.cs Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
HtmlHelperTest.cs Add `Encode()` and `Raw()` overrides to `IHtmlHelper<TModel>` 2015-06-16 18:48:07 -07:00
HtmlHelperValidationSummaryTest.cs
HtmlHelperValueTest.cs Make `string`-based expression evaluations behave consistently 2015-06-16 21:54:56 -07:00
StringCollectionTextWriterTest.cs
TagBuilderTest.cs
TemplateRendererTest.cs
TestResources.cs
ViewContextTests.cs
ViewDataOfTTest.cs