Home
last modified time | relevance | path

Searched refs:Statement (Results 1 – 25 of 31) sorted by relevance

12

/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java27 import org.junit.runners.model.Statement;
92 public Statement apply(final Statement statement, Description description) { in apply()
108 protected abstract Statement createStatement(Statement statement, int targetSdkVersion); in createStatement()
132 protected Statement createStatement(Statement statement, int targetSdkVersion) { in createStatement()
133 return new Statement() { in createStatement()
156 protected Statement createStatement(Statement statement, int targetSdkVersion) {
157 return new Statement() {
DEnableDeprecatedBouncyCastleAlgorithmsRule.java26 import org.junit.runners.model.Statement;
55 public Statement apply(final Statement statement, Description description) { in apply()
56 return new Statement() { in apply()
DResourceLeakageDetector.java27 import org.junit.runners.model.Statement;
135 public Statement apply(Statement base, Description description) { in apply()
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java24 import org.junit.runners.model.Statement;
66 public Statement apply(final Statement statement, Description description) { in apply()
87 protected Statement createStatementForConfig(final Statement statement, ChangeConfig config) { in createStatementForConfig()
91 private static class CompatChangeStatement extends Statement {
92 private final Statement testStatement;
95 private CompatChangeStatement(Statement testStatement, ChangeConfig config) { in CompatChangeStatement()
/libcore/luni/src/test/java/libcore/java/sql/
DOldStatementTest.java25 import java.sql.Statement;
32 Statement st = null; in testAddBatch()
78 Statement st = null; in testClearWarnings()
105 Statement st = null; in testGetWarnings()
164 Statement st = null; in testClearBatch()
229 Statement st = null; in testExecute()
252 Statement st = null; in testExecute()
281 Statement st = null; in testExecute_String_int()
284 st.execute(queries[i], Statement.NO_GENERATED_KEYS); in testExecute_String_int()
300 Statement st = null; in testExecute_String_int()
[all …]
DOldConnectionTest.java28 import java.sql.Statement;
33 Statement statement = conn.createStatement(); in testCreateStatement()
50 Statement st = null; in testCreateStatement_int_int()
183 Statement st = null; in testCreateStatement_int_int_int()
215 Statement st = null; in testCreateStatementIntIntIntNotSupported()
260 Statement st = null; in testClearWarnings()
308 Statement st = null; in testGetWarnings()
390 Statement st = null; in testSetAutoCommit()
470 Statement st = null; in testSetReadOnly()
560 Statement st = null; in testSetHoldability()
[all …]
DOldSQLTest.java24 import java.sql.Statement;
53 Statement st = null; in tearDown()
77 Statement st = null; in createZoo()
DOldPreparedStatementTest.java35 import java.sql.Statement;
84 Statement st = null; in setUp()
99 Statement st = null; in tearDown()
125 Statement st = null; in testAddBatch()
177 Statement st = null; in testExecute()
485 Statement st = null; in testSetInt()
544 Statement st = null; in testSetLong()
600 Statement st = null; in testSetFloat()
653 Statement st = null; in testSetDouble()
708 Statement st = null; in testSetString_charField()
[all …]
DOldResultSetMetaDataTest.java22 import java.sql.Statement;
28 Statement st = null;
233 Statement st1 = null; in testGetTableName()
274 Statement st2 = null; in testGetPrecision()
275 Statement st3 = null; in testGetPrecision()
352 Statement st = conn.createStatement(); in testGetScale()
DOldResultSetTest.java22 import java.sql.Statement;
31 Statement stForward = null;
32 Statement stScrollable = null;
33 Statement stWritable = null;
131 Statement s = conn.createStatement(); in testClose()
DOldResultSetGetterTests.java28 import java.sql.Statement;
49 Statement st = null;
262 Statement st = null; in testGetBytesIntVarbinary()
263 Statement stQuery = null; in testGetBytesIntVarbinary()
294 Statement st = null; in testGetBytesIntBinary()
295 Statement stQuery = null; in testGetBytesIntBinary()
344 Statement st = null; in testGetBytesStringVarbinary()
345 Statement stQuery = null; in testGetBytesStringVarbinary()
377 Statement st = null; in testGetBytesStringBinary()
378 Statement stQuery = null; in testGetBytesStringBinary()
[all …]
/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java22 import java.sql.Statement;
257 Statement statement = conn.createStatement(); in fillParentTable()
266 Statement statement = conn.createStatement(); in fillFKStrictTable()
276 Statement statement = conn.createStatement(); in fillFKCascadeTable()
286 Statement statement = conn.createStatement(); in fillSimpleTable1()
293 Statement statement = conn.createStatement(); in fillSimpleTable3()
301 Statement statement = conn.createStatement(); in fillSalesPeopleTable()
312 Statement statement = conn.createStatement(); in fillCustomersTable()
324 Statement statement = conn.createStatement(); in fillOrdersTable()
340 Statement statement = conn.createStatement(); in fillTestTable1()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java23 import java.sql.Statement;
39 private static Statement statement;
159 Statement statement = conn.createStatement(); in test_MultipleOperationsInSeveralTables()
207 Statement statement = conn.createStatement(); in test_MultipleUpdatesInOneTables()
242 Statement statement = conn.createStatement(); in createTask1()
274 Statement statement = conn.createStatement();
325 Statement statement = conn.createStatement();
353 Statement statement = conn.createStatement();
373 Statement statement = conn.createStatement();
398 Statement statement = conn.createStatement();
[all …]
DDeleteFunctionalityTest.java25 import java.sql.Statement;
39 private static Statement statement = null;
DInsertFunctionalityTest.java23 import java.sql.Statement;
37 private static Statement statement = null;
DUpdateFunctionalityTest2.java26 import java.sql.Statement;
40 private static Statement statement = null;
DUpdateFunctionalityTest.java24 import java.sql.Statement;
40 private static Statement statement;
DStressTest.java28 import java.sql.Statement;
49 private static Statement statement;
/libcore/dalvik/src/test/java/libcore/dalvik/system/
DCloseGuardTest.java22 import org.junit.runners.model.Statement;
37 private Statement preserveEnabledState(final Statement base, Description description) { in preserveEnabledState()
38 return new Statement() { in preserveEnabledState()
/libcore/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java29 import org.junit.runners.model.Statement;
63 Statement statement = new Statement() { in runBare()
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java28 import org.junit.runners.model.Statement;
99 public Statement apply(Statement base, Description description) { in apply()
100 return new Statement() { in apply()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java21 import org.junit.runners.model.Statement;
173 public Statement apply(Statement statement, Description description) { in apply()
174 return new Statement() { in apply()
/libcore/ojluni/src/main/java/java/sql/
DConnection.java105 Statement createStatement() throws SQLException; in createStatement()
533 Statement createStatement(int resultSetType, int resultSetConcurrency) in createStatement()
812 Statement createStatement(int resultSetType, int resultSetConcurrency, in createStatement()
DStatement.java44 public interface Statement extends Wrapper, AutoCloseable { interface
DPreparedStatement.java62 public interface PreparedStatement extends Statement {

12