[tests] Added ant test.ecj19 and updated tests

Tests updated because ecj finally fixed their pretty printer for records, yay!
This commit is contained in:
Reinier Zwitserloot committed 2023-01-11 23:52:27 +01:00
1 parent 2d948ce3e1
commit 28be998040
4 files changed
+12 -9

No files matched your search

+2
View File
@@ -29,6 +29,7 @@
<conf name="ecj11" />
<conf name="ecj14" />
<conf name="ecj16" />
<conf name="ecj19" />
<conf name="eclipse-oxygen" />
<conf name="eclipse-202006" />
@@ -77,6 +78,7 @@
<!-- ecjs -->
<dependency org="org.eclipse.jdt" name="ecj" rev="3.32.0" conf="ecj19->master" />
<dependency org="org.eclipse.jdt" name="ecj" rev="3.25.0" conf="ecj16->master" />
<dependency org="org.eclipse.jdt" name="ecj" rev="3.22.0.v20200530-2032" conf="ecj14->master" />
<dependency org="org.eclipse.jdt" name="ecj" rev="3.16.0" conf="ecj11->master" />
+7 -2
View File
@@ -216,16 +216,21 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn
<test.ecj-X version="11" />
</target>
<target name="test.ecj14" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the ecj11 release">
<target name="test.ecj14" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the ecj14 release">
<fetchdep.ecj version="14" />
<test.ecj-X version="14" />
</target>
<target name="test.ecj16" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the ecj11 release">
<target name="test.ecj16" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the ecj16 release">
<fetchdep.ecj version="16" />
<test.ecj-X version="16" />
</target>
<target name="test.ecj19" depends="test.formatter.compile, test.compile" description="runs the tests on your default VM, testing the ecj19 release">
<fetchdep.ecj version="19" />
<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" />
</project>
@@ -1,7 +1,7 @@
// version 14:
// version 19:
import lombok.extern.flogger.Flogger;
class LoggerFloggerRecord {
public static @Flogger record Inner(com log) {
public @Flogger record Inner(com log) {
private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass();
/* Implicit */ private final String x;
<clinit>() {
@@ -1,11 +1,7 @@
// version 14:
// version 19:
import lombok.NonNull;
public record NonNullOnRecord3(String a) {
/* Implicit */ private final String a;
public NonNullOnRecord3(String a) {
super();
.a = a;
}
public NonNullOnRecord3(String a) {
super();
this.a = a;