Bug 947018: Unbreak testBrowserProvider. r=trivial
authorChris Kitching <chriskitching@linux.com>
Wed, 03 Dec 2014 11:39:40 -0800
changeset 218313 5a4922acc653f4a4b3378b2e0c02782c702c85d7
parent 218312 b99d1a16e38747849577c846b8981ea62e2f2557
child 218314 3a2ce7001153b2e77605f8ecc0fb216788fedd6c
push id27928
push usercbook@mozilla.com
push dateThu, 04 Dec 2014 15:59:43 +0000
treeherdermozilla-central@5bc6c5b77e28 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
bugs947018
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 947018: Unbreak testBrowserProvider. r=trivial
mobile/android/base/tests/testBrowserProvider.java
--- a/mobile/android/base/tests/testBrowserProvider.java
+++ b/mobile/android/base/tests/testBrowserProvider.java
@@ -54,17 +54,17 @@ public class testBrowserProvider extends
                          new String[] { BrowserContract.Bookmarks.PLACES_FOLDER_GUID,
                                         BrowserContract.Bookmarks.MOBILE_FOLDER_GUID,
                                         BrowserContract.Bookmarks.MENU_FOLDER_GUID,
                                         BrowserContract.Bookmarks.TAGS_FOLDER_GUID,
                                         BrowserContract.Bookmarks.TOOLBAR_FOLDER_GUID,
                                         BrowserContract.Bookmarks.UNFILED_FOLDER_GUID });
 
         c = mProvider.query(appendUriParam(BrowserContract.Bookmarks.CONTENT_URI, BrowserContract.PARAM_SHOW_DELETED, "1"), null, null, null, null);
-        assertCountIsAndClose(c, 7, "All non-special bookmarks and folders were deleted");
+        assertCountIsAndClose(c, 6, "All non-special bookmarks and folders were deleted");
 
         mProvider.delete(appendUriParam(BrowserContract.History.CONTENT_URI, BrowserContract.PARAM_IS_SYNC, "1"), null, null);
         c = mProvider.query(appendUriParam(BrowserContract.History.CONTENT_URI, BrowserContract.PARAM_SHOW_DELETED, "1"), null, null, null, null);
         assertCountIsAndClose(c, 0, "All history entries were deleted");
 
         /**
          * There's no reason why the following two parts should fail.
          * But sometimes they do, and I'm not going to spend the time