diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-11 23:52:27 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-01-11 23:52:27 +0100 |
commit | 28be9980407bc011a2bb4170bfe7334c050e2e91 (patch) | |
tree | 657fea829bc1875c2a068b005c8f42e1ccc3e73c /test/transform/resource | |
parent | 2d948ce3e1da08053aac85e9bd0216b2748c0c85 (diff) | |
download | lombok-28be9980407bc011a2bb4170bfe7334c050e2e91.tar.gz lombok-28be9980407bc011a2bb4170bfe7334c050e2e91.tar.bz2 lombok-28be9980407bc011a2bb4170bfe7334c050e2e91.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.java | 4 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/NonNullOnRecord3.java | 6 |
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) { |