aspnetcore/test/Microsoft.AspNet.Razor.Test
N. Taylor Mullen b25bf01158 Add TagHelper support for unbound data- attributes.
- Involved updating the HtmlMarkupParser to properly separate data- attributes. Prior to this change `data-foo="abc @DateTime.Now def"` would involve 1 Span for `data-foo="abc` 1 Span for `@DateTime.Now` and 1 Span for `def"`. This was very unique behavior from an attribute standpoint (as far as Razor is concerned) and made it difficult for the TagHelper rewriting system to rewrite attributes. With this change it gets broken out as follows: `|data-foo="|abc| @DateTime.Now| def|"|`.
- Added unit tests to validate the various ways you can write unbound data- attributes.
- Updated the BasicTagHelpers codegeneration test to intermix some unbound data- attributes.

#342
2015-05-18 22:43:03 -07:00
..
Editor Utilize nameof operator 2015-05-11 17:37:54 +02:00
Framework Remove unneeded NamespaceKeywordLength from AddImportCodeGenerator. 2015-05-18 17:21:50 -07:00
Generator Add TagHelper support for unbound data- attributes. 2015-05-18 22:43:03 -07:00
Parser Remove unneeded NamespaceKeywordLength from AddImportCodeGenerator. 2015-05-18 17:21:50 -07:00
TagHelpers Add TagHelper support for unbound data- attributes. 2015-05-18 22:43:03 -07:00
TestFiles Add TagHelper support for unbound data- attributes. 2015-05-18 22:43:03 -07:00
Text `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
Tokenizer `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
Utils `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
CSharpRazorCodeLanguageTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
Microsoft.AspNet.Razor.Test.xproj
RazorCodeLanguageTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
RazorEngineHostTest.cs `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
RazorErrorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
RazorTemplateEngineTest.cs `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
SourceLocationTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
StringTextBuffer.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
project.json Revert "Reacting to updated CoreCLR packages" 2015-05-15 12:19:37 -07:00