From d5897dc7985e511c194f839d4b340fed2d63b41c Mon Sep 17 00:00:00 2001 From: Tsu Chiang Chuang Date: Mon, 14 Nov 2011 15:46:16 -0800 Subject: [PATCH] fix for build breakage. Change-Id: Ie324e46a79923813edd2e5e0c34ede79e6ee3eea --- .../src/com/android/bandwidthtest/BandwidthTest.java | 4 ++-- 1 file 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 feea3649c873e..a781472a9af73 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(); }