[Robocop] Clean-up LocalBrowserDB to make methods that would help in tests public so they can be accessed

NEW
Unassigned

Status

()

Firefox for Android
General
4 years ago
4 years ago

People

(Reporter: AdrianT, Unassigned)

Tracking

Trunk
All
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
Follow-up bug to https://bugzilla.mozilla.org/show_bug.cgi?id=907734#c11 to make more database access methods public in order to use them in tests.

From a first look good candidates would be:
* private static final String[] DEFAULT_BOOKMARK_COLUMNS
* addBookmarkItem(ContentResolver cr, String title, String uri, long folderId)
* getFolderIdFromGuid(ContentResolver cr, String guid)
* desktopBookmarksExist(ContentResolver cr)
* getAllHistoryUri()
* getAllBookmarksUri()
You need to log in before you can comment on or make changes to this bug.