diff options
author | Neal Nguyen <tommyn@google.com> | 2010-05-06 17:10:22 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-05-06 17:10:22 -0700 |
commit | 1acadbc69cb5564b44b1da6682368aa6604c8f66 (patch) | |
tree | 145978e4dc1bf98b80e051ee04e7bfa319dd7f99 /core/tests/hosttests/src/android/content | |
parent | 81950cd2605224823011d4764438935139804b89 (diff) | |
parent | 529ad92e8954dc685cdbab1678903ba5304e2907 (diff) | |
download | frameworks_base-1acadbc69cb5564b44b1da6682368aa6604c8f66.zip frameworks_base-1acadbc69cb5564b44b1da6682368aa6604c8f66.tar.gz frameworks_base-1acadbc69cb5564b44b1da6682368aa6604c8f66.tar.bz2 |
am 529ad92e: am bda001aa: am ad0830a1: am 639a7fc2: Merge "Propagating IOException from RemoteAndroidTestRunner#run() in PackageManagerHostTestUtils." into froyo
Diffstat (limited to 'core/tests/hosttests/src/android/content')
-rw-r--r-- | core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java b/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java index 6f3fa43..19c9d26 100644 --- a/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java +++ b/core/tests/hosttests/src/android/content/pm/PackageManagerHostTestUtils.java @@ -120,7 +120,7 @@ public class PackageManagerHostTestUtils extends Assert { * @param pkgName Android application package for tests * @return the {@link CollectingTestRunListener} */ - private CollectingTestRunListener doRunTests(String pkgName) { + private CollectingTestRunListener doRunTests(String pkgName) throws IOException { RemoteAndroidTestRunner testRunner = new RemoteAndroidTestRunner( pkgName, mDevice); CollectingTestRunListener listener = new CollectingTestRunListener(); @@ -138,7 +138,7 @@ public class PackageManagerHostTestUtils extends Assert { * @param pkgName Android application package for tests * @return true if every test passed, false otherwise. */ - public boolean runDeviceTestsDidAllTestsPass(String pkgName) { + public boolean runDeviceTestsDidAllTestsPass(String pkgName) throws IOException { CollectingTestRunListener listener = doRunTests(pkgName); return listener.didAllTestsPass(); } |