aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-02-09 22:45:45 +0100
committerRoel Spilker <r.spilker@gmail.com>2017-02-09 22:52:38 +0100
commit70f77f928ac7a6edf3ef91a41399c9a79561c871 (patch)
tree228cfbb2ec9f05bf8aa6881c3de5e4037bd9558d /test/transform/resource/before
parentb42fef8edc8b3d5458c74c8b049c0cbb842b1ca1 (diff)
downloadlombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.tar.gz
lombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.tar.bz2
lombok-70f77f928ac7a6edf3ef91a41399c9a79561c871.zip
[i1014] Only add lombok.Generated if it is explicitly turned on
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/GeneratedJavaxOnLombokOn.java6
-rw-r--r--test/transform/resource/before/GeneratedLombokOff.java5
-rw-r--r--test/transform/resource/before/GeneratedOff.java (renamed from test/transform/resource/before/GeneratedGlobalOff.java)2
-rw-r--r--test/transform/resource/before/GeneratedOffJavaxOn.java (renamed from test/transform/resource/before/GeneratedGlobalOffJavaxOn.java)2
-rw-r--r--test/transform/resource/before/GeneratedOffLombokOn.java (renamed from test/transform/resource/before/GeneratedGlobalOffLombokOn.java)2
5 files changed, 9 insertions, 8 deletions
diff --git a/test/transform/resource/before/GeneratedJavaxOnLombokOn.java b/test/transform/resource/before/GeneratedJavaxOnLombokOn.java
new file mode 100644
index 00000000..cee391ad
--- /dev/null
+++ b/test/transform/resource/before/GeneratedJavaxOnLombokOn.java
@@ -0,0 +1,6 @@
+//CONF: lombok.addJavaxGeneratedAnnotation = true
+//CONF: lombok.addLombokGeneratedAnnotation = true
+class GeneratedJavaxOnLombokOn {
+ @lombok.Getter
+ int x;
+}
diff --git a/test/transform/resource/before/GeneratedLombokOff.java b/test/transform/resource/before/GeneratedLombokOff.java
deleted file mode 100644
index 53fcc462..00000000
--- a/test/transform/resource/before/GeneratedLombokOff.java
+++ /dev/null
@@ -1,5 +0,0 @@
-//CONF: lombok.addLombokGeneratedAnnotation = false
-class GeneratedLombokOff {
- @lombok.Getter
- int x;
-}
diff --git a/test/transform/resource/before/GeneratedGlobalOff.java b/test/transform/resource/before/GeneratedOff.java
index 89dcff62..7d62991b 100644
--- a/test/transform/resource/before/GeneratedGlobalOff.java
+++ b/test/transform/resource/before/GeneratedOff.java
@@ -1,5 +1,5 @@
//CONF: lombok.addGeneratedAnnotation = false
-class GeneratedGlobalOff {
+class GeneratedOff {
@lombok.Getter
int x;
}
diff --git a/test/transform/resource/before/GeneratedGlobalOffJavaxOn.java b/test/transform/resource/before/GeneratedOffJavaxOn.java
index dc7e9d8a..a3547913 100644
--- a/test/transform/resource/before/GeneratedGlobalOffJavaxOn.java
+++ b/test/transform/resource/before/GeneratedOffJavaxOn.java
@@ -1,6 +1,6 @@
//CONF: lombok.addGeneratedAnnotation = false
//CONF: lombok.addJavaxGeneratedAnnotation = true
-class GeneratedGlobalOffJavaxOn {
+class GeneratedOffJavaxOn {
@lombok.Getter
int x;
}
diff --git a/test/transform/resource/before/GeneratedGlobalOffLombokOn.java b/test/transform/resource/before/GeneratedOffLombokOn.java
index 39e80f7e..9d122306 100644
--- a/test/transform/resource/before/GeneratedGlobalOffLombokOn.java
+++ b/test/transform/resource/before/GeneratedOffLombokOn.java
@@ -1,6 +1,6 @@
//CONF: lombok.addGeneratedAnnotation = false
//CONF: lombok.addLombokGeneratedAnnotation = true
-class GeneratedGlobalOffLombokOn {
+class GeneratedOffLombokOn {
@lombok.Getter
int x;
}