OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:statementsMap
(Results
1 - 2
of
2
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowSQLiteConnectionTest.java
124
final Map<Long, SQLiteStatement>
statementsMap
= ReflectionHelpers.getField(CONNECTIONS, "
statementsMap
");
126
assertThat(
statementsMap
).named("statements before").isNotEmpty();
129
assertThat(
statementsMap
).named("statements after").isEmpty();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowSQLiteConnection.java
357
private final Map<Long, SQLiteStatement>
statementsMap
= new HashMap<>();
378
final SQLiteStatement statement =
statementsMap
.get(statementPtr);
380
throw new IllegalArgumentException("Invalid prepared statement pointer: " + statementPtr + ". Current pointers: " +
statementsMap
.keySet());
425
statementsMap
.put(statementPtr, statement);
454
statementsMap
.clear();
486
statementsMap
.remove(statementPtr);
502
final SQLiteStatement statement =
statementsMap
.get(pointerCounter.get());
Completed in 81 milliseconds