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

--HG--
extra : rebase_source : bca2e7843c2f5cb1ef9fc32c8004c7115aa65872
This commit is contained in:
Margaret Leibovic 2014-12-08 10:44:32 -08:00
parent 7073e68a97
commit e2c72f26b6

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