Searched refs:assertHasColumn (Results 1 – 2 of 2) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseDatabaseHelperUpgradeTest.java | 103 public void assertHasColumn(String name, String type, boolean notnull, in assertHasColumn() method in BaseDatabaseHelperUpgradeTest.TableStructure 131 assertHasColumn(column.name, column.type, column.notnull, column.dflt_value); in assertHasColumns() 202 table.assertHasColumn("foo", INTEGER, false, null); in testAssertHasColumn_Match() 209 table.assertHasColumn("bar", INTEGER, false, null); in testAssertHasColumn_Empty() 220 table.assertHasColumn("bar", INTEGER, false, null); in testAssertHasColumn_ColumnNotExist() 231 table.assertHasColumn("foo", TEXT, false, null); in testAssertHasColumn_TypeMismatch() 242 table.assertHasColumn("foo", INTEGER, true, null); in testAssertHasColumn_NotNullMismatch() 251 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMatch() 258 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMismatch() 269 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMismatch_Null1() [all …]
|
D | ContactsDatabaseHelperUpgradeTest.java | 139 calls.assertHasColumn(Calls.LAST_MODIFIED, INTEGER, false, "0"); in upgradeTo1109() 142 voicemailStatus.assertHasColumn(Status.QUOTA_OCCUPIED, INTEGER, false, "-1"); in upgradeTo1109() 143 voicemailStatus.assertHasColumn(Status.QUOTA_TOTAL, INTEGER, false, "-1"); in upgradeTo1109()
|