dougbu
1a4bd25e0f
Add `[HiddenInput]`, `ModelMetadata.HideSurroundingHtml`, and `.Properties` tests
...
nits:
- add a few missing default `ModelMetadata` property value checks
- cleanup some redundancies in test data initializers
2014-08-15 12:33:58 -07:00
dougbu
53432e1483
Address TODO item in default `object` editor template
...
- add validation elements per property in this template
- update editor template test to expect new `<span>` in result
2014-08-15 10:50:20 -07:00
Pranav K
47d227cbf2
Modify FindView and FindPartialView to accept ActionContext
...
Fixes #787
2014-07-24 11:48:23 -07:00
Pranav K
5194adfaf5
Moving IViewEngine to MvcOptions
2014-07-08 17:50:13 -07:00
dougbu
172a5a5500
Address review comments
...
- XML comments for changed `TemplateInfo` properties
- correct `DefaultDisplayTemplateTests` and `DefaultEditorTemplateTests` namespaces
- add a couple of low-level `TemplateInfo` tests
2014-06-27 15:56:51 -07:00
dougbu
bbf470bd34
Also test `string.Empty` model
2014-06-27 15:56:47 -07:00
dougbu
6eb1e38e33
Add `@Html.Display()` and `@Html.Editor()` tests with values in `ViewData`
2014-06-27 15:56:43 -07:00
dougbu
1a4d59ae14
Enable us to unit test `@Html...For()` methods
...
- add more `DefaultTemplatesUtilities.GetHtmlHelper()` overloads, all
returning a strongly-typed helper
- also correct that method to ensure template helpers each get a unique
`IHtmlHelper` instance
2014-06-27 15:56:35 -07:00
Pranav K
24e1ac7ca1
Revive ModelMetadata.ShowForDisplay and ModelMetadata.ShowForEdit
...
Fixes #679
2014-06-23 16:50:09 -07:00
sornaks
15b06a4057
Fixing the TODOs dependent on SimpleDisplayText.
2014-06-23 11:55:16 -07:00