There are 3 failures of JMockit JUnit Test after maven update project [message #1822867] |
Mon, 16 March 2020 04:29  |
Eclipse User |
|
|
|
I found a weird thing about Eclipse JDT.
JMockit is a maven project, all the test classes running JUnit Test will be ok after the project built by 'mvn clean install', the javac command that it does just like this (add -X in the maven build goals to show the options ) :
javac -d <...\main\target\test-classes> -classpath <maven_dependency-jar-lists> -sourcepath <...\main\test> -g -nowarn -target 1.7 -source 1.7 -encoding UTF-8 -Xlint:none <test-class-java-file-lists>
But if updating the project by 'maven update project', the weird thing will be happen, there are 3 testcase will be failure.
It's seemed that these failure classes which generated by Eclipse Java Development Tool are very different with that javac generated.
PS:
JMockit's git repo: https://github.com/jmockit/jmockit1 (Vesion: 1.49 )
Eclipse: 2019-12
JDK: Oracle JDK 1.8.0_241
OS: Win7 64
|
|
|
|
Powered by
FUDForum. Page generated in 0.02604 seconds