aspnetcore/test/Microsoft.AspNet.Razor.Test/Generator
Doug Bunting 94f2f904b3 Add `[HtmlAttributeName(..., DictionaryAttributePrefix="prefix")]` part II
- relates to #89 because that changes `string` property checks and needs this refactor
- determine `string`-ness when creating `TagHelperAttributeDescriptor`s
 - add `TagHelperAttributeDescriptor.IsStringProperty` (set in constructor)
 - avoid repeated `string` comparisons and be more explicit
- change `TagHelperBlockRewriter` to centralize more of the `string`-ness determination
 - also add `TryParseResult` DTO, avoiding multiple `out` parameters
- refactor `CSharpTagHelperCodeRenderer` to allow reuse of core attribute value rendering
- test all of it
 - add `TagHelperDescriptorTest` to confirm serialization / deserialization

minor:
- fix `TagHelperBlockRewriter.TryParseBlock()` end quote removal when tag is malformed

nits:
- remove dangling mention of fixed bug #220
- make recently-added `TagHelperBlockRewriterTest` tests realistic
 - multiple `TagHelperDescriptor`s for same tag helper have identical `Attributes`
2015-05-15 23:17:52 -07:00
..
CodeTree Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
Compiler Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
AddImportCodeGeneratorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
AttributeBlockCodeGeneratorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
CSharpRazorCodeGeneratorTest.cs [Fixes #50] Removed unnecessary whitespaces before text tag 2015-05-13 10:55:52 -07:00
CSharpTagHelperRenderingTest.cs Add `[HtmlAttributeName(..., DictionaryAttributePrefix="prefix")]` part II 2015-05-15 23:17:52 -07:00
CSharpTagHelperRenderingUnitTest.cs
CodeGenTestCodeBuilder.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
CodeGenTestHost.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
DynamicAttributeBlockCodeGeneratorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
LineMappingTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
RazorCodeGeneratorTest.cs [Fixes #50] Removed unnecessary whitespaces before text tag 2015-05-13 10:55:52 -07:00
RazorCommentCodeGeneratorTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
TabTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
TagHelperAttributeValueCodeRendererTest.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
TagHelperTestBase.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00
TestSpan.cs Update LICENSE.txt and license header on files. 2015-05-01 13:58:52 -07:00