/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/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
SQL_Results.java | 15 import java.sql.ResultSet; 70 ResultSet queryAllComments() throws SQLException { 83 ResultSet queryAllVariations(String configPattern) throws SQLException { 90 ResultSet resultSet = this.queryAllVariations.executeQuery(); 92 return resultSet; 102 ResultSet queryBuildAllScenarios(String scenarioPattern) throws SQLException { 122 ResultSet queryBuildScenarios(String scenarioPattern, String buildName) throws SQLException { 142 ResultSet queryDimScalars(int datapointId) throws SQLException { 174 ResultSet queryScenarioTimestampDataPoints(String config, int scenarioID, String lastBuildName, long lastBui (…) [all...] |
/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 | 209 HashSet<Currency> resultSet = new HashSet<Currency>(list.size()); 211 resultSet.add(getInstance(code)); 213 return resultSet; [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
Currency.java | 221 HashSet<Currency> resultSet = new HashSet<Currency>(list.size()); 223 resultSet.add(getInstance(code)); 225 return resultSet; [all...] |
/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 | |
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
DevicePolicyManagerService.java | [all...] |
/prebuilts/tools/common/m2/repository/com/thoughtworks/qdox/qdox/1.12/ |
qdox-1.12.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/ |
performanceui.jar | |
/prebuilts/tools/common/m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/ |
saxon-9.1.0.8-dom.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.core.filebuffers_3.5.100.v20100520-0800.jar | |
org.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar | |
/development/tools/checkstyle/ |
checkstyle.jar | |
/external/guice/extensions/persist/lib/ |
hibernate3.jar | |
/packages/apps/Messaging/build/gcheckstyle/ |
google-style-checker_deploy.jar | |