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.java626 assertHasColumn(cursor, "pbap_client_priority", false); in testDatabaseMigration_100_101()
635 assertHasColumn(cursor, "pbap_client_priority", true); in testDatabaseMigration_100_101()
684 assertHasColumn(cursor, "is_unthethered_headset", true); in testDatabaseMigration_101_102()
685 assertHasColumn(cursor, "unthethered_left_icon", true); in testDatabaseMigration_101_102()
686 assertHasColumn(cursor, "unthethered_right_icon", true); in testDatabaseMigration_101_102()
687 assertHasColumn(cursor, "unthethered_case_icon", true); in testDatabaseMigration_101_102()
688 assertHasColumn(cursor, "unthethered_left_battery", true); in testDatabaseMigration_101_102()
689 assertHasColumn(cursor, "unthethered_right_battery", true); in testDatabaseMigration_101_102()
690 assertHasColumn(cursor, "unthethered_case_battery", true); in testDatabaseMigration_101_102()
691 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.java134 calls.assertHasColumn(Calls.LAST_MODIFIED, INTEGER, false, "0"); in upgradeTo1109()
137 voicemailStatus.assertHasColumn(Status.QUOTA_OCCUPIED, INTEGER, false, "-1"); in upgradeTo1109()
138 voicemailStatus.assertHasColumn(Status.QUOTA_TOTAL, INTEGER, false, "-1"); in upgradeTo1109()