Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7438b534 authored by Steve Block's avatar Steve Block
Browse files

Update DumpRenderTree2 text results output to better match HTML version

Always print number of crashes and line things up nicely.

Change-Id: I79a72056ba5ce007fdd4154f1518b9535b595317
parent d96f3360
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -266,10 +266,7 @@ public class Summarizer {
        txt.append("WebKit revision: " + getWebKitRevision() + "\n");

        txt.append("TOTAL:                     " + getTotalTestCount() + "\n");
        if (mCrashedTestsCount > 0) {
            txt.append("CRASHED (total among all tests): " + mCrashedTestsCount + "\n");
            txt.append("-------------");
        }
        txt.append("CRASHED (among all tests): " + mCrashedTestsCount + "\n");
        txt.append("UNEXPECTED FAILURES:       " + mUnexpectedFailures.size() + "\n");
        txt.append("UNEXPECTED PASSES:         " + mUnexpectedPasses.size() + "\n");
        txt.append("EXPECTED FAILURES:         " + mExpectedFailures.size() + "\n");
@@ -355,7 +352,7 @@ public class Summarizer {

        html.append("<table class=\"summary\">");
        createSummaryTableRow(html, "TOTAL", getTotalTestCount());
        createSummaryTableRow(html, "CRASHED", mCrashedTestsCount);
        createSummaryTableRow(html, "CRASHED (among all tests)", mCrashedTestsCount);
        createSummaryTableRow(html, "UNEXPECTED FAILURES", mUnexpectedFailures.size());
        createSummaryTableRow(html, "UNEXPECTED PASSES", mUnexpectedPasses.size());
        createSummaryTableRow(html, "EXPECTED FAILURES", mExpectedFailures.size());