aspnetcore/test/Microsoft.AspNet.Razor.Test/CodeGenerators
Doug Bunting d545f47fe4 Avoid errors when generating baselines
- ignore missing expected output resources in this mode
- update `BaselineWriter` to avoid `IOException`s (file access issues)
 - serialize file operations
 - one file handle per file
- repeatedly `rm TestFiles/CodeGenerator/Output/*; `dnx . test`; no errors

also
- add generation of design-time line mappings
- fix ChunkGenerator -> CodeGenerator typo in path names
- update files only if they have changed
 - new `TestFiles.Exists()` method to support this check
- do not check results in `CSharpCodeBuilderTests` if `GENERATE_BASELINES` set

nits:
- update BOM in CodeBlockWithTextElement.cs to avoid future `git diff`s
- use more `var` and improve variable names in `TestFile`
- wrap long lines
2015-06-01 08:42:23 -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 Addressed code review comments. 2015-05-29 12:50:01 -07:00
CSharpTagHelperRenderingTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
CSharpTagHelperRenderingUnitTest.cs Addressed code review comments. 2015-05-29 12:50:01 -07:00
CodeGenTestCodeGenerator.cs Addressed code review comments. 2015-05-29 12:50:01 -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 Avoid errors when generating baselines 2015-06-01 08:42:23 -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 Addressed code review comments. 2015-05-29 12:50:01 -07:00