aboutsummaryrefslogtreecommitdiff
path: root/test/delombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2009-12-26 04:11:22 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2009-12-26 04:11:22 +0100
commit1f7bddd688191857c8a089a810c251cf4c1a8407 (patch)
treea3644978ea50cd1d2ffdc458d9e1db038a4f2580 /test/delombok
parent69fe8e049c078c297367b275acfe2d1b4191028d (diff)
downloadlombok-1f7bddd688191857c8a089a810c251cf4c1a8407.tar.gz
lombok-1f7bddd688191857c8a089a810c251cf4c1a8407.tar.bz2
lombok-1f7bddd688191857c8a089a810c251cf4c1a8407.zip
Added test suite for issue #93 - apparently this problem (naming your class GetFoo prevents lombok from making a getFoo method) only occurs on eclipse, as the test passes.
Diffstat (limited to 'test/delombok')
-rw-r--r--test/delombok/resource/after/ClassNamedAfterGetter.java6
-rw-r--r--test/delombok/resource/before/ClassNamedAfterGetter.java3
2 files changed, 9 insertions, 0 deletions
diff --git a/test/delombok/resource/after/ClassNamedAfterGetter.java b/test/delombok/resource/after/ClassNamedAfterGetter.java
new file mode 100644
index 00000000..74632a81
--- /dev/null
+++ b/test/delombok/resource/after/ClassNamedAfterGetter.java
@@ -0,0 +1,6 @@
+class GetFoo {
+ private int foo;
+ public int getFoo() {
+ return foo;
+ }
+}
diff --git a/test/delombok/resource/before/ClassNamedAfterGetter.java b/test/delombok/resource/before/ClassNamedAfterGetter.java
new file mode 100644
index 00000000..fe61eda1
--- /dev/null
+++ b/test/delombok/resource/before/ClassNamedAfterGetter.java
@@ -0,0 +1,3 @@
+class GetFoo {
+ @lombok.Getter private int foo;
+}