配置和apache dbcp一致

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@5 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-05-11 02:48:31 +00:00
parent 14862fef39
commit 03bee022af
12 changed files with 89 additions and 32 deletions
@@ -16,7 +16,7 @@ public class TestDruidDataSource extends TestCase {
dataSource.setInitialSize(10);
dataSource.setMaxIdle(10);
dataSource.setDriverClass("com.alibaba.druid.mock.MockDriver");
dataSource.setDriverClassName("com.alibaba.druid.mock.MockDriver");
dataSource.setUrl("jdbc:mock:xxx");
Assert.assertEquals(0, dataSource.getConnectCount());