aboutsummaryrefslogtreecommitdiff
path: root/test/transform
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-13 04:25:24 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-13 04:25:24 +0100
commitbf0de8b6789b6227d226e51b4ae5130b8ba54ae9 (patch)
treee689ff3e55cfeab7d5350f1360c85bff9d84b252 /test/transform
parent90ec4cb0d042bfe22b577046f0ee592a6054d341 (diff)
downloadlombok-bf0de8b6789b6227d226e51b4ae5130b8ba54ae9.tar.gz
lombok-bf0de8b6789b6227d226e51b4ae5130b8ba54ae9.tar.bz2
lombok-bf0de8b6789b6227d226e51b4ae5130b8ba54ae9.zip
[testing] marking down all jackson related tests as j8+ only
The jackson dep we need for testing is too new a class file to run on j6, stubbing it out too much effort. Odds we find a bug specifically because this stuff fails on java6/7 are low, and I'm okay with supporting 6/7 a little less well.
Diffstat (limited to 'test/transform')
-rw-r--r--test/transform/resource/after-delombok/JacksonBuilderSingular.java2
-rw-r--r--test/transform/resource/after-delombok/JacksonJsonProperty.java2
-rw-r--r--test/transform/resource/after-delombok/JacksonizedBuilderComplex.java1
-rw-r--r--test/transform/resource/after-delombok/JacksonizedBuilderSimple.java1
-rw-r--r--test/transform/resource/after-delombok/JacksonizedSuperBuilderSimple.java1
-rw-r--r--test/transform/resource/before/JacksonBuilderSingular.java2
-rw-r--r--test/transform/resource/before/JacksonJsonProperty.java2
-rw-r--r--test/transform/resource/before/JacksonizedBuilderComplex.java1
-rw-r--r--test/transform/resource/before/JacksonizedBuilderSimple.java1
-rw-r--r--test/transform/resource/before/JacksonizedSuperBuilderSimple.java1
-rw-r--r--test/transform/resource/before/JacksonizedSuperBuilderWithJsonDeserialize.java1
-rw-r--r--test/transform/resource/before/SuperBuilderBasicToBuilder.java2
12 files changed, 12 insertions, 5 deletions
diff --git a/test/transform/resource/after-delombok/JacksonBuilderSingular.java b/test/transform/resource/after-delombok/JacksonBuilderSingular.java
index b56ed0c0..b2bbfa5a 100644
--- a/test/transform/resource/after-delombok/JacksonBuilderSingular.java
+++ b/test/transform/resource/after-delombok/JacksonBuilderSingular.java
@@ -1,4 +1,4 @@
-//version 8:
+//version 8: Jackson deps are at least Java7+.
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnySetter;
diff --git a/test/transform/resource/after-delombok/JacksonJsonProperty.java b/test/transform/resource/after-delombok/JacksonJsonProperty.java
index efb45f35..7bb17dfd 100644
--- a/test/transform/resource/after-delombok/JacksonJsonProperty.java
+++ b/test/transform/resource/after-delombok/JacksonJsonProperty.java
@@ -1,4 +1,4 @@
-//version 8:
+//version 8: Jackson deps are at least Java7+.
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.Nulls;
diff --git a/test/transform/resource/after-delombok/JacksonizedBuilderComplex.java b/test/transform/resource/after-delombok/JacksonizedBuilderComplex.java
index 5abfda63..ed0ca9e7 100644
--- a/test/transform/resource/after-delombok/JacksonizedBuilderComplex.java
+++ b/test/transform/resource/after-delombok/JacksonizedBuilderComplex.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
//CONF: lombok.builder.className = Test*Name
import java.util.List;
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedBuilderComplex.TestVoidName.class)
diff --git a/test/transform/resource/after-delombok/JacksonizedBuilderSimple.java b/test/transform/resource/after-delombok/JacksonizedBuilderSimple.java
index 550163b9..cb8390d2 100644
--- a/test/transform/resource/after-delombok/JacksonizedBuilderSimple.java
+++ b/test/transform/resource/after-delombok/JacksonizedBuilderSimple.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties(ignoreUnknown = true)
diff --git a/test/transform/resource/after-delombok/JacksonizedSuperBuilderSimple.java b/test/transform/resource/after-delombok/JacksonizedSuperBuilderSimple.java
index a5765934..5cd35b7e 100644
--- a/test/transform/resource/after-delombok/JacksonizedSuperBuilderSimple.java
+++ b/test/transform/resource/after-delombok/JacksonizedSuperBuilderSimple.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
public class JacksonizedSuperBuilderSimple {
@com.fasterxml.jackson.annotation.JsonIgnoreProperties(ignoreUnknown = true)
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = JacksonizedSuperBuilderSimple.Parent.ParentBuilderImpl.class)
diff --git a/test/transform/resource/before/JacksonBuilderSingular.java b/test/transform/resource/before/JacksonBuilderSingular.java
index a5afdc42..20d6979a 100644
--- a/test/transform/resource/before/JacksonBuilderSingular.java
+++ b/test/transform/resource/before/JacksonBuilderSingular.java
@@ -1,4 +1,4 @@
-//version 8:
+//version 8: Jackson deps are at least Java7+.
import java.util.List;
import java.util.Map;
diff --git a/test/transform/resource/before/JacksonJsonProperty.java b/test/transform/resource/before/JacksonJsonProperty.java
index efdda29d..c0bccfae 100644
--- a/test/transform/resource/before/JacksonJsonProperty.java
+++ b/test/transform/resource/before/JacksonJsonProperty.java
@@ -1,4 +1,4 @@
-//version 8:
+//version 8: Jackson deps are at least Java7+.
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.annotation.Nulls;
diff --git a/test/transform/resource/before/JacksonizedBuilderComplex.java b/test/transform/resource/before/JacksonizedBuilderComplex.java
index 8881c3d8..5942926d 100644
--- a/test/transform/resource/before/JacksonizedBuilderComplex.java
+++ b/test/transform/resource/before/JacksonizedBuilderComplex.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
//CONF: lombok.builder.className = Test*Name
import java.util.List;
import lombok.Builder;
diff --git a/test/transform/resource/before/JacksonizedBuilderSimple.java b/test/transform/resource/before/JacksonizedBuilderSimple.java
index 6da015ec..b81a0f5d 100644
--- a/test/transform/resource/before/JacksonizedBuilderSimple.java
+++ b/test/transform/resource/before/JacksonizedBuilderSimple.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
diff --git a/test/transform/resource/before/JacksonizedSuperBuilderSimple.java b/test/transform/resource/before/JacksonizedSuperBuilderSimple.java
index 1e3bd0fc..23e52c97 100644
--- a/test/transform/resource/before/JacksonizedSuperBuilderSimple.java
+++ b/test/transform/resource/before/JacksonizedSuperBuilderSimple.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
public class JacksonizedSuperBuilderSimple {
@lombok.extern.jackson.Jacksonized
@lombok.experimental.SuperBuilder
diff --git a/test/transform/resource/before/JacksonizedSuperBuilderWithJsonDeserialize.java b/test/transform/resource/before/JacksonizedSuperBuilderWithJsonDeserialize.java
index 0c80d1a6..ac0dba07 100644
--- a/test/transform/resource/before/JacksonizedSuperBuilderWithJsonDeserialize.java
+++ b/test/transform/resource/before/JacksonizedSuperBuilderWithJsonDeserialize.java
@@ -1,3 +1,4 @@
+//version 8: Jackson deps are at least Java7+.
@lombok.extern.jackson.Jacksonized
@lombok.experimental.SuperBuilder
@com.fasterxml.jackson.databind.annotation.JsonDeserialize
diff --git a/test/transform/resource/before/SuperBuilderBasicToBuilder.java b/test/transform/resource/before/SuperBuilderBasicToBuilder.java
index 93161443..bd97876e 100644
--- a/test/transform/resource/before/SuperBuilderBasicToBuilder.java
+++ b/test/transform/resource/before/SuperBuilderBasicToBuilder.java
@@ -15,7 +15,7 @@ public class SuperBuilderBasicToBuilder {
private int method() {
return 2;
}
-
+
private static String staticMethod(Parent instance) {
return "staticMethod";
}