aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorCaleb Brinkman <cbrinkman@sonatype.com>2019-09-19 16:05:17 -0500
committerCaleb Brinkman <cbrinkman@sonatype.com>2019-09-19 16:05:17 -0500
commitffb299730e8f378748c4594988ec568812bf895b (patch)
treebd882cc6321483c8c40f09a0464640a5423d99ca /test/transform/resource/after-delombok
parent24a49a9d2bc9ae6776eabcbeb8ce6bbe4ad5ebcf (diff)
downloadlombok-ffb299730e8f378748c4594988ec568812bf895b.tar.gz
lombok-ffb299730e8f378748c4594988ec568812bf895b.tar.bz2
lombok-ffb299730e8f378748c4594988ec568812bf895b.zip
Fix more broken tests
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java6
-rw-r--r--test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java1
-rw-r--r--test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java2
-rw-r--r--test/transform/resource/after-delombok/BuilderWithExistingBuilderClassWithSetterPrefix.java4
-rw-r--r--test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java1
-rw-r--r--test/transform/resource/after-delombok/BuilderWithToBuilderWithSetterPrefix.java1
6 files changed, 9 insertions, 6 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java
index 352a0723..a4afb8a8 100644
--- a/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderSingularMapsWithSetterPrefix.java
@@ -95,7 +95,7 @@ class BuilderSingularMapsWithSetterPrefix<K, V> {
return this;
}
@SuppressWarnings("all")
- public BuilderSingularMapsWithSetterPrefixBuilder<K, V> withRawMan(Object rawMapKey, Object rawMapValue) {
+ public BuilderSingularMapsWithSetterPrefixBuilder<K, V> withRawMap(Object rawMapKey, Object rawMapValue) {
if (this.rawMap$key == null) {
this.rawMap$key = new java.util.ArrayList<Object>();
this.rawMap$value = new java.util.ArrayList<Object>();
@@ -125,7 +125,7 @@ class BuilderSingularMapsWithSetterPrefix<K, V> {
return this;
}
@SuppressWarnings("all")
- public BuilderSingularMapsWithSetterPrefixBuilder<K, V> stringMap(String stringMapKey, V stringMapValue) {
+ public BuilderSingularMapsWithSetterPrefixBuilder<K, V> withStringMap(String stringMapKey, V stringMapValue) {
if (this.stringMap$key == null) {
this.stringMap$key = new java.util.ArrayList<String>();
this.stringMap$value = new java.util.ArrayList<V>();
@@ -135,7 +135,7 @@ class BuilderSingularMapsWithSetterPrefix<K, V> {
return this;
}
@SuppressWarnings("all")
- public BuilderSingularMapsWithSetterPrefixBuilder<K, V> stringMap(java.util.Map<? extends String, ? extends V> stringMap) {
+ public BuilderSingularMapsWithSetterPrefixBuilder<K, V> withStringMap(java.util.Map<? extends String, ? extends V> stringMap) {
if (this.stringMap$key == null) {
this.stringMap$key = new java.util.ArrayList<String>();
this.stringMap$value = new java.util.ArrayList<V>();
diff --git a/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java
index 367f0ac1..8e849f44 100644
--- a/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderSingularWildcardListsWithToBuilderWithSetterPrefix.java
@@ -1,5 +1,6 @@
import java.util.List;
import java.util.Collection;
+@Builder(toBuilder = true, setterPrefix = "with")
class BuilderSingularWildcardListsWithToBuilderWithSetterPrefix {
private List<?> objects;
private Collection<? extends Number> numbers;
diff --git a/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
index be581c47..45a79fdc 100644
--- a/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithAccessorsWithSetterPrefix.java
@@ -39,7 +39,7 @@ class BuilderWithAccessorsWithSetterPrefix {
return this;
}
@java.lang.SuppressWarnings("all")
- public BuilderWithAccessorsWithSetterPrefixBuilder with_Bar(final int _bar) {
+ public BuilderWithAccessorsWithSetterPrefixBuilder with_bar(final int _bar) {
this._bar = _bar;
return this;
}
diff --git a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClassWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClassWithSetterPrefix.java
index 95f89c9d..9b7b0c95 100644
--- a/test/transform/resource/after-delombok/BuilderWithExistingBuilderClassWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithExistingBuilderClassWithSetterPrefix.java
@@ -2,7 +2,7 @@ class BuilderWithExistingBuilderClassWithSetterPrefix<T, K extends Number> {
public static <Z extends Number> BuilderWithExistingBuilderClassWithSetterPrefix<String, Z> staticMethod(Z arg1, boolean arg2, String arg3) {
return null;
}
- public static class BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z extends Number> {
+ public static class BuilderWithExistingBuilderClassBuilderWithSetterPrefixBuilder<Z extends Number> {
@java.lang.SuppressWarnings("all")
private boolean arg2;
@java.lang.SuppressWarnings("all")
@@ -11,7 +11,7 @@ class BuilderWithExistingBuilderClassWithSetterPrefix<T, K extends Number> {
public void withArg2(boolean arg) {
}
@java.lang.SuppressWarnings("all")
- BuilderWithExistingBuilderClassWithSetterPrefixBuilder() {
+ BuilderWithExistingBuilderClassBuilderWithSetterPrefixBuilder() {
}
@java.lang.SuppressWarnings("all")
public BuilderWithExistingBuilderClassWithSetterPrefixBuilder<Z> withArg1(final Z arg1) {
diff --git a/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java
index 0f478ed1..2381dcbe 100644
--- a/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithNoBuilderMethodWithSetterPrefix.java
@@ -1,3 +1,4 @@
+import lombok.Builder
class BuilderWithNoBuilderMethodWithSetterPrefix {
private String a = "";
@java.lang.SuppressWarnings("all")
diff --git a/test/transform/resource/after-delombok/BuilderWithToBuilderWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderWithToBuilderWithSetterPrefix.java
index 322c667c..091aed4d 100644
--- a/test/transform/resource/after-delombok/BuilderWithToBuilderWithSetterPrefix.java
+++ b/test/transform/resource/after-delombok/BuilderWithToBuilderWithSetterPrefix.java
@@ -1,4 +1,5 @@
import java.util.List;
+import lombok.Builder;
class BuilderWithToBuilderWithSetterPrefix<T> {
private String mOne;
private String mTwo;