aspnetcore/test/WebSites
Doug Bunting 8779cafbab Use `[Display(Order=x)]` to sort validation messages and properties
- #964
- compute `ModelMetadata.Order` based on `[Display]` attribute
 - property affects e.g. `@Html.DisplayFor()` generation for complex objects
 - also affects order of messages in validation summaries
- test new scenarios involving `ModelMetadata.Order`
 - per-property `ModelMetadata` and related tests
 - validation and `HtmlHelper` tests
 - add `HtmlHelperValidationSummaryTest` (which touches on #453)
- update ModelBinding functional test to show use of `[Display(Order = x)]`

nits:
- move more `NullDisplayText` bits into proper slots (just above `Order`)
 - add doc comments for `ComputeNullDisplayText()`
- add more assertions in tests using `ModelStateDictionary.HasReachedMaxErrors`
- remove some trailing whitespace
- avoid `Assert.True()` & `Assert.False()`; split some assertions up
- `""` -> `string.Empty` in affected test classes
- rename "DefaultEditorTemplatesTest~~s~~" class and file to follow guidelines
- rename "ModelBindingTest~~s~~" class and file to follow guidelines

FYI #1888 covers a predictable (or even just stable) order in the UI
2015-01-29 09:31:05 -08:00
..
ActionConstraintsWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
ActionResultsWebSite Added StatusCode property to OutputFormatterContext 2015-01-26 17:32:04 -08:00
ActivatorWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
AddServicesWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
AntiForgeryWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ApiExplorerWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
ApplicationModelWebSite Provided a way to add data to ActionDescriptor from ApplicationModel. 2015-01-26 15:20:02 -08:00
AutofacWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
BasicWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
CompositeViewEngineWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ConnegWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
CustomRouteWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ErrorPageMiddlewareWebSite [cleanup] Update .gitignore and reset .kproj files 2015-01-21 22:03:23 -08:00
FilesWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
FiltersWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
FormatterWebSite Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
InlineConstraintsWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
LoggingWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
Microsoft.AspNet.Mvc.TestConfiguration
ModelBindingWebSite Use `[Display(Order=x)]` to sort validation messages and properties 2015-01-29 09:31:05 -08:00
MvcTagHelpersWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
PrecompilationWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
RazorInstrumentationWebsite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
RazorViewEngineOptionsWebsite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
RazorWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
RequestServicesWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ResponseCacheWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
RoutingWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
TagHelpersWebSite React to aspnet/Razor#94. 2015-01-27 20:20:14 -08:00
UrlHelperWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
ValidationWebSite Added functionaltests for ModelMetadataType attribute and moved TryValidateModel tests actions to ValidationWebSite 2015-01-27 15:56:49 -08:00
ValueProvidersWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
VersioningWebSite Merge branch 'release' into dev 2015-01-23 17:12:16 -08:00
ViewComponentWebSite Modify BuilderExtensions.UseMvc to not add any routes by default 2015-01-23 16:51:38 -08:00
WebApiCompatShimWebSite
XmlFormattersWebSite [Fixes#1792]Separate XML serializers to Microsoft.AspNet.Mvc.Xml 2015-01-22 15:09:20 -08:00