summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorTsu Chiang Chuang <tsu@google.com>2011-11-14 15:46:16 -0800
committerTsu Chiang Chuang <tsu@google.com>2011-11-14 15:46:16 -0800
commitd5897dc7985e511c194f839d4b340fed2d63b41c (patch)
treeff64cbaafc38c2fd98b6504af3f120ee7346e0ea /core/tests
parent8d8e669ea11d011b3e2320ad5dab580916b6d32e (diff)
downloadframeworks_base-d5897dc7985e511c194f839d4b340fed2d63b41c.zip
frameworks_base-d5897dc7985e511c194f839d4b340fed2d63b41c.tar.gz
frameworks_base-d5897dc7985e511c194f839d4b340fed2d63b41c.tar.bz2
fix for build breakage.
Change-Id: Ie324e46a79923813edd2e5e0c34ede79e6ee3eea
Diffstat (limited to 'core/tests')
-rw-r--r--core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java b/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
index feea364..a781472 100644
--- a/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
+++ b/core/tests/bandwidthtests/src/com/android/bandwidthtest/BandwidthTest.java
@@ -142,7 +142,7 @@ public class BandwidthTest extends InstrumentationTestCase {
* Ensure that uploading on wifi reports reasonable stats.
*/
@LargeTest
- public void testWifiUpload() {
+ public void testWifiUpload() throws Exception {
assertTrue(setDeviceWifiAndAirplaneMode(mSsid));
uploadFile();
}
@@ -196,7 +196,7 @@ public class BandwidthTest extends InstrumentationTestCase {
* accounting still goes to the app making the call and that the numbers still make sense.
*/
@LargeTest
- public void testWifiDownloadWithDownloadManager() {
+ public void testWifiDownloadWithDownloadManager() throws Exception {
assertTrue(setDeviceWifiAndAirplaneMode(mSsid));
downloadFileUsingDownloadManager();
}