mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 899605 - Update testBrowserProvider for Jellybean; r=lucasr
This commit is contained in:
parent
f155698177
commit
6fbc55db68
@ -649,7 +649,8 @@ public class testBrowserProvider extends ContentProviderTest {
|
||||
mAsserter.is(new Long(id), new Long(-1),
|
||||
"Should not be able to insert bookmark with null type");
|
||||
|
||||
if (Build.VERSION.SDK_INT >= 8) {
|
||||
if (Build.VERSION.SDK_INT >= 8 &&
|
||||
Build.VERSION.SDK_INT < 16) {
|
||||
b = createOneBookmark();
|
||||
b.put(mBookmarksParentCol, -1);
|
||||
id = -1;
|
||||
@ -745,7 +746,8 @@ public class testBrowserProvider extends ContentProviderTest {
|
||||
mAsserter.is(c.moveToFirst(), false,
|
||||
"Inserted bookmark can't be found after deletion using URI with ID");
|
||||
|
||||
if (Build.VERSION.SDK_INT >= 8) {
|
||||
if (Build.VERSION.SDK_INT >= 8 &&
|
||||
Build.VERSION.SDK_INT < 16) {
|
||||
ContentValues b = createBookmark("Folder", null, mMobileFolderId,
|
||||
mBookmarksTypeFolder, 0, "folderTags", "folderDescription", "folderKeyword");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user