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 Addressed code review comments. 2015-05-29 12:50:01 -07:00
CSharpCodeGeneratorTest.cs Avoid errors when generating baselines 2015-06-01 08:42:23 -07:00
CSharpCodeWriterTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
CSharpLineMappingWriterTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
CSharpPaddingBuilderTests.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
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 Enable instrumentation for TagHelpers. 2015-06-10 12:52:25 -07:00
CodeGenTestCodeGenerator.cs Making CreateCodeWriter protected so that it can be overridden in Mvc. 2015-06-30 14:51:23 -07:00
CodeGenTestHost.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
CodeWriterTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
DynamicAttributeBlockChunkGeneratorTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
LineMappingTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
RazorChunkGeneratorTest.cs Remove ~/ handling from core Razor. 2015-07-31 15:55:29 -07:00
RazorCommentChunkGeneratorTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
TabTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
TagHelperAttributeValueCodeRendererTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
TagHelperTestBase.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
TestSpan.cs Transition `HashCodeCombiner` to use the `aspnet/Common` variation. 2015-07-28 10:45:08 -07:00