mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Merge pull request #1215 from wenshao/master
removed sysout in testcase
This commit is contained in:
@@ -41,7 +41,7 @@ public class OdpsInsertTest extends TestCase {
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
System.out.println(resource);
|
||||
// System.out.println(resource);
|
||||
InputStream is = null;
|
||||
|
||||
is = Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
|
||||
@@ -61,13 +61,13 @@ public class OdpsInsertTest extends TestCase {
|
||||
SchemaStatVisitor visitor = new OdpsSchemaStatVisitor();
|
||||
stmt.accept(visitor);
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println("Tables : " + visitor.getTables());
|
||||
System.out.println("fields : " + visitor.getColumns());
|
||||
|
||||
System.out.println();
|
||||
System.out.println("---------------------------");
|
||||
System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
// System.out.println(sql);
|
||||
// System.out.println("Tables : " + visitor.getTables());
|
||||
// System.out.println("fields : " + visitor.getColumns());
|
||||
//
|
||||
// System.out.println();
|
||||
// System.out.println("---------------------------");
|
||||
// System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
}
|
||||
|
||||
void mergValidate(String sql, String expect) {
|
||||
|
||||
@@ -41,7 +41,7 @@ public class OdpsListResourcesTest extends TestCase {
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
System.out.println(resource);
|
||||
// System.out.println(resource);
|
||||
InputStream is = null;
|
||||
|
||||
is = Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
|
||||
@@ -61,13 +61,13 @@ public class OdpsListResourcesTest extends TestCase {
|
||||
SchemaStatVisitor visitor = new OdpsSchemaStatVisitor();
|
||||
stmt.accept(visitor);
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println("Tables : " + visitor.getTables());
|
||||
System.out.println("fields : " + visitor.getColumns());
|
||||
|
||||
System.out.println();
|
||||
System.out.println("---------------------------");
|
||||
System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
// System.out.println(sql);
|
||||
// System.out.println("Tables : " + visitor.getTables());
|
||||
// System.out.println("fields : " + visitor.getColumns());
|
||||
//
|
||||
// System.out.println();
|
||||
// System.out.println("---------------------------");
|
||||
// System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
}
|
||||
|
||||
void mergValidate(String sql, String expect) {
|
||||
|
||||
@@ -41,7 +41,7 @@ public class OdpsResourceTest extends TestCase {
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
System.out.println(resource);
|
||||
// System.out.println(resource);
|
||||
InputStream is = null;
|
||||
|
||||
is = Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
|
||||
@@ -65,13 +65,13 @@ public class OdpsResourceTest extends TestCase {
|
||||
SchemaStatVisitor visitor = new OdpsSchemaStatVisitor();
|
||||
stmt.accept(visitor);
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println("Tables : " + visitor.getTables());
|
||||
System.out.println("fields : " + visitor.getColumns());
|
||||
|
||||
System.out.println();
|
||||
System.out.println("---------------------------");
|
||||
System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
// System.out.println(sql);
|
||||
// System.out.println("Tables : " + visitor.getTables());
|
||||
// System.out.println("fields : " + visitor.getColumns());
|
||||
//
|
||||
// System.out.println();
|
||||
// System.out.println("---------------------------");
|
||||
// System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
}
|
||||
|
||||
void mergValidate(String sql, String expect) {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class OdpsSelect_distribute_by_Test extends TestCase {
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
System.out.println(resource);
|
||||
// System.out.println(resource);
|
||||
InputStream is = null;
|
||||
|
||||
is = Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
|
||||
@@ -63,13 +63,13 @@ public class OdpsSelect_distribute_by_Test extends TestCase {
|
||||
SchemaStatVisitor visitor = new OdpsSchemaStatVisitor();
|
||||
stmt.accept(visitor);
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println("Tables : " + visitor.getTables());
|
||||
System.out.println("fields : " + visitor.getColumns());
|
||||
|
||||
System.out.println();
|
||||
System.out.println("---------------------------");
|
||||
System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
// System.out.println(sql);
|
||||
// System.out.println("Tables : " + visitor.getTables());
|
||||
// System.out.println("fields : " + visitor.getColumns());
|
||||
//
|
||||
// System.out.println();
|
||||
// System.out.println("---------------------------");
|
||||
// System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
}
|
||||
|
||||
void mergValidate(String sql, String expect) {
|
||||
|
||||
@@ -41,7 +41,7 @@ public class OdpsFileTest extends TestCase {
|
||||
}
|
||||
|
||||
public void exec_test(String resource) throws Exception {
|
||||
System.out.println(resource);
|
||||
// System.out.println(resource);
|
||||
InputStream is = null;
|
||||
|
||||
is = Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
|
||||
@@ -61,13 +61,13 @@ public class OdpsFileTest extends TestCase {
|
||||
SchemaStatVisitor visitor = new OdpsSchemaStatVisitor();
|
||||
stmt.accept(visitor);
|
||||
|
||||
System.out.println(sql);
|
||||
System.out.println("Tables : " + visitor.getTables());
|
||||
System.out.println("fields : " + visitor.getColumns());
|
||||
|
||||
System.out.println();
|
||||
System.out.println("---------------------------");
|
||||
System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
// System.out.println(sql);
|
||||
// System.out.println("Tables : " + visitor.getTables());
|
||||
// System.out.println("fields : " + visitor.getColumns());
|
||||
//
|
||||
// System.out.println();
|
||||
// System.out.println("---------------------------");
|
||||
// System.out.println(SQLUtils.toOdpsString(stmt));
|
||||
}
|
||||
|
||||
void mergValidate(String sql, String expect) {
|
||||
|
||||
Reference in New Issue
Block a user