diff --git a/common/src/test/java/com/alibaba/datax/common/element/DoubleColumnTest.java b/common/src/test/java/com/alibaba/datax/common/element/DoubleColumnTest.java index 1254d6d3c..362bbb783 100644 --- a/common/src/test/java/com/alibaba/datax/common/element/DoubleColumnTest.java +++ b/common/src/test/java/com/alibaba/datax/common/element/DoubleColumnTest.java @@ -238,7 +238,6 @@ public void test_doubleFormat() { System.out.println("double: " + 9801523474.399621d); System.out.println("bigdecimal: " + new BigDecimal(9801523474.399621d).toPlainString()); System.out.println("bigdecimal: " + new BigDecimal(String.valueOf(9801523474.399621d)).toPlainString()); - System.out.println(new DoubleColumn(9801523474.399621d).asString()); Assert.assertTrue("9801523474.39962".equals(new DoubleColumn( 9801523474.399621d).asString())); diff --git a/common/src/test/java/com/alibaba/datax/common/util/ConfigurationTest.java b/common/src/test/java/com/alibaba/datax/common/util/ConfigurationTest.java index c0c6c2953..44d7fe911 100644 --- a/common/src/test/java/com/alibaba/datax/common/util/ConfigurationTest.java +++ b/common/src/test/java/com/alibaba/datax/common/util/ConfigurationTest.java @@ -668,7 +668,6 @@ public void test_get_list() { expectedEx.expect(ClassCastException.class); expectedEx.expectMessage("com.alibaba.fastjson.JSONObject cannot be cast to java.util.List"); List aStringCantConvertToList = configuration.getList("job.setting"); - } } diff --git a/core/src/test/java/com/alibaba/datax/core/EngineTest.java b/core/src/test/java/com/alibaba/datax/core/EngineTest.java index cb3f44d3b..bd3923a84 100644 --- a/core/src/test/java/com/alibaba/datax/core/EngineTest.java +++ b/core/src/test/java/com/alibaba/datax/core/EngineTest.java @@ -35,8 +35,8 @@ public void test_entry() throws Throwable { writer.write(jobConfig); writer.flush(); writer.close(); - String[] args = { "-job", jobFile, "-mode", "standalone" }; + Engine.entry(args); }