HomeSort by relevance Sort by last modified time
    Searched refs:columnNames (Results 1 - 23 of 23) sorted by null

  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMergeCursorTest.java 203 String[] columnNames = cursor.getColumnNames();
204 assertColumnNamesCursor1(columnNames);
217 String[] columnNames = cursor.getColumnNames();
218 assertColumnNamesCursor1(columnNames);
223 String[] columnNames = cursor.getColumnNames();
224 assertColumnNamesCursor2(columnNames);
228 private void assertColumnNamesCursor1(String[] columnNames) {
229 assertThat(columnNames.length).isEqualTo(7);
230 assertThat(columnNames[0]).isEqualTo("id");
231 assertThat(columnNames[1]).isEqualTo("name_1")
    [all...]
SQLiteCursorTest.java 46 String[] columnNames = cursor.getColumnNames();
48 assertColumnNames(columnNames);
54 String[] columnNames = cursor.getColumnNames();
57 assertThat(columnNames).isNotNull();
58 assertColumnNames(columnNames);
487 private void assertColumnNames(String[] columnNames) {
488 assertThat(columnNames.length).isEqualTo(7);
489 assertThat(columnNames[0]).isEqualTo("id");
490 assertThat(columnNames[1]).isEqualTo("name");
491 assertThat(columnNames[2]).isEqualTo("long_value")
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
RoboCursor.java 19 protected List<String> columnNames = new ArrayList<>();
44 return columnNames.indexOf(columnName);
134 if (columnNames.isEmpty()) {
137 return columnNames.size();
143 return columnNames.get(index);
183 return columnNames.toArray(new String[columnNames.size()]);
199 public void setColumnNames(List<String> columnNames) {
200 this.columnNames = columnNames;
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
CursorJoinerTest.java 73 String[] columnNames = new String[] { "number" };
74 cursor1 = getCursor(TABLE_NAME_1, null, columnNames);
75 cursor2 = getCursor(TABLE_NAME_2, null, columnNames);
135 String[] columnNames = new String[] { "number" };
136 Cursor cursor1 = getCursor(TABLE_NAME_1, null, columnNames);
137 Cursor cursor2 = getCursor(TABLE_NAME_2, null, columnNames);
226 private void createTable(String tableName, String columnNames) {
227 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames
247 private Cursor getCursor(String tableName, String selection, String[] columnNames) {
248 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number")
    [all...]
AbstractCursorTest.java 500 public TestAbstractCursor(String[] columnNames, ArrayList<ArrayList> rows) {
501 int colCount = columnNames.length;
504 // Add an _id column if not in columnNames
506 if (columnNames[i].compareToIgnoreCase("_id") == 0) {
507 mColumnNames = columnNames;
515 System.arraycopy(columnNames, 0, mColumnNames, 0, columnNames.length);
MergeCursorTest.java 340 private void createTable(String tableName, String columnNames) {
341 String sql = "Create TABLE " + tableName + " (_id INTEGER PRIMARY KEY, " + columnNames
353 private Cursor getCursor(String tableName, String selection, String[] columnNames) {
354 return mDatabase.query(tableName, columnNames, selection, null, null, null, "number_1");
CursorWrapperTest.java 199 String[] columnNames = cursorWrapper.getColumnNames();
201 assertEquals("_id", columnNames[0]);
202 assertEquals("number", columnNames[1]);
  /development/apps/Development/src/com/android/development/
DataList.java 89 String[] columnNames = mCursor.getColumnNames();
90 for (int i=0; i<columnNames.length; i++) {
92 ColumnData cd = new ColumnData(columnNames[i], str);
Details.java 121 String[] columnNames = c.getColumnNames();
122 for (int i=0; i<columnNames.length; i++) {
124 ColumnData cd = new ColumnData(columnNames[i], str);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DataDrivenNumberFormatTestUtility.java 173 List<String> columnNames = null;
205 columnNames = splitBy((char) 0x09);
208 if (columnNames.contains("breaks")
209 && columnNames.indexOf("breaks") != columnNames.size() - 1) {
214 int columnNamesSize = columnNames.size();
218 if (!setField(columnNames.get(i), columnValues.get(i))) {
223 if (!clearField(columnNames.get(i))) {
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DataDrivenNumberFormatTestUtility.java 170 List<String> columnNames = null;
202 columnNames = splitBy((char) 0x09);
205 if (columnNames.contains("breaks")
206 && columnNames.indexOf("breaks") != columnNames.size() - 1) {
211 int columnNamesSize = columnNames.size();
215 if (!setField(columnNames.get(i), columnValues.get(i))) {
220 if (!clearField(columnNames.get(i))) {
  /external/emma/core/java12/com/vladium/emma/report/
ReportProperties.java 323 final Set /* String */ columnNames = new HashSet ();
339 if (! REMOVE_DUPLICATE_COLUMNS || ! columnNames.contains (columnName))
341 columnNames.add (columnName);
348 // [assertion: columnNames contains all columns for the report (some
390 if (columnNames.contains (columnName))
432 if (columnNames.contains (columnName))
  /external/v8/src/inspector/
injected-script-source.js 234 var columnNames = null;
238 columnNames = [];
239 InjectedScriptHost.nullifyPrototype(columnNames);
241 columnNames[i] = toString(columns[i]);
243 return this._wrapObject(table, "console", false, true, columnNames, true);
252 * @param {?Array.<string>=} columnNames
259 _wrapObject: function(object, objectGroupName, forceValueType, generatePreview, columnNames, isTable, doNotBind, customObjectConfig)
262 return new InjectedScript.RemoteObject(object, objectGroupName, doNotBind, forceValueType, generatePreview, columnNames, isTable, undefined, customObjectConfig);
727 * @param {?Array.<string>=} columnNames
732 InjectedScript.RemoteObject = function(object, objectGroupName, doNotBind, forceValueType, generatePreview, columnNames, isTable, skipEntriesPreview, customObjectConfig
    [all...]
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TestHelper_Connection1.java 143 public PreparedStatement prepareStatement(String sql, String[] columnNames)
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteCursorTest.java 262 private void createTable(String tableName, String columnNames) {
264 + columnNames + " );";
  /development/samples/Vault/src/com/example/android/vault/
VaultProvider.java 606 public ExtrasMatrixCursor(String[] columnNames) {
607 super(columnNames);
  /external/autotest/frontend/client/src/autotest/tko/
TableView.java 162 private void selectColumnsByName(String[] columnNames) {
164 for (String name : columnNames) {
  /external/guice/extensions/persist/lib/
ejb3-persistence.jar 
hibernate3.jar 
hibernate-annotations.jar 
  /external/guice/extensions/struts2/lib/
jsp-api-2.1.jar 
  /external/emma/lib/
emma.jar 
  /external/owasp/sanitizer/tools/emma/lib/
emma.jar 

Completed in 224 milliseconds