完善mock和测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@836 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-18 07:00:02 +00:00
parent 4ed95e9e0f
commit a5d592933b
5 changed files with 115 additions and 52 deletions
@@ -27,7 +27,7 @@ public class MySqlValdConnectionTest extends TestCase {
dataSource.setUsername(user);
dataSource.setPassword(password);
dataSource.setFilters("stat");
dataSource.setExceptionSoter(MySqlExceptionSorter.class.getName());
dataSource.setExceptionSorter(MySqlExceptionSorter.class.getName());
Connection conn = dataSource.getConnection();
conn.close();