Bug 791859 - Robocop: change order of operations in testHistoryTab.tearDown; r=jmaher

This commit is contained in:
Geoff Brown 2012-09-17 21:34:48 -06:00
parent 3b72ea4cc8
commit 2560ed037a

View File

@ -212,8 +212,6 @@ public class testHistoryTab extends PixelTest {
} }
public void tearDown() throws Exception { public void tearDown() throws Exception {
super.tearDown();
ContentResolver resolver = getActivity().getContentResolver(); ContentResolver resolver = getActivity().getContentResolver();
Uri uri = Uri.parse("content://@ANDROID_PACKAGE_NAME@.db.browser/history"); Uri uri = Uri.parse("content://@ANDROID_PACKAGE_NAME@.db.browser/history");
uri = uri.buildUpon().appendQueryParameter("profile", "default") uri = uri.buildUpon().appendQueryParameter("profile", "default")
@ -231,5 +229,7 @@ public class testHistoryTab extends PixelTest {
resolver.delete(uri, "url = ?", new String[] { resolver.delete(uri, "url = ?", new String[] {
"http://mochi.test:8888/tests/robocop/robocop_blank_01.html" "http://mochi.test:8888/tests/robocop/robocop_blank_01.html"
}); });
super.tearDown();
} }
} }