Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java583 assertHasColumn(cursor, "pbap_client_priority", false); in testDatabaseMigration_100_101()
592 assertHasColumn(cursor, "pbap_client_priority", true); in testDatabaseMigration_100_101()
641 assertHasColumn(cursor, "is_unthethered_headset", true); in testDatabaseMigration_101_102()
642 assertHasColumn(cursor, "unthethered_left_icon", true); in testDatabaseMigration_101_102()
643 assertHasColumn(cursor, "unthethered_right_icon", true); in testDatabaseMigration_101_102()
644 assertHasColumn(cursor, "unthethered_case_icon", true); in testDatabaseMigration_101_102()
645 assertHasColumn(cursor, "unthethered_left_battery", true); in testDatabaseMigration_101_102()
646 assertHasColumn(cursor, "unthethered_right_battery", true); in testDatabaseMigration_101_102()
647 assertHasColumn(cursor, "unthethered_case_battery", true); in testDatabaseMigration_101_102()
648 assertHasColumn(cursor, "unthethered_left_charging", true); in testDatabaseMigration_101_102()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java103 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 …]
DContactsDatabaseHelperUpgradeTest.java139 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()