Bug 1093172 - Add test to check default status of inserted items. r=rnewman

This commit is contained in:
Margaret Leibovic 2014-12-08 10:44:32 -08:00
parent c4d427c2d6
commit 5d1809e8c7

View File

@ -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();
}