diff options
author | Guang Zhu <guangzhu@google.com> | 2012-01-20 17:06:42 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-20 17:06:42 -0800 |
commit | 7a640a093639c712ed4e37d06cb86c50d88bd376 (patch) | |
tree | ad4508bc5334df31c77c43018b0d579e5da98bec /tests/DumpRenderTree | |
parent | e0e10b41c465a74749dcd1d05d8f4b688fcfdc3c (diff) | |
parent | d467347d7301043664c2c4b5a05170ae1b7b0afd (diff) | |
download | frameworks_base-7a640a093639c712ed4e37d06cb86c50d88bd376.zip frameworks_base-7a640a093639c712ed4e37d06cb86c50d88bd376.tar.gz frameworks_base-7a640a093639c712ed4e37d06cb86c50d88bd376.tar.bz2 |
Merge "Revert "Use port 18000 instead of 8000 for layout tests""
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/FsUtils.java | 2 | ||||
-rw-r--r-- | tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ForwardService.java | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/FsUtils.java b/tests/DumpRenderTree/src/com/android/dumprendertree/FsUtils.java index 5e2a9fd..b7d2c26 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/FsUtils.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/FsUtils.java @@ -141,7 +141,7 @@ public class FsUtils { } else if (!path.startsWith(HTTP_LOCAL_TESTS_PREFIX) && !path.startsWith(HTTP_MEDIA_TESTS_PREFIX) && !path.startsWith(HTTP_WML_TESTS_PREFIX)) { - url = "http://127.0.0.1:18000/" + path.substring(HTTP_TESTS_PREFIX.length()); + url = "http://127.0.0.1:8000/" + path.substring(HTTP_TESTS_PREFIX.length()); } else { url = "file://" + path; } diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ForwardService.java b/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ForwardService.java index 7a277d7..25dd04fd 100644 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ForwardService.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ForwardService.java @@ -26,7 +26,7 @@ import android.util.Log; public class ForwardService { - private ForwardServer fs18000, fs8080, fs8443; + private ForwardServer fs8000, fs8080, fs8443; private static ForwardService inst; @@ -40,7 +40,7 @@ public class ForwardService { private ForwardService() { int addr = getForwardHostAddr(); if (addr != -1) { - fs18000 = new ForwardServer(18000, addr, 8000); + fs8000 = new ForwardServer(8000, addr, 8000); fs8080 = new ForwardServer(8080, addr, 8080); fs8443 = new ForwardServer(8443, addr, 8443); } @@ -55,8 +55,8 @@ public class ForwardService { public void startForwardService() { try { - if (fs18000 != null) - fs18000.start(); + if (fs8000 != null) + fs8000.start(); if (fs8080 != null) fs8080.start(); if (fs8443 != null) @@ -68,9 +68,9 @@ public class ForwardService { } public void stopForwardService() { - if (fs18000 != null) { - fs18000.stop(); - fs18000 = null; + if (fs8000 != null) { + fs8000.stop(); + fs8000 = null; } if (fs8080 != null) { fs8080.stop(); |