mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support gbase. for issue #1997
This commit is contained in:
@@ -10,6 +10,14 @@ import junit.framework.TestCase;
|
||||
|
||||
public class JdbcUtilsTest2 extends TestCase {
|
||||
public void test_get_0() throws Exception {
|
||||
Assert.assertEquals(JdbcConstants.ORACLE_DRIVER, JdbcUtils.getDriverClassName("JDBC:oracle:"));
|
||||
assertEquals(JdbcConstants.ORACLE_DRIVER, JdbcUtils.getDriverClassName("JDBC:oracle:"));
|
||||
}
|
||||
|
||||
public void test_gbase() throws Exception {
|
||||
assertEquals(JdbcConstants.GBASE_DRIVER, JdbcUtils.getDriverClassName("jdbc:gbase:"));
|
||||
}
|
||||
|
||||
public void test_kingbase() throws Exception {
|
||||
assertEquals(JdbcConstants.KINGBASE_DRIVER, JdbcUtils.getDriverClassName("jdbc:kingbase:"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user