Home
last modified time | relevance | path

Searched refs:insertStatement (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteStatementTest.java42 …SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastU… in testExecuteInsert() local
43 insertStatement.bindString(1, "Leg Press"); in testExecuteInsert()
44 insertStatement.bindLong(2, 0); in testExecuteInsert()
45 long pkeyOne = insertStatement.executeInsert(); in testExecuteInsert()
46 insertStatement.clearBindings(); in testExecuteInsert()
47 insertStatement.bindString(1, "Bench Press"); in testExecuteInsert()
48 insertStatement.bindLong(2, 1); in testExecuteInsert()
49 long pkeyTwo = insertStatement.executeInsert(); in testExecuteInsert()
82 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` " + in testExecuteInsertShouldCloseGeneratedKeysResultSet() local
85 insertStatement.executeInsert(); in testExecuteInsertShouldCloseGeneratedKeysResultSet()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java190 InsertStatement insertStatement = new InsertStatement(url, provider, valuesCopy);
191 statements.add(insertStatement);
192 insertStatements.add(insertStatement);
402 InsertStatement insertStatement = new InsertStatement(url, provider, values);
403 statements.add(insertStatement);
404 insertStatements.add(insertStatement);