fix for build breakage.

Change-Id: Ie324e46a79923813edd2e5e0c34ede79e6ee3eea
This commit is contained in:
Tsu Chiang Chuang
2011-11-14 15:46:16 -08:00
parent 8d8e669ea1
commit d5897dc798

View File

@@ -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();
}