Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store HTML content in file during the XML parsing #16

format

  • Loading branch information...
antoine-aumjaud committed Aug 28, 2014
commit 0468e33a2ec471ef1d889ab4d29e89dd6ffed0ed
@@ -142,7 +142,8 @@ public FitnesseResults getResults(PrintStream logger, FilePath resultsFile,

logger.println("Parsing results... ");
NativePageCountsParser pageCountsParser = new NativePageCountsParser();
NativePageCounts pageCounts = pageCountsParser.parse(resultsInputStream, logger, rootDir.getAbsolutePath() + "/");
NativePageCounts pageCounts = pageCountsParser.parse(resultsInputStream, logger,
rootDir.getAbsolutePath() + System.getProperty("file.separator"));
logger.println("resultsFile: " + getFitnessePathToXmlResultsIn());

logger.println("Got results: " + pageCounts.getSummary());
@@ -187,7 +187,7 @@ private String writeFitnesseResultFiles(String pageName, String htmlContent) {
// Just store the path to the filename.
return fileName;
} catch (IOException e) {
logger.println("Error while writing to out file" + fileName + "\n" + e.toString());
logger.println("Error while writing to out file: " + fileName + "\n" + e.toString());
} finally {
if (null != out) {
try {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.