mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1093172 - Add test to check default status of inserted items. r=rnewman
This commit is contained in:
parent
c4d427c2d6
commit
5d1809e8c7
@ -91,6 +91,10 @@ public class testReadingListProvider extends ContentProviderTest {
|
||||
try {
|
||||
mAsserter.ok(c.moveToFirst(), "Inserted item found", "");
|
||||
assertRowEqualsContentValues(c, b);
|
||||
|
||||
mAsserter.is(c.getInt(c.getColumnIndex(ReadingListItems.CONTENT_STATUS)),
|
||||
ReadingListItems.STATUS_UNFETCHED,
|
||||
"Inserted item has correct default content status");
|
||||
} finally {
|
||||
c.close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user