增强测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@287 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-06-27 13:45:47 +00:00
parent feb63ba9d3
commit 5fc9167622
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -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));
}
}