Home
last modified time | relevance | path

Searched refs:Support_SQL (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java31 import tests.support.Support_SQL;
44 Support_SQL.loadDriver(); in setUp()
45 conn = Support_SQL.getConnection(); in setUp()
135 if (numTasks != Support_SQL.sqlMaxConnections) { in testManyConnectionsUsingManyThreads()
138 Connection c = Support_SQL.getConnection(); in testManyConnectionsUsingManyThreads()
158 + Support_SQL.getFilename()); in testInsertOfManyRowsUsingOneThread()
161 int tasksPerConnection = Support_SQL.sqlMaxTasks / maxConnections; in testInsertOfManyRowsUsingOneThread()
162 Logger.global.info("TasksPerConnection = " + Support_SQL.sqlMaxTasks in testInsertOfManyRowsUsingOneThread()
195 int tasksPerConnection = Support_SQL.sqlMaxTasks / numConnections; in testInsertOfManyRowsUsingManyThreads()
197 Logger.global.info("Opening "+numConnections+" to database "+Support_SQL.getFilename()); in testInsertOfManyRowsUsingManyThreads()
[all …]
DDatabaseMetaDataNotSupportedTest.java27 import tests.support.Support_SQL;
58 Support_SQL.loadDriver(); in setUp()
60 conn = Support_SQL.getConnection(); in setUp()
71 conn = Support_SQL.getConnection(); in tearDown()
140 + " TO " + Support_SQL.sqlUser; in test_allTablesAreSelectable()
142 Connection userConn = Support_SQL.getConnection(Support_SQL.sqlUrl, in test_allTablesAreSelectable()
143 Support_SQL.sqlUser, Support_SQL.sqlUser); in test_allTablesAreSelectable()
157 + Support_SQL.sqlUser; in test_allTablesAreSelectable()
171 + Support_SQL.sqlUser; in test_allTablesAreSelectable()
306 + " TO " + Support_SQL.sqlLogin; in test_getColumnPrivilegesLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String()
[all …]
DDeleteFunctionalityTest.java28 import tests.support.Support_SQL;
43 Support_SQL.loadDriver(); in setUp()
44 conn = Support_SQL.getConnection(); in setUp()
DInsertFunctionalityTest.java25 import tests.support.Support_SQL;
41 Support_SQL.loadDriver(); in setUp()
42 conn = Support_SQL.getConnection(); in setUp()
DUpdateFunctionalityTest2.java29 import tests.support.Support_SQL;
44 Support_SQL.loadDriver(); in setUp()
46 conn = Support_SQL.getConnection(); in setUp()
DUpdateFunctionalityTest.java28 import tests.support.Support_SQL;
44 Support_SQL.loadDriver(); in setUp()
46 conn = Support_SQL.getConnection(); in setUp()
DMultiThreadAccessTest.java26 import tests.support.Support_SQL;
49 Support_SQL.loadDriver(); in setUp()
51 conn = Support_SQL.getConnection(); in setUp()
DSelectFunctionalityTest.java36 import tests.support.Support_SQL;
54 Support_SQL.loadDriver(); in setUp()
56 conn = Support_SQL.getConnection(); in setUp()
DDatabaseMetaDataTest.java26 import tests.support.Support_SQL;
63 Support_SQL.loadDriver(); in setUp()
65 conn = Support_SQL.getConnection(); in setUp()
79 conn = Support_SQL.getConnection(); in tearDown()
1217 assertEquals("Wrong url", Support_SQL.sqlUrl, meta.getURL()); in test_getURL()
1233 assertEquals("Wrong user name", Support_SQL.sqlUser, meta.getUserName()); in s()
/libcore/luni/src/test/java/tests/support/
DSupport_SQL.java27 public class Support_SQL { class
77 return DriverManager.getConnection(Support_SQL.sqlUrl, in getConnection()
78 Support_SQL.sqlLogin, Support_SQL.sqlPassword); in getConnection()
80 throw new SQLException("Failed to connect. url=" + Support_SQL.sqlUrl + ", sqlLogin=" in getConnection()
81 + Support_SQL.sqlLogin + ", sqlPassword=" + Support_SQL.sqlPassword, e); in getConnection()