|
[ERROR] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 17.479 s <<< FAILURE! - in org.jeecg.SampleTest
[ERROR] testTran(org.jeecg.SampleTest) Time elapsed: 0.833 s <<< ERROR!
java.lang.NumberFormatException: For input string: "hello"
at org.jeecg.SampleTest.testTran(SampleTest.java:45)
[ERROR] testSelect(org.jeecg.SampleTest) Time elapsed: 0.042 s <<< FAILURE!
java.lang.AssertionError: expected:<5> but was:<15>
at org.jeecg.SampleTest.testSelect(SampleTest.java:29)
2019-03-02 13:51:53.959 [Thread-4] INFO o.s.w.context.support.GenericWebApplicationContext:993 - Closing org.springframework.web.context.support.GenericWebApplicationContext@71454b9d: startup date [Sat Mar 02 13:51:38 CST 2019]; root of context hierarchy
2019-03-02 13:51:53.964 [Thread-4] INFO o.s.context.support.DefaultLifecycleProcessor:366 - Stopping beans in phase 2147483647
2019-03-02 13:51:53.967 [Thread-4] INFO org.quartz.core.QuartzScheduler:585 - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
2019-03-02 13:51:53.978 [Thread-4] INFO o.s.scheduling.quartz.SchedulerFactoryBean:824 - Shutting down Quartz Scheduler
2019-03-02 13:51:53.979 [Thread-4] INFO org.quartz.core.QuartzScheduler:666 - Scheduler quartzScheduler_$_NON_CLUSTERED shutting down.
2019-03-02 13:51:53.979 [Thread-4] INFO org.quartz.core.QuartzScheduler:585 - Scheduler quartzScheduler_$_NON_CLUSTERED paused.
2019-03-02 13:51:53.980 [Thread-4] INFO org.quartz.core.QuartzScheduler:740 - Scheduler quartzScheduler_$_NON_CLUSTERED shutdown complete.
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] SampleTest.testSelect:29 expected:<5> but was:<15>
[ERROR] Errors:
[ERROR] SampleTest.testTran:45 » NumberFormat For input string: "hello"
[INFO]
[ERROR] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.835 s
[INFO] Finished at: 2019-03-02T13:51:54+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project jeecg-boot: There are test failures.
[ERROR]
[ERROR] Please refer to D:\workspace\jeecg-boot\jeecg-boot\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluen ... ojoFailureException
|
-
|