private static void LoadFromImportedProject(Collection<string> result, String newImport) { MSBuildReader newReader = new MSBuildReader(newImport); Collection<string> importResult = newReader.FilesToInclude(); foreach (string importedTarget in importResult) { result.Add(importedTarget); } }
public void Run() { myResults = new Collection<Results>(); MSBuildReader reader = new MSBuildReader(configurationFile); Collection<string> allFiles = reader.FilesToInclude(); foreach (string file in allFiles) { Checker checker = new Checker(); Results results = checker.CheckFile(file); isHappy &= results.Happy; myResults.Add(results); } }
private void DoTheBuilderCheck() { reader = new MSBuildReader(configurationFile); actual = reader.FilesToInclude(); string reason = FoundAllFiles(); Assert.AreEqual("", reason); }