mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
补充测试
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@444 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -33,7 +33,7 @@ public class Case3 extends TestCase {
|
||||
private String validationQuery = "SELECT 1"; // "SELECT 1";
|
||||
private int threadCount = 10;
|
||||
private int TEST_COUNT = 3;
|
||||
final int LOOP_COUNT = 1000 * 1000;
|
||||
final int LOOP_COUNT = 1000 * 100;
|
||||
private boolean testOnBorrow = false;
|
||||
private String connectionProperties = ""; // "bigStringTryClob=true;clientEncoding=GBK;defaultRowPrefetch=50;serverEncoding=ISO-8859-1";
|
||||
private String sql = "SELECT 1";
|
||||
|
||||
@@ -16,11 +16,11 @@ import com.alibaba.druid.util.JdbcUtils;
|
||||
public class OracleSQLParserResourceTest extends TestCase {
|
||||
|
||||
public void test_0() throws Exception {
|
||||
for (int i = 0; i <= 53; ++i) {
|
||||
String resource = "bvt/parser/oracle-" + i + ".txt";
|
||||
exec_test(resource);
|
||||
}
|
||||
// exec_test("bvt/parser/oracle-0.txt");
|
||||
// for (int i = 0; i <= 53; ++i) {
|
||||
// String resource = "bvt/parser/oracle-" + i + ".txt";
|
||||
// exec_test(resource);
|
||||
// }
|
||||
exec_test("bvt/parser/oracle-54.txt");
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user