protected virtual void ResolveDocumentTransformation(string source, IEnumerable <string> expectedResults) { // ReSharper disable PossibleMultipleEnumeration expectedResults.AssertNotNull(); ReportSourceLines(nameof(source), source); ReportSourceLines(nameof(expectedResults), expectedResults.ToArray()); CompilationManager.Compile(null, source); var actualSources = TransformedSources.ToArray(); // TODO: TBD: unit test progress... // TODO: TBD: CG is happening, preamble is happening, trailing CRLF `trivia´ would happen if we enable the flag for it. // TODO: TBD: should also furnish an 'expected' with the indicated changes... ReportSourceLines(nameof(actualSources), actualSources); TransformedSources.AssertEqual(expectedResults); // ReSharper restore PossibleMultipleEnumeration }
protected virtual void ResolveCompilation() { // TODO: TBD: then what? and/or doing what else leading up to actual compilation? CompilationManager.CompileAllProjects(); }