aboutsummaryrefslogtreecommitdiff
path: root/test/delombok/resource
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2009-11-28 22:51:40 +0100
committerRoel Spilker <r.spilker@gmail.com>2009-11-28 22:51:40 +0100
commit311b667dfd29b8388686ba046ada2293947105dd (patch)
tree8e83e926c16ab73b30d6359cb126078f3791a9c2 /test/delombok/resource
parent6d9bc684692a6bbef5a960a113af834ce8a16447 (diff)
downloadlombok-311b667dfd29b8388686ba046ada2293947105dd.tar.gz
lombok-311b667dfd29b8388686ba046ada2293947105dd.tar.bz2
lombok-311b667dfd29b8388686ba046ada2293947105dd.zip
New tests
Diffstat (limited to 'test/delombok/resource')
-rw-r--r--test/delombok/resource/after/ForEach.java9
-rw-r--r--test/delombok/resource/before/ForEach.java9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/delombok/resource/after/ForEach.java b/test/delombok/resource/after/ForEach.java
new file mode 100644
index 00000000..c4d4a9dc
--- /dev/null
+++ b/test/delombok/resource/after/ForEach.java
@@ -0,0 +1,9 @@
+import java.util.Arrays;
+public class ForEach {
+ {
+ for (int i : Arrays.asList(1, 2, 3)) {
+ System.out.println(i);
+ // Do something
+ }
+ }
+}
diff --git a/test/delombok/resource/before/ForEach.java b/test/delombok/resource/before/ForEach.java
new file mode 100644
index 00000000..c4d4a9dc
--- /dev/null
+++ b/test/delombok/resource/before/ForEach.java
@@ -0,0 +1,9 @@
+import java.util.Arrays;
+public class ForEach {
+ {
+ for (int i : Arrays.asList(1, 2, 3)) {
+ System.out.println(i);
+ // Do something
+ }
+ }
+}