aspnetcore/test/Microsoft.AspNetCore.Mvc.Ra...
N. Taylor Mullen 2a6f0e4dc9 Productionize the csharp rendering context APIs.
- Rename `CSharpRenderingContext` => `CodeRenderingContext`.
- Rename `CSharpCodeWriter` => `CodeWriter`
- Rename `BasicWriter` => `IntermediateNodeWriter`
- Rename `...BasicWriter` => `...NodeWriter`
- Made `CodeRenderingContext` a public abstract API. Left temporary TagHelper pieces in the class since these will be removed soon.
- Moved several `CodeRenderingContext` methods into extension methods. These make use of the Items collection.
- Moved the reporting of missing code target extensions into the `ExtensionIntermediateNode`. This is the integration point of `CodeTarget`s and `CodeRenderingContext`s; therefore, it made more sense existing there.
- Left SetRenderChildren/SetRenderNode as extension methods due to how they're wired up. Aka, to create a `CodeTarget` you need a `CodeRenderingContext`... To Create a `DocumentWriter` you need a `CodeTarget`... To set the render methods on the context you need a `DocumentWriter`.
- Updated tests to utilize the new code renering constructs.
- Moved code generation testability features from `CSharpLoweringPhase` to the `CodeRenderingContext.Items`.

#1043
2017-06-30 16:35:53 -07:00
..
IntegrationTests Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
Properties
TestFiles/IntegrationTests
AssemblyAttributeInjectionPassTest.cs
InjectDirectiveTest.cs
InjectTargetExtensionTest.cs Productionize the csharp rendering context APIs. 2017-06-30 16:35:53 -07:00
InstrumentationPassTest.cs
LineMappingsSerializer.cs
Microsoft.AspNetCore.Mvc.Razor.Extensions.Test.csproj Remove NetStandard.Library.NETFramework and Update Moq 2017-06-29 10:17:45 -07:00
ModelDirectiveTest.cs Run DesignTimeDirectivePass later in the phase 2017-06-29 10:51:45 -07:00
ModelExpressionPassTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
MvcRazorTemplateEngineTest.cs
MvcViewDocumentClassifierPassTest.cs
NamespaceDirectiveTest.cs
PageDirectiveTest.cs Revert "Remove skipped test" 2017-06-29 10:39:07 -07:00
RazorPageDocumentClassifierPassTest.cs
TagHelperDescriptorExtensionsTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
ViewComponentTagHelperDescriptorFactoryTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
ViewComponentTagHelperDescriptorProviderTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
ViewComponentTagHelperPassTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
ViewComponentTypeVisitorTest.cs
xunit.runner.json Configure xunit for better display 2017-05-17 20:31:37 -07:00