Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseDatabaseHelperUpgradeTest.java48 public boolean notnull; field in BaseDatabaseHelperUpgradeTest.TableColumn
58 public TableColumn(String name, String type, boolean notnull, String defaultValue) { in TableColumn() argument
61 this.notnull = notnull; in TableColumn()
86 column.notnull = cursor.getInt(notNullIndex) != 0; in TableStructure()
103 public void assertHasColumn(String name, String type, boolean notnull, in assertHasColumn() argument
113 if (!notnull == column.notnull) { in assertHasColumn()
115 + column.notnull + ", " + notnull + " expected"); in assertHasColumn()
131 assertHasColumn(column.name, column.type, column.notnull, column.dflt_value); in assertHasColumns()
287 private TableStructure createOneColumnTable(String name, String type, boolean notnull, in createOneColumnTable() argument
290 table.addColumn(new TableColumn(name, type, notnull, defaultValue)); in createOneColumnTable()