Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1967)

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java

Issue 11864004: Findbugs issues (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved super.tearDown to the end Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
index f337e2dc7bfb0f6d4d16b88daeecf74197fe0374..6a9dc56d36cd21d5084b1d9b453c213af8fc7cf0 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/HttpAuthDatabaseTest.java
@@ -18,13 +18,15 @@ public class HttpAuthDatabaseTest extends AndroidTestCase {
private static final String TEST_DATABASE = "http_auth_for_HttpAuthDatabaseTest.db";
@Override
- protected void setUp() {
+ protected void setUp() throws Exception {
+ super.setUp();
getContext().deleteDatabase(TEST_DATABASE);
}
@Override
- protected void tearDown() {
+ protected void tearDown() throws Exception {
getContext().deleteDatabase(TEST_DATABASE);
+ super.tearDown();
}
@SmallTest

Powered by Google App Engine
This is Rietveld 408576698