diff options
author | Roel Spilker <r.spilker@gmail.com> | 2009-11-28 22:51:40 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2009-11-28 22:51:40 +0100 |
commit | 311b667dfd29b8388686ba046ada2293947105dd (patch) | |
tree | 8e83e926c16ab73b30d6359cb126078f3791a9c2 /test | |
parent | 6d9bc684692a6bbef5a960a113af834ce8a16447 (diff) | |
download | lombok-311b667dfd29b8388686ba046ada2293947105dd.tar.gz lombok-311b667dfd29b8388686ba046ada2293947105dd.tar.bz2 lombok-311b667dfd29b8388686ba046ada2293947105dd.zip |
New tests
Diffstat (limited to 'test')
-rw-r--r-- | test/delombok/resource/after/ForEach.java | 9 | ||||
-rw-r--r-- | test/delombok/resource/before/ForEach.java | 9 | ||||
-rw-r--r-- | test/lombok/resource/after/PlainGetter.java | 10 | ||||
-rw-r--r-- | test/lombok/resource/before/PlainGetter.java | 6 |
4 files changed, 34 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 + } + } +} diff --git a/test/lombok/resource/after/PlainGetter.java b/test/lombok/resource/after/PlainGetter.java new file mode 100644 index 00000000..04944df8 --- /dev/null +++ b/test/lombok/resource/after/PlainGetter.java @@ -0,0 +1,10 @@ +class Getter { + int i; + int foo; + public int getI() { + return i; + } + public int getFoo() { + return foo; + } +}
\ No newline at end of file diff --git a/test/lombok/resource/before/PlainGetter.java b/test/lombok/resource/before/PlainGetter.java new file mode 100644 index 00000000..2db1ee13 --- /dev/null +++ b/test/lombok/resource/before/PlainGetter.java @@ -0,0 +1,6 @@ +import lombok.Getter; + +class Getter { + @Getter int i; + @lombok.Getter int foo; +}
\ No newline at end of file |