aspnetcore/test/Microsoft.AspNet.Razor.Test/Framework
N. Taylor Mullen e9292a0e30 Add ability to write start tag only `TagHelper` elements.
- To write a start tag only `TagHelper` you can now utilize the `TagStructure` property on the `TargetElement` attribute. If none is specified it'll be treated as unspecified and default to old behavior of being start/end tag or self-closing.
- Added `TagMode` to showcase what the user initially wrote in their Razor document. This way `TagHelper`s can flow end-to-end in thesame format as they were written with.
- Updated code generation to specify `TagMode` instead of the boolean self-closing.
- Updated existing tests to move from `SelfClosing` => `TagMode`.
- Added `TagStructure` related tests to the set of tests that we currently have for `TagHelperBlockRewriter` and `TagHelperParseTreeRewriter`.

#450
2015-08-13 16:18:06 -07:00
..
BlockExtensions.cs
BlockFactory.cs Add tests to validate minimized attributes. 2015-05-15 12:23:11 -07:00
BlockTypes.cs Add ability to write start tag only `TagHelper` elements. 2015-08-13 16:18:06 -07:00
CodeParserTestBase.cs
CsHtmlCodeParserTestBase.cs
CsHtmlMarkupParserTestBase.cs
ErrorCollector.cs
MarkupParserTestBase.cs
ParserTestBase.cs Add ability to write start tag only `TagHelper` elements. 2015-08-13 16:18:06 -07:00
RawTextSymbol.cs `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
TestSpanBuilder.cs Fix C# design time projections for complex TagHelper attributes. 2015-06-25 10:27:03 -07:00