Bug 986114 - Pre: clean up testReadingListProvider. r=trivial, a=lsblakk
authorRichard Newman <rnewman@mozilla.com>
Fri, 21 Mar 2014 16:00:38 -0700
changeset 192665 1c429fbf41e55215649726b96c3599db096c3733
parent 192664 2e0063d89bb9b0ab3048c602fe682a20fcc0e0fa
child 192666 e38906f990ee26bd774c533e452b6848245a2b0b
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial, lsblakk
bugs986114
milestone30.0a2
Bug 986114 - Pre: clean up testReadingListProvider. r=trivial, a=lsblakk
mobile/android/base/tests/testReadingListProvider.java
--- a/mobile/android/base/tests/testReadingListProvider.java
+++ b/mobile/android/base/tests/testReadingListProvider.java
@@ -1,18 +1,21 @@
+/* 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;
 import java.util.Random;
 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;
 import android.content.ContentValues;
 import android.database.Cursor;
 import android.database.sqlite.SQLiteDatabase;
 import android.net.Uri;
 
@@ -63,22 +66,23 @@ public class testReadingListProvider ext
     @Override
     public void setUp() throws Exception {
         super.setUp(sProviderFactory, BrowserContract.READING_LIST_AUTHORITY, DB_NAME);
         for (TestCase test: TESTS_TO_RUN) {
             mTests.add(test);
         }
     }
 
-    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();
     }
 
     /**
      * Verify that we can insert a reading list item into the DB.
      */