Backed out changeset 1f6450d61d3f (bug 975792)
authorEd Morley <emorley@mozilla.com>
Mon, 24 Feb 2014 15:45:04 +0000
changeset 170555 1a219f500336241729a29f71ca5516063b86e654
parent 170524 d9c58306bfbc74c920aa5c995b86b5f8a398352b
child 170556 1422dfcd7fd82fe5dffc9af1ab880c295e5ccfeb
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
bugs975792
milestone30.0a1
backs out1f6450d61d3fdf18f8a9e4fc1dd048a44692f72e
Backed out changeset 1f6450d61d3f (bug 975792)
mobile/android/base/tests/testBrowserProvider.java
--- a/mobile/android/base/tests/testBrowserProvider.java
+++ b/mobile/android/base/tests/testBrowserProvider.java
@@ -66,23 +66,23 @@ public class testBrowserProvider extends
 
         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");
 
         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");
 
-        mProvider.delete(appendUriParam(BrowserContract.Favicons.CONTENT_URI, BrowserContract.PARAM_IS_SYNC, "1"), null, null);
+        mProvider.delete(BrowserContract.Favicons.CONTENT_URI, null, null);
         c = mProvider.query(appendUriParam(BrowserContract.Favicons.CONTENT_URI,
                                            BrowserContract.PARAM_SHOW_DELETED, "1"),
                                            null, null, null, null);
         assertCountIsAndClose(c, 0, "All favicons were deleted");
 
-        mProvider.delete(appendUriParam(BrowserContract.Thumbnails.CONTENT_URI, BrowserContract.PARAM_IS_SYNC, "1"), null, null);
+        mProvider.delete(BrowserContract.Thumbnails.CONTENT_URI, null, null);
         c = mProvider.query(appendUriParam(BrowserContract.Thumbnails.CONTENT_URI,
                                            BrowserContract.PARAM_SHOW_DELETED, "1"),
                                            null, null, null, null);
         assertCountIsAndClose(c, 0, "All thumbnails were deleted");
     }
 
     private ContentValues createBookmark(String title, String url, long parentId,
             int type, int position, String tags, String description, String keyword) throws Exception {