aspnetcore/test/Microsoft.AspNet.Razor.Test/CodeGenerators
N. Taylor Mullen 4604c807c4 Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system.
- Today MVC has specific rules about resolving Razor attribute values. Ex: `true` => attribute name being used as attribute value. This change ensures that unbound complex `TagHelper` attribute use that same logic.
- Added configuration to `GeneratedTagHelperContext` for `AddHtmlAttributeValues`.
- Had to be careful with code generating `AddHtmlAttributeValues`. In the case of `data-`; they can appear as complex attributes but may not contain any pieces that are `DynamicAttributeBlockChunk`s. Had to protect against this scenario.
- Updated existing test files.
- Added a new code gen test case to showcase the various use-cases of unbound dynamic `TagHelper` attributes.

#247
2015-08-10 11:29:22 -07:00
..
AddImportChunkGeneratorTest.cs
CSharpCodeGeneratorTest.cs
CSharpCodeWriterTest.cs
CSharpLineMappingWriterTest.cs
CSharpPaddingBuilderTests.cs
CSharpRazorChunkGeneratorTest.cs Remove ~/ handling from core Razor. 2015-07-31 15:55:29 -07:00
CSharpTagHelperRenderingTest.cs Add ability for unbound complex `TagHelper` attributes to flow through MVC attribute resolution system. 2015-08-10 11:29:22 -07:00
CSharpTagHelperRenderingUnitTest.cs
CodeGenTestCodeGenerator.cs
CodeGenTestHost.cs
CodeWriterTest.cs
DynamicAttributeBlockChunkGeneratorTest.cs
LineMappingTest.cs
RazorChunkGeneratorTest.cs Remove ~/ handling from core Razor. 2015-07-31 15:55:29 -07:00
RazorCommentChunkGeneratorTest.cs
TabTest.cs
TagHelperAttributeValueCodeRendererTest.cs
TagHelperTestBase.cs
TestSpan.cs Transition `HashCodeCombiner` to use the `aspnet/Common` variation. 2015-07-28 10:45:08 -07:00