Searched refs:columnNames (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 73 String[] columnNames = new String[] { "number" }; in testCursorJoinerAndIterator() local 74 cursor1 = getCursor(TABLE_NAME_1, null, columnNames); in testCursorJoinerAndIterator() 75 cursor2 = getCursor(TABLE_NAME_2, null, columnNames); in testCursorJoinerAndIterator() 135 String[] columnNames = new String[] { "number" }; in testNext() local 136 Cursor cursor1 = getCursor(TABLE_NAME_1, null, columnNames); in testNext() 137 Cursor cursor2 = getCursor(TABLE_NAME_2, null, columnNames); in testNext() 226 private void createTable(String tableName, String columnNames) { in createTable() argument 227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames in createTable() 247 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() argument 248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number"); in getCursor()
|
D | MergeCursorTest.java | 340 private void createTable(String tableName, String columnNames) { in createTable() argument 341 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames in createTable() 353 private Cursor getCursor(String tableName, String selection, String[] columnNames) { in getCursor() argument 354 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number_1"); in getCursor()
|
D | AbstractCursorTest.java | 500 public TestAbstractCursor(String[] columnNames, ArrayList<ArrayList> rows) { in TestAbstractCursor() argument 501 int colCount = columnNames.length; in TestAbstractCursor() 506 if (columnNames[i].compareToIgnoreCase("_id") == 0) { in TestAbstractCursor() 507 mColumnNames = columnNames; in TestAbstractCursor() 515 System.arraycopy(columnNames, 0, mColumnNames, 0, columnNames.length); in TestAbstractCursor()
|
D | CursorWrapperTest.java | 206 String[] columnNames = cursorWrapper.getColumnNames(); in testGettingColumnInfos() local 208 assertEquals("_id", columnNames[0]); in testGettingColumnInfos() 209 assertEquals("number", columnNames[1]); in testGettingColumnInfos()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteCursorTest.java | 262 private void createTable(String tableName, String columnNames) { in createTable() argument 264 + columnNames + " );"; in createTable()
|