aboutsummaryrefslogtreecommitdiff
path: root/test/delombok
diff options
context:
space:
mode:
Diffstat (limited to 'test/delombok')
-rw-r--r--test/delombok/resource/after/Cast.java3
-rw-r--r--test/delombok/resource/after/WithComments.java1
-rw-r--r--test/delombok/resource/before/WithComments.java1
-rw-r--r--test/delombok/src/lombok/delombok/TestLombokFiles.java4
4 files changed, 5 insertions, 4 deletions
diff --git a/test/delombok/resource/after/Cast.java b/test/delombok/resource/after/Cast.java
index a1b455f0..95237b0f 100644
--- a/test/delombok/resource/after/Cast.java
+++ b/test/delombok/resource/after/Cast.java
@@ -1,7 +1,6 @@
import java.util.*;
public class Cast {
public void test(List<?> list) {
- RandomAccess r = (/*before*/
- RandomAccess /*after*/)list;
+ RandomAccess r = (/*before*/ RandomAccess /*after*/)list;
}
} \ No newline at end of file
diff --git a/test/delombok/resource/after/WithComments.java b/test/delombok/resource/after/WithComments.java
index 684dcc8e..e4f078aa 100644
--- a/test/delombok/resource/after/WithComments.java
+++ b/test/delombok/resource/after/WithComments.java
@@ -1,4 +1,5 @@
// Cool Comments
public class WithComments {
// Also inside the body
+// On start of line
} \ No newline at end of file
diff --git a/test/delombok/resource/before/WithComments.java b/test/delombok/resource/before/WithComments.java
index 22d044b3..f75551ac 100644
--- a/test/delombok/resource/before/WithComments.java
+++ b/test/delombok/resource/before/WithComments.java
@@ -1,4 +1,5 @@
// Cool Comments
public class WithComments {
// Also inside the body
+// On start of line
}
diff --git a/test/delombok/src/lombok/delombok/TestLombokFiles.java b/test/delombok/src/lombok/delombok/TestLombokFiles.java
index 66e3580e..12c16d76 100644
--- a/test/delombok/src/lombok/delombok/TestLombokFiles.java
+++ b/test/delombok/src/lombok/delombok/TestLombokFiles.java
@@ -24,7 +24,7 @@ package lombok.delombok;
import java.io.File;
import lombok.DirectoryRunner;
-import lombok.TestViaDelombok;
+import lombok.RunTestsViaDelombok;
import org.junit.runner.RunWith;
@@ -32,7 +32,7 @@ import org.junit.runner.RunWith;
public class TestLombokFiles {
public static File getBeforeDirectory() {
- TestViaDelombok.printErrors(true);
+ RunTestsViaDelombok.printErrors(true);
return new File("test/lombok/resource/before");
}