aspnetcore/test/Microsoft.AspNet.Razor.Test/Utils
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
..
BaselineWriter.cs Avoid errors when generating baselines 2015-06-01 08:42:23 -07:00
DisposableActionTest.cs `throw new ArgumentNullException(...)` -> `[NotNull]` 2015-05-06 14:21:05 -07:00
ExceptionHelpers.cs
MiscUtils.cs
TestFile.cs Avoid errors when generating baselines 2015-06-01 08:42:23 -07:00