Home
last modified time | relevance | path

Searched refs:statement (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/test/java/tests/support/
DDatabaseCreator.java257 Statement statement = conn.createStatement(); in fillParentTable() local
258 statement in fillParentTable()
260 statement.execute("INSERT INTO " + PARENT_TABLE + " VALUES(2,'test2')"); in fillParentTable()
261 statement in fillParentTable()
266 Statement statement = conn.createStatement(); in fillFKStrictTable() local
267 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
269 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
271 statement.execute("INSERT INTO " + FKSTRICT_TABLE in fillFKStrictTable()
276 Statement statement = conn.createStatement(); in fillFKCascadeTable() local
277 statement.execute("INSERT INTO " + FKCASCADE_TABLE in fillFKCascadeTable()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DUpdateFunctionalityTest2.java40 private static Statement statement = null; field in UpdateFunctionalityTest2
47 statement = conn.createStatement(); in setUp()
59 statement.close(); in tearDown()
72 statement in createTestTables()
76 statement in createTestTables()
80 statement in createTestTables()
84 statement in createTestTables()
88 statement in createTestTables()
92 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
[all …]
DInsertFunctionalityTest.java37 private static Statement statement = null; field in InsertFunctionalityTest
43 statement = conn.createStatement(); in setUp()
50 statement.close(); in tearDown()
63 statement in createTestTables()
67 statement in createTestTables()
71 statement in createTestTables()
75 statement in createTestTables()
79 statement in createTestTables()
83 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
87 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
[all …]
DDeleteFunctionalityTest.java39 private static Statement statement = null; field in DeleteFunctionalityTest
45 statement = conn.createStatement(); in setUp()
52 statement.close(); in tearDown()
66 statement in createTestTables()
70 statement in createTestTables()
74 statement in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE5); in createTestTables()
82 statement.execute(DatabaseCreator.CREATE_TABLE_PARENT); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE_FKSTRICT); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE_FKCASCADE); in createTestTables()
[all …]
DMultiThreadAccessTest.java39 private static Statement statement; field in MultiThreadAccessTest
52 statement = conn.createStatement(); in setUp()
64 statement.close(); in tearDown()
76 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement.execute(DatabaseCreator.DROP_TABLE4); in createTestTables()
85 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
90 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
91 statement.execute(DatabaseCreator.CREATE_TABLE4); in createTestTables()
92 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
[all …]
DUpdateFunctionalityTest.java40 private static Statement statement; field in UpdateFunctionalityTest
47 statement = conn.createStatement(); in setUp()
58 statement.close(); in tearDown()
72 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
83 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
84 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
85 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
94 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
DSelectFunctionalityTest.java46 private static Statement statement; field in SelectFunctionalityTest
57 statement = conn.createStatement(); in setUp()
67 statement.close(); in tearDown()
79 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
82 statement in createTestTables()
86 statement in createTestTables()
90 statement in createTestTables()
96 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
97 statement.execute(DatabaseCreator.CREATE_TABLE_SALESPEOPLE); in createTestTables()
98 statement.execute(DatabaseCreator.CREATE_TABLE_CUSTOMERS); in createTestTables()
[all …]
DDatabaseMetaDataNotSupportedTest.java50 protected static Statement statement; field in DatabaseMetaDataNotSupportedTest
62 statement = conn.createStatement(); in setUp()
73 statement = conn.createStatement(); in tearDown()
92 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
95 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
97 statement.execute(DROP_VIEW_QUERY); in createTestTables()
101 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
102 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
103 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
112 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
DStressTest.java49 private static Statement statement; field in StressTest
55 statement = conn.createStatement(); in setUp()
63 statement.close(); in tearDown()
75 statement.execute(DatabaseCreator.DROP_TABLE2); in createTestTables()
78 statement.execute(DatabaseCreator.CREATE_TABLE2); in createTestTables()
87 statement.execute(DatabaseCreator.DROP_TABLE2); in dropTestTables()
187 ResultSet rs = statement in testInsertOfManyRowsUsingOneThread()
226 ResultSet rs = statement in testInsertOfManyRowsUsingManyThreads()
DDatabaseMetaDataTest.java55 protected static Statement statement; field in DatabaseMetaDataTest
67 statement = conn.createStatement(); in setUp()
81 statement = conn.createStatement(); in tearDown()
100 statement.execute(DatabaseCreator.DROP_TABLE1); in createTestTables()
103 statement.execute(DatabaseCreator.DROP_TABLE3); in createTestTables()
105 statement.execute(DROP_VIEW_QUERY); in createTestTables()
109 statement.execute(DatabaseCreator.CREATE_TABLE3); in createTestTables()
110 statement.execute(DatabaseCreator.CREATE_TABLE1); in createTestTables()
111 statement.execute(CREATE_VIEW_QUERY); in createTestTables()
120 statement.execute(DatabaseCreator.DROP_TABLE1); in deleteTestTables()
[all …]
/libcore/ojluni/src/main/java/javax/sql/
DStatementEvent.java46 private PreparedStatement statement; field in StatementEvent
62 PreparedStatement statement) { in StatementEvent() argument
66 this.statement = statement; in StatementEvent()
85 PreparedStatement statement, in StatementEvent() argument
90 this.statement = statement; in StatementEvent()
103 return this.statement; in getStatement()
/libcore/test-rules/src/main/java/libcore/junit/util/
DSwitchTargetSdkVersionRule.java92 public Statement apply(final Statement statement, Description description) { in apply() argument
95 return statement; in apply()
98 return createStatement(statement, targetSdkVersion.value()); in apply()
108 protected abstract Statement createStatement(Statement statement, int targetSdkVersion); in createStatement() argument
132 protected Statement createStatement(Statement statement, int targetSdkVersion) { in createStatement() argument
140 statement.evaluate(); in createStatement()
156 protected Statement createStatement(Statement statement, int targetSdkVersion) {
DEnableDeprecatedBouncyCastleAlgorithmsRule.java55 public Statement apply(final Statement statement, Description description) { in apply() argument
64 statement.evaluate(); in apply()
/libcore/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java63 Statement statement = new Statement() { in runBare() local
100 statement = ((TestRule) rule).apply(statement, description); in runBare()
102 statement = ((MethodRule) rule).apply(statement, frameworkMethod, this); in runBare()
106 statement.evaluate(); in runBare()
/libcore/test-rules/src/platform_compat/java/libcore/junit/util/
DCoreCompatChangeRule.java66 public Statement apply(final Statement statement, Description description) { in apply() argument
81 return statement; in apply()
83 return createStatementForConfig(statement, config); in apply()
87 protected Statement createStatementForConfig(final Statement statement, ChangeConfig config) { in createStatementForConfig() argument
88 return new CompatChangeStatement(statement, config); in createStatementForConfig()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java173 public Statement apply(Statement statement, Description description) { in apply() argument
179 statement.evaluate(); in apply()
/libcore/luni/src/test/java/libcore/java/sql/
DOldConnectionTest.java33 Statement statement = conn.createStatement(); in testCreateStatement() local
34 assertNotNull(statement); in testCreateStatement()
36 assertEquals(ResultSet.FETCH_UNKNOWN, statement.getFetchDirection()); in testCreateStatement()
37 assertNull(statement.getWarnings()); in testCreateStatement()
38 assertTrue(statement.getQueryTimeout() > 0); in testCreateStatement()
41 statement.executeQuery("select * from zoo"); in testCreateStatement()
/libcore/expectations/
Dknownfailures.txt441 description: "statement.close() does not wrap up",
451 description: "statement.close() does not wrap up",
579 description: "statement.close() does not wrap up",
595 description: "no exception is thrown when moving cursor backwards on forward only statement",
620 description: "statement.close() does not wrap up",
628 description: "In Second code block assertion fails. statement. close() does not wrap up",
633 description: "statement.close() does not wrap up",
639 is actually provides a result.statement.close() does not wrap up",
644 description: "statement.close() does not wrap up",
654 description: "statement.close() does not wrap up",
[all …]
/libcore/benchmarks/libs/
Dcaliper.jar.txt124 You may add Your own copyright statement to Your modifications and
/libcore/
DLICENSE347 so, delete this exception statement from your version.
/libcore/ojluni/
DNOTICE633 so, delete this exception statement from your version.