Home
last modified time | relevance | path

Searched refs:assertHasColumn (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java104 public void assertHasColumn(String name, String type, boolean notnull, in assertHasColumn() method in BaseDatabaseHelperUpgradeTest.TableStructure
132 assertHasColumn(column.name, column.type, column.notnull, column.dflt_value); in assertHasColumns()
194 table.assertHasColumn("foo", INTEGER, false, null); in testAssertHasColumn_Match()
201 table.assertHasColumn("bar", INTEGER, false, null); in testAssertHasColumn_Empty()
212 table.assertHasColumn("bar", INTEGER, false, null); in testAssertHasColumn_ColumnNotExist()
223 table.assertHasColumn("foo", TEXT, false, null); in testAssertHasColumn_TypeMismatch()
234 table.assertHasColumn("foo", INTEGER, true, null); in testAssertHasColumn_NotNullMismatch()
243 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMatch()
250 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMismatch()
261 table.assertHasColumn("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMismatch_Null1()
[all …]
DContactsDatabaseHelperUpgradeTest.java124 calls.assertHasColumn(Calls.LAST_MODIFIED, INTEGER, false, "0"); in upgradeTo1109()
127 voicemailStatus.assertHasColumn(Status.QUOTA_OCCUPIED, INTEGER, false, "-1"); in upgradeTo1109()
128 voicemailStatus.assertHasColumn(Status.QUOTA_TOTAL, INTEGER, false, "-1"); in upgradeTo1109()