aspnetcore/test/Microsoft.AspNet.Razor.Test
N. Taylor Mullen e30e74dc5a Handle unclosed and invalid structure HTML tags for TagHelpers.
- Added detection of unclosed tags (tags without begin/end).
- Added recovery of potentially unclosed tags.
- Added detection of invalid structure tags (tags that do not end with '>').
- Modified detection of bad attribute values to be parse errors instead of runtime errors.
- Modified RazorParser to sort errors. This made writing tests more intuitive and ultimately ensures that the editor shows errors in the correct order.
- Added tests to validate invalid tag structure.
- Added tests to validate invalid attributes.
- Added tests to validate unclosed tags.

#104
2014-12-22 14:28:35 -08:00
..
Editor
Framework
Generator Add line mappings to project TagHelper attribute values. 2014-12-19 17:26:33 -08:00
Parser
TagHelpers Handle unclosed and invalid structure HTML tags for TagHelpers. 2014-12-22 14:28:35 -08:00
TestFiles Added TagHelperContext.UniqueId: 2014-12-12 16:25:42 -08:00
Text
Tokenizer
Utils
CSharpRazorCodeLanguageTest.cs
Microsoft.AspNet.Razor.Test.kproj
RazorCodeLanguageTest.cs
RazorDirectiveAttributeTest.cs
RazorEngineHostTest.cs
RazorTemplateEngineTest.cs
StringTextBuffer.cs
project.json Update Razor to use official xunit runner 2014-12-16 12:05:53 -08:00