mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[tests] add new target for eclipse 2022-12.
This commit is contained in:
3 files changed
+29
-3
No files matched your search
@@ -31,6 +31,7 @@
|
||||
<conf name="ecj16" />
|
||||
<conf name="ecj19" />
|
||||
|
||||
<conf name="eclipse-202212" />
|
||||
<conf name="eclipse-oxygen" />
|
||||
<conf name="eclipse-202006" />
|
||||
|
||||
@@ -88,6 +89,18 @@
|
||||
|
||||
<!-- eclipses -->
|
||||
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.core.runtime" rev="3.26.100" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.jdt" name="org.eclipse.jdt.core" rev="3.32.0" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.jdt" name="org.eclipse.jdt.ui" rev="3.27.100" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.equinox.common" rev="3.17.0" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.equinox.registry" rev="3.11.200" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.equinox.app" rev="1.6.200" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.core.resources" rev="3.18.100" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.core.contenttype" rev="3.8.200" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.core.jobs" rev="3.13.200" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.osgi" rev="3.18.200" conf="eclipse-202212->default" transitive="false" />
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.text" rev="3.12.300" conf="eclipse-202212->default" transitive="false" />
|
||||
|
||||
<dependency org="org.eclipse.platform" name="org.eclipse.core.runtime" rev="3.13.0" conf="eclipse-oxygen->default" transitive="false" />
|
||||
<dependency org="org.eclipse.jdt" name="org.eclipse.jdt.core" rev="3.13.102" conf="eclipse-oxygen->default" transitive="false" />
|
||||
<dependency org="org.eclipse.jdt" name="org.eclipse.jdt.ui" rev="3.13.100" conf="eclipse-oxygen->default" transitive="false" />
|
||||
|
||||
@@ -175,7 +175,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn
|
||||
<condition property="compiler.compliance.level" value="-Dcompiler.compliance.level=@{compiler.compliance.level}" else="-Dnot=set">
|
||||
<not><equals arg1="@{compiler.compliance.level}" arg2="latest" /></not>
|
||||
</condition>
|
||||
<echo>Running TestEclipse on eclipse-@{version} on JVM${ant.java.version} using. Compiler compliance level: @{compiler.compliance.level}</echo>
|
||||
<echo>Running TestEclipse on eclipse-@{version} on JVM${ant.java.version}. Compiler compliance level: @{compiler.compliance.level}</echo>
|
||||
<junit haltonfailure="yes" fork="true" forkmode="once">
|
||||
<formatter classname="lombok.ant.SimpleTestFormatter" usefile="false" unless="tests.quiet" />
|
||||
<jvmarg value="-Xbootclasspath/a:${jdk8-rt.loc}" />
|
||||
@@ -194,6 +194,11 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn
|
||||
</sequential>
|
||||
</macrodef>
|
||||
|
||||
<target name="test.eclipse-202212" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the 2022-12 release of eclipse">
|
||||
<fetchdep.eclipse version="202212" />
|
||||
<test.eclipse-X version="202212" />
|
||||
</target>
|
||||
|
||||
<target name="test.eclipse-oxygen" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the oxygen release of eclipse">
|
||||
<test.eclipse-X version="oxygen" />
|
||||
</target>
|
||||
@@ -281,6 +286,6 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn
|
||||
<test.ecj-X version="19" />
|
||||
</target>
|
||||
|
||||
<target name="test" depends="test.javacCurrent, test.eclipse-202006" description="runs the tests against the default JVM, javac, and eclipse" />
|
||||
<target name="test.broad" depends="test.javac8, test.javac17, test.javac19, test.eclipse-oxygen, test.eclipse-202006, test.eclipse-202006-jdk8" description="runs the tests against the default JVM, javac, and eclipse" />
|
||||
<target name="test" depends="test.javacCurrent, test.eclipse-202212" description="runs the tests against the default JVM, javac, and eclipse" />
|
||||
<target name="test.broad" depends="test.javac8, test.javac17, test.javac19, test.eclipse-oxygen, test.eclipse-202212, test.eclipse-202006-jdk8" description="runs the tests against the default JVM, javac, and eclipse" />
|
||||
</project>
|
||||
@@ -312,6 +312,14 @@ public class RunTestsViaEcj extends AbstractRunTests {
|
||||
mainTypeName = CharOperation.subarray(fileNameCharArray, start, end);
|
||||
}
|
||||
|
||||
@Override public int hashCode() {
|
||||
return System.identityHashCode(this);
|
||||
}
|
||||
|
||||
@Override public boolean equals(Object obj) {
|
||||
return this == obj;
|
||||
}
|
||||
|
||||
@Override public char[] getContents() {
|
||||
return source;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user