From 27a205f545e32cffbdc178a37cb8c0a3920387a7 Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Fri, 21 Mar 2014 16:00:38 -0700 Subject: [PATCH] Bug 986114 - Pre: clean up testReadingListProvider. r=trivial --- mobile/android/base/tests/testReadingListProvider.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mobile/android/base/tests/testReadingListProvider.java b/mobile/android/base/tests/testReadingListProvider.java index 9b16302d696..222ae1d502f 100644 --- a/mobile/android/base/tests/testReadingListProvider.java +++ b/mobile/android/base/tests/testReadingListProvider.java @@ -1,3 +1,7 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + package org.mozilla.gecko.tests; import java.util.HashSet; @@ -7,7 +11,6 @@ import java.util.concurrent.Callable; import org.mozilla.gecko.db.BrowserContract; import org.mozilla.gecko.db.BrowserContract.ReadingListItems; import org.mozilla.gecko.db.ReadingListProvider; -import org.mozilla.gecko.db.TransactionalProvider; import android.content.ContentProvider; import android.content.ContentUris; @@ -68,12 +71,13 @@ public class testReadingListProvider extends ContentProviderTest { } } - public void testReadingListProvider() throws Exception { + public void testReadingListProviderTests() throws Exception { for (Runnable test : mTests) { setTestName(test.getClass().getSimpleName()); ensureEmptyDatabase(); test.run(); } + // Ensure browser initialization is complete before completing test, // so that the minidumps directory is consistently created. blockForGeckoReady();