aspnetcore/test/Microsoft.AspNetCore.Razor....
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
..
CodeGeneration Productionize the csharp rendering context APIs. 2017-06-30 16:35:53 -07:00
Extensions Productionize the csharp rendering context APIs. 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
Intermediate Productionize the csharp rendering context APIs. 2017-06-30 16:35:53 -07:00
Legacy Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
Properties
TestFiles This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
BoundAttributeDescriptorExtensionsTest.cs This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
DefaultBoundAttributeDescriptorBuilderTest.cs This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
DefaultDocumentClassifierPassTest.cs
DefaultItemCollectionTest.cs
DefaultRazorCSharpLoweringPhaseTest.cs
DefaultRazorCodeDocumentTest.cs
DefaultRazorDiagnosticTest.cs
DefaultRazorDirectiveClassifierPhaseTest.cs
DefaultRazorDocumentClassifierPhaseTest.cs
DefaultRazorEngineBuilderTest.cs
DefaultRazorEngineTest.cs
DefaultRazorIntermediateNodeLoweringPhaseIntegrationTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
DefaultRazorIntermediateNodeLoweringPhaseTest.cs Make single line single file scoped directives automatically import. 2017-06-26 16:36:54 -07:00
DefaultRazorOptimizationPhaseTest.cs
DefaultRazorParsingPhaseTest.cs
DefaultRazorSyntaxTreePhaseTest.cs
DefaultRazorTagHelperBinderPhaseTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
DefaultRequiredAttributeDescriptorBuilderTest.cs This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
DirectiveDescriptorBuilderTest.cs
DirectiveDescriptorTest.cs
DirectiveRemovalOptimizationPassTest.cs
DirectiveTokenEditHandlerTest.cs
DocumentClassifierPassBaseTest.cs
FileSystemRazorProjectItemTest.cs
FileSystemRazorProjectTest.cs
HtmlConventionsTest.cs
HtmlNodeOptimizationPassTest.cs
LargeTextSourceDocumentTest.cs
LegacyRazorDiagnosticTest.cs
Microsoft.AspNetCore.Razor.Language.Test.csproj
RazorCodeDocumentExtensionsTest.cs
RazorCodeDocumentTest.cs
RazorDiagnosticDescriptorTest.cs
RazorDiagnosticTest.cs
RazorEngineBuilderExtensionsTest.cs
RazorEngineTest.cs Move some stuff to .Extensions 2017-06-21 20:26:31 -07:00
RazorProjectItemTest.cs
RazorProjectTest.cs
RazorSourceDocumentTest.cs
RazorSyntaxTreeTest.cs
RazorTemplateEngineTest.cs
SourceChangeTest.cs
SourceLocationTest.cs
SourceSpanTest.cs
StreamSourceDocumentTest.cs
StringSourceDocumentTest.cs
SyntaxTreeVerifier.cs
TagHelperBinderTest.cs Moved all TagHelperDescriptor related builders to have getter setter 2017-06-30 14:08:05 -07:00
TagHelperDescriptorBuilderTest.cs
TagHelperDescriptorExtensionsTest.cs This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
TagHelperMatchingConventionsTest.cs This is a different take on Taylor's builders. 2017-06-28 17:37:52 -07:00
xunit.runner.json