Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java66 protected static class TableStructure { class in BaseDatabaseHelperUpgradeTest
71 public TableStructure(SQLiteDatabase db, String tableName) { in TableStructure() method in BaseDatabaseHelperUpgradeTest.TableStructure
95 private TableStructure() { in TableStructure() method in BaseDatabaseHelperUpgradeTest.TableStructure
195 TableStructure structure = new TableStructure(mDb, entry.name); in assertDatabaseStructureSameAsList()
201 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); in testAssertHasColumn_Match()
206 TableStructure table = new TableStructure(); in testAssertHasColumn_Empty()
217 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); in testAssertHasColumn_ColumnNotExist()
228 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); in testAssertHasColumn_TypeMismatch()
239 TableStructure table = createOneColumnTable("foo", INTEGER, false, null); in testAssertHasColumn_NotNullMismatch()
250 TableStructure table = createOneColumnTable("foo", INTEGER, false, "baz"); in testAssertHasColumn_DefaultMatch()
[all …]
DContactsDatabaseHelperUpgradeTest.java138 TableStructure calls = new TableStructure(mDb, "calls"); in upgradeTo1109()
141 TableStructure voicemailStatus = new TableStructure(mDb, "voicemail_status"); in upgradeTo1109()