This commit is contained in:
Looly
2023-04-14 02:01:53 +08:00
parent eb00ed76de
commit 55ee4298e9
3 changed files with 10 additions and 9 deletions

View File

@@ -21,8 +21,6 @@ public class DialectFactoryTest {
map.put("sqlite",DRIVER_SQLLITE3);
map.put("sqlserver",DRIVER_SQLSERVER);
map.put("microsoft",DRIVER_SQLSERVER);
map.put("hive2",DRIVER_HIVE2);
map.put("hive",DRIVER_HIVE);
map.put("h2",DRIVER_H2);
map.put("derby",DRIVER_DERBY);
map.put("hsqldb",DRIVER_HSQLDB);
@@ -40,6 +38,9 @@ public class DialectFactoryTest {
map.put("sybase",DRIVER_SYBASE);
map.put("mariadb",DRIVER_MARIADB);
// 单元测试歧义
//map.put("hive2",DRIVER_HIVE2);
//map.put("hive",DRIVER_HIVE);
map.forEach((k,v) -> Assertions.assertEquals(v,
DialectFactory.identifyDriver(k+ RandomUtil.randomString(2),null) ));