summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree2/src/com/android/dumprendertree2
diff options
context:
space:
mode:
authorMaksymilian Osowski <maxosowski@google.com>2010-09-14 16:13:01 +0100
committerMaksymilian Osowski <maxosowski@google.com>2010-09-14 18:13:07 +0100
commit75aa0d382844dbee2d7931f21245112c27dd3d64 (patch)
treec8e39a0dfca887d7ec2c0d4d348e06983153b770 /tests/DumpRenderTree2/src/com/android/dumprendertree2
parent540aada302af83330d42ee4cf53bbc571de4f3be (diff)
downloadframeworks_base-75aa0d382844dbee2d7931f21245112c27dd3d64.zip
frameworks_base-75aa0d382844dbee2d7931f21245112c27dd3d64.tar.gz
frameworks_base-75aa0d382844dbee2d7931f21245112c27dd3d64.tar.bz2
Changed Summarizer to add header before printing the path in summary.txt and details.html
Change-Id: I6413e1871ede077793d49b7d4732f90d0aea352f
Diffstat (limited to 'tests/DumpRenderTree2/src/com/android/dumprendertree2')
-rw-r--r--tests/DumpRenderTree2/src/com/android/dumprendertree2/Summarizer.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/DumpRenderTree2/src/com/android/dumprendertree2/Summarizer.java b/tests/DumpRenderTree2/src/com/android/dumprendertree2/Summarizer.java
index 3763bf2..2cde296 100644
--- a/tests/DumpRenderTree2/src/com/android/dumprendertree2/Summarizer.java
+++ b/tests/DumpRenderTree2/src/com/android/dumprendertree2/Summarizer.java
@@ -258,7 +258,7 @@ public class Summarizer {
StringBuilder txt = new StringBuilder();
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
- txt.append(mTestsRelativePath + "\n");
+ txt.append("Path: " + mTestsRelativePath + "\n");
txt.append("Date: " + dateFormat.format(mDate) + "\n");
txt.append("Build fingerprint: " + Build.FINGERPRINT + "\n");
txt.append("WebKit version: " + getWebKitVersionFromUserAgentString() + "\n");
@@ -338,7 +338,8 @@ public class Summarizer {
private void createTopSummaryTable(String webKitRevision, StringBuilder html) {
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
- html.append("<h1>" + mTestsRelativePath + "</h1>");
+ html.append("<h1>" + "Layout tests' results for: " +
+ (mTestsRelativePath.equals("") ? "all tests" : mTestsRelativePath) + "</h1>");
html.append("<h3>" + "Date: " + dateFormat.format(new Date()) + "</h3>");
html.append("<h3>" + "Build fingerprint: " + Build.FINGERPRINT + "</h3>");
html.append("<h3>" + "WebKit version: " + getWebKitVersionFromUserAgentString() + "</h3>");