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@287 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -229,6 +229,12 @@
|
||||
<version>0.7.1.RELEASE</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.0.6</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -12,6 +12,7 @@ import junit.framework.Assert;
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.alibaba.druid.stat.JdbcStatManager;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
|
||||
public class StatFilterTest extends TestCase {
|
||||
|
||||
@@ -45,5 +46,7 @@ public class StatFilterTest extends TestCase {
|
||||
Assert.assertEquals(url, (String) row.get("URL"));
|
||||
Assert.assertEquals(0, row.get("Count_50000_more"));
|
||||
}
|
||||
|
||||
System.out.println(JSON.toJSONString(sqlList));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user