/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteDatabaseTest.java | 10 import java.sql.ResultSet; 41 ResultSet resultSet = statement.executeQuery("SELECT name FROM table_name where id = "+id); 43 assertThat(resultSet.next(), equalTo(true)); 44 assertThat(resultSet.getString(1), equalTo("Norris"));
|
SQLiteStatementTest.java | 12 import java.sql.ResultSet; 53 ResultSet resultSet = statement.executeQuery("SELECT COUNT(*) FROM `routine`"); 54 assertThat(resultSet.next(), equalTo(true)); 55 assertThat(resultSet.getInt(1), equalTo(2)); 58 resultSet = statement.executeQuery("SELECT `id`, `name` ,`lastUsed` FROM `routine`"); 59 assertThat(resultSet.next(), equalTo(true)); 60 assertThat(resultSet.getInt(1), equalTo(1)); 61 assertThat(resultSet.getString(2), equalTo("Leg Press")); 62 assertThat(resultSet.getInt(3), equalTo(0)) [all...] |
CursorAdapterTest.java | 10 import java.sql.ResultSet; 54 statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); 56 ResultSet resultSet = statement.executeQuery(sql); 58 Robolectric.shadowOf((SQLiteCursor)curs).setResultSet(resultSet,sql);
|
DatabaseTestBase.java | 13 import java.sql.ResultSet; 349 ResultSet resultSet; 354 resultSet = statement.executeQuery("SELECT COUNT(*) FROM table_name"); 355 assertThat(resultSet.next(), equalTo(true)); 356 assertThat(resultSet.getInt(1), equalTo(1)); 359 resultSet = statement.executeQuery("SELECT * FROM table_name"); 360 assertThat(resultSet.next(), equalTo(true)); 361 assertThat(resultSet.getInt(1), equalTo(1234)); 362 assertThat(resultSet.getString(4), equalTo("Chuck")) [all...] |
SQLiteCursorTest.java | 15 import java.sql.ResultSet; 26 private ResultSet resultSet; 340 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); 342 resultSet = statement.executeQuery("SELECT * FROM table_name;"); 344 Robolectric.shadowOf(cursor).setResultSet(resultSet, sql);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteStatement.java | 9 import java.sql.ResultSet; 37 ResultSet resultSet = actualDBstatement.getGeneratedKeys(); 39 if (resultSet.next()) { 40 return resultSet.getLong(1); 51 ResultSet rs; 64 ResultSet rs; 79 } else if (e.getMessage().contains("ResultSet closed")) { 81 throw new SQLiteDoneException("ResultSet closed,(probably, no data available)");
|
ShadowSQLiteCursor.java | 9 import java.sql.ResultSet; 17 * Simulates an Android Cursor object, by wrapping a JDBC ResultSet. 22 private ResultSet resultSet; 26 * Stores the column names so they are retrievable after the resultSet has closed 28 private void cacheColumnNames(ResultSet rs) { 170 if (resultSet == null) { 175 resultSet.close(); 176 resultSet = null; 186 return (resultSet == null) [all...] |
ShadowSQLiteDatabase.java | 16 import java.sql.ResultSet; 102 ResultSet resultSet = insert.getGeneratedKeys(); 103 if (resultSet.next()) { 104 result = resultSet.getLong(1); 106 resultSet.close(); 126 ResultSet resultSet; 128 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); 129 resultSet = statement.executeQuery(sql) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
KMeansPlusPlusClusterer.java | 165 final List<Cluster<T>> resultSet = new ArrayList<Cluster<T>>(); 169 resultSet.add(new Cluster<T>(firstPoint)); 172 while (resultSet.size() < k) { 178 final Cluster<T> nearest = getNearestCluster(resultSet, p); 190 resultSet.add(new Cluster<T>(p)); 196 return resultSet;
|
/external/testng/src/main/java/org/testng/internal/ |
MethodHelper.java | 182 Set<ITestNGMethod> resultSet = Sets.newHashSet();
185 resultSet.addAll(l);
188 return Lists.newArrayList(resultSet);
|
/external/testng/src/main/java/org/testng/reporters/ |
EmailableReporter.java | 163 Set<ITestResult> resultSet = tests.getResults(method); 180 String testInstanceName = resultSet.toArray(new ITestResult[]{})[0].getTestName(); 188 + "<td class=\"numi\">" + resultSet.size() + "</td>" 238 Set<ITestResult> resultSet = tests.getResults(method); 239 generateForResult(result, method, resultSet.size());
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
Currency.java | 215 HashSet<Currency> resultSet = new HashSet<Currency>(list.size()); 217 resultSet.add(getInstance(code)); 219 return resultSet; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
Currency.java | 227 HashSet<Currency> resultSet = new HashSet<Currency>(list.size()); 229 resultSet.add(getInstance(code)); 231 return resultSet; [all...] |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.9.2/ |
commons-beanutils-1.9.2.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils-core/1.8.3/ |
commons-beanutils-core-1.8.3.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.7.0/ |
commons-beanutils-1.7.0.jar | |
/prebuilts/tools/common/m2/repository/commons-beanutils/commons-beanutils/1.8.0/ |
commons-beanutils-1.8.0.jar | |
/prebuilts/tools/common/m2/repository/com/thoughtworks/qdox/qdox/1.12/ |
qdox-1.12.jar | |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DevicePolicyManagerService.java | [all...] |
/prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/ |
saxon-9.1.0.8-dom.jar | |
/prebuilts/tools/common/m2/repository/logkit/logkit/1.0.1/ |
logkit-1.0.1.jar | |
/external/guice/extensions/persist/lib/ |
hibernate3.jar | |
/packages/apps/Messaging/build/gcheckstyle/ |
google-style-checker_deploy.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.equinox.p2.metadata_2.2.0.v20130523-1557.jar | |
/prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/ |
testng-6.9.10.jar | |