aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-11 23:52:27 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 00:40:03 +0100
commita6f34d0a157eaf9a71ab1dc58024e9742dc913e3 (patch)
tree7e2fa00772a71d3ee9c0f942726826f52238c577 /test/transform/resource
parentfd0530f4e9591fb1e38d56669d9e777c8efcbac5 (diff)
downloadlombok-a6f34d0a157eaf9a71ab1dc58024e9742dc913e3.tar.gz
lombok-a6f34d0a157eaf9a71ab1dc58024e9742dc913e3.tar.bz2
lombok-a6f34d0a157eaf9a71ab1dc58024e9742dc913e3.zip
[tests] Added `ant test.ecj19` and updated tests
Tests updated because ecj finally fixed their pretty printer for records, yay!
Diffstat (limited to 'test/transform/resource')
-rw-r--r--test/transform/resource/after-ecj/LoggerFloggerRecord.java4
-rw-r--r--test/transform/resource/after-ecj/NonNullOnRecord3.java6
2 files changed, 3 insertions, 7 deletions
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;
<clinit>() {
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,13 +1,9 @@
-// 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;
}
public void method(@NonNull String param) {