添加jconsole plugin

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@222 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-05-31 07:20:36 +00:00
parent 8c4fc63c3b
commit 46ae07bbbc
3 changed files with 30 additions and 6 deletions
@@ -27,7 +27,7 @@ public class MySqlParserResourceTest extends TestCase {
exec_test("bvt/parser/mysql-7.txt");
exec_test("bvt/parser/mysql-8.txt");
exec_test("bvt/parser/mysql-9.txt");
// exec_test("bvt/parser/mysql-10.txt");
exec_test("bvt/parser/mysql-10.txt");
}
public void exec_test(String resource) throws Exception {
@@ -72,7 +72,7 @@ public class MySqlParserResourceTest extends TestCase {
StringBuilder out = new StringBuilder();
MySqlParameterizedOutputVisitor visitor = new MySqlParameterizedOutputVisitor(out);
statemen.accept(visitor);
System.out.println(out.toString());
Assert.assertEquals(expect, out.toString());