From d2d97539d26f6023ffc4565286f08427c4e8b41c Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Mon, 8 Nov 2021 14:39:53 +0100 Subject: Add support for eclipse feature tests --- buildScripts/ivy.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildScripts/ivy.xml') diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml index afd799d0..db60f6f4 100644 --- a/buildScripts/ivy.xml +++ b/buildScripts/ivy.xml @@ -43,7 +43,7 @@ - + -- cgit From 79fdad30d939cd17a766de3af10faa25a20d3395 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Fri, 26 Aug 2022 00:48:11 +0200 Subject: [jdk19] Bump lombok.patcher version --- buildScripts/ivy.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildScripts/ivy.xml') diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml index db60f6f4..61c94167 100644 --- a/buildScripts/ivy.xml +++ b/buildScripts/ivy.xml @@ -37,7 +37,7 @@ - + -- cgit From a6f34d0a157eaf9a71ab1dc58024e9742dc913e3 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Jan 2023 23:52:27 +0100 Subject: [tests] Added `ant test.ecj19` and updated tests Tests updated because ecj finally fixed their pretty printer for records, yay! --- buildScripts/ivy.xml | 2 + buildScripts/tests.ant.xml | 69 ++++++++++++---------- .../resource/after-ecj/LoggerFloggerRecord.java | 4 +- .../resource/after-ecj/NonNullOnRecord3.java | 6 +- 4 files changed, 42 insertions(+), 39 deletions(-) (limited to 'buildScripts/ivy.xml') diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml index 61c94167..ef19eb4a 100644 --- a/buildScripts/ivy.xml +++ b/buildScripts/ivy.xml @@ -29,6 +29,7 @@ + @@ -77,6 +78,7 @@ + diff --git a/buildScripts/tests.ant.xml b/buildScripts/tests.ant.xml index f93523e4..a485ce51 100644 --- a/buildScripts/tests.ant.xml +++ b/buildScripts/tests.ant.xml @@ -208,6 +208,38 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn + + + + + + + + + Running EclipseTests on eclipse-@{version} on JVM${ant.java.version} + + + + + + + + + + + + + + + + + + + + + + + @@ -234,46 +266,19 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + - + - - - - - - - - - Running EclipseTests on eclipse-@{version} on JVM${ant.java.version} - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/test/transform/resource/after-ecj/LoggerFloggerRecord.java b/test/transform/resource/after-ecj/LoggerFloggerRecord.java index 85ff1641..fde69e74 100644 --- a/test/transform/resource/after-ecj/LoggerFloggerRecord.java +++ b/test/transform/resource/after-ecj/LoggerFloggerRecord.java @@ -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; () { diff --git a/test/transform/resource/after-ecj/NonNullOnRecord3.java b/test/transform/resource/after-ecj/NonNullOnRecord3.java index 44c00098..37f0afcf 100644 --- a/test/transform/resource/after-ecj/NonNullOnRecord3.java +++ b/test/transform/resource/after-ecj/NonNullOnRecord3.java @@ -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; -- cgit From ffd364b964e671eac8fb6ae700834d5d977b5b00 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 12 Jan 2023 00:23:06 +0100 Subject: [tests] add new target for eclipse 2022-12. --- buildScripts/ivy.xml | 13 +++++++++++++ buildScripts/tests.ant.xml | 11 ++++++++--- test/core/src/lombok/RunTestsViaEcj.java | 8 ++++++++ 3 files changed, 29 insertions(+), 3 deletions(-) (limited to 'buildScripts/ivy.xml') diff --git a/buildScripts/ivy.xml b/buildScripts/ivy.xml index ef19eb4a..adab33b4 100644 --- a/buildScripts/ivy.xml +++ b/buildScripts/ivy.xml @@ -31,6 +31,7 @@ + @@ -88,6 +89,18 @@ + + + + + + + + + + + + diff --git a/buildScripts/tests.ant.xml b/buildScripts/tests.ant.xml index a485ce51..f20f76ae 100644 --- a/buildScripts/tests.ant.xml +++ b/buildScripts/tests.ant.xml @@ -175,7 +175,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - Running TestEclipse on eclipse-@{version} on JVM${ant.java.version} using. Compiler compliance level: @{compiler.compliance.level} + Running TestEclipse on eclipse-@{version} on JVM${ant.java.version}. Compiler compliance level: @{compiler.compliance.level} @@ -194,6 +194,11 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn + + + + + @@ -281,6 +286,6 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - - + + diff --git a/test/core/src/lombok/RunTestsViaEcj.java b/test/core/src/lombok/RunTestsViaEcj.java index 8de9cd9c..699b33ed 100644 --- a/test/core/src/lombok/RunTestsViaEcj.java +++ b/test/core/src/lombok/RunTestsViaEcj.java @@ -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; } -- cgit