Assert KEY_READ in commit test
[gitter-test.git] / src / ch / codelabs / gitter / test / CommitDbAdapterTest.java
index 7bc9ce9..2b0ecb9 100644 (file)
@@ -45,6 +45,8 @@ public class CommitDbAdapterTest extends AndroidTestCase {
                assertTrue(c.getCount() > 0);
 
                c.moveToLast();
+               assertEquals(0, c.getInt
+                               (c.getColumnIndexOrThrow(CommitDbAdapter.KEY_READ)));
                assertEquals("Update TODO", c.getString
                                (c.getColumnIndexOrThrow(CommitDbAdapter.KEY_TITLE)));
                assertEquals("John Doe doe@example.com", c.getString