diff options
author | John Spong <spong@google.com> | 2010-03-11 11:38:04 -0800 |
---|---|---|
committer | John Spong <spong@google.com> | 2010-03-11 11:38:04 -0800 |
commit | 98e1137fe2221b6370a7e19ded46313d7bc5e4a6 (patch) | |
tree | e93316ea1c260d75fceeb02a710e981bc1cb285e /tests/src/com/android | |
parent | 21d9b907ca3aac7f1ad693cbb8731f5d3e4215a8 (diff) | |
download | packages_apps_browser-98e1137fe2221b6370a7e19ded46313d7bc5e4a6.zip packages_apps_browser-98e1137fe2221b6370a7e19ded46313d7bc5e4a6.tar.gz packages_apps_browser-98e1137fe2221b6370a7e19ded46313d7bc5e4a6.tar.bz2 |
Writing page + time in one go so that the file always stays in an easily parsable format.
Change-Id: Ia7f5f216d21925aebf5c807ee95036ebf6f6fa35
Diffstat (limited to 'tests/src/com/android')
-rw-r--r-- | tests/src/com/android/browser/PopularUrlsTest.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/src/com/android/browser/PopularUrlsTest.java b/tests/src/com/android/browser/PopularUrlsTest.java index 93aadda..07fadbc 100644 --- a/tests/src/com/android/browser/PopularUrlsTest.java +++ b/tests/src/com/android/browser/PopularUrlsTest.java @@ -357,11 +357,6 @@ public class PopularUrlsTest extends ActivityInstrumentationTestCase2<BrowserAct } final Intent intent = new Intent(Intent.ACTION_VIEW, uri); - if (writer != null) { - writer.write(uri.toString()); - writer.flush(); - } - long startTime = System.nanoTime(); mInst.runOnMainSync(new Runnable() { @@ -377,7 +372,7 @@ public class PopularUrlsTest extends ActivityInstrumentationTestCase2<BrowserAct Log.d(TAG, "Loaded url: " + url); if (writer != null) { - writer.write("|" + (stopTime - startTime) + newLine); + writer.write(page + "|" + (stopTime - startTime) + newLine); writer.flush(); } |