Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java218 private static final TableColumn[] PROPERTIES_COLUMNS = new TableColumn[] {
219 new TableColumn(PropertyUtils.PropertiesColumns.PROPERTY_KEY, TEXT, false, null),
220 new TableColumn(PropertyUtils.PropertiesColumns.PROPERTY_VALUE, TEXT, false, null),
223 private static final TableColumn[] ACCOUNTS_COLUMNS = new TableColumn[] {
224 new TableColumn(AccountsColumns._ID, INTEGER, false, null),
225 new TableColumn(AccountsColumns.ACCOUNT_NAME, TEXT, false, null),
226 new TableColumn(AccountsColumns.ACCOUNT_TYPE, TEXT, false, null),
227 new TableColumn(AccountsColumns.DATA_SET, TEXT, false, null),
230 private static final TableColumn[] CONTACTS_COLUMNS = new TableColumn[] {
231 new TableColumn(BaseColumns._ID, INTEGER, false, null),
[all …]
DBaseDatabaseHelperUpgradeTest.java43 protected static class TableColumn { class in BaseDatabaseHelperUpgradeTest
54 public TableColumn() { in TableColumn() method in BaseDatabaseHelperUpgradeTest.TableColumn
58 public TableColumn(String name, String type, boolean notnull, String defaultValue) { in TableColumn() method in BaseDatabaseHelperUpgradeTest.TableColumn
68 private final HashMap<String, TableColumn> mColumns = new HashMap<String, TableColumn>();
82 TableColumn column = new TableColumn(); in TableStructure()
99 private void addColumn(TableColumn column) { in addColumn()
105 final TableColumn column = mColumns.get(name); in assertHasColumn()
129 public void assertHasColumns(TableColumn[] columns) { in assertHasColumns()
130 for (final TableColumn column : columns) { in assertHasColumns()
138 public void assertSame(TableColumn[] columns) { in assertSame()
[all …]