aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-ecj
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-22 01:33:24 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-22 01:33:24 +0200
commit483e23d3853aa37a19390019fcf0db97ac8bc1d4 (patch)
tree1794c6fc66136f962ee4c9c6a229e39c0af827e5 /test/transform/resource/messages-ecj
parent59e585a0c68959eb72be34524bdad19df5dc8a4d (diff)
downloadlombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.gz
lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.bz2
lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.zip
Added tests for ecj, fixed a few minor bugs that came out of that.
Diffstat (limited to 'test/transform/resource/messages-ecj')
-rw-r--r--test/transform/resource/messages-ecj/GetterAlreadyExists.java.messages10
-rw-r--r--test/transform/resource/messages-ecj/GetterBoolean.java.messages1
-rw-r--r--test/transform/resource/messages-ecj/SetterAlreadyExists.java.messages7
-rw-r--r--test/transform/resource/messages-ecj/SynchronizedName.java.messages1
4 files changed, 19 insertions, 0 deletions
diff --git a/test/transform/resource/messages-ecj/GetterAlreadyExists.java.messages b/test/transform/resource/messages-ecj/GetterAlreadyExists.java.messages
new file mode 100644
index 00000000..c811ab9a
--- /dev/null
+++ b/test/transform/resource/messages-ecj/GetterAlreadyExists.java.messages
@@ -0,0 +1,10 @@
+2 warning Not generating isFoo(): A method with that name already exists (hasFoo)
+8 warning Not generating isFoo(): A method with that name already exists
+14 warning Not generating isFoo(): A method with that name already exists (getFoo)
+32 warning Not generating getFoo(): A method with that name already exists
+50 warning Not generating getFoo(): A method with that name already exists
+56 warning Not generating isFoo(): A method with that name already exists (hasFoo)
+62 warning Not generating isFoo(): A method with that name already exists
+68 warning Not generating isFoo(): A method with that name already exists (getFoo)
+86 warning Not generating getFoo(): A method with that name already exists
+104 warning Not generating getFoo(): A method with that name already exists \ No newline at end of file
diff --git a/test/transform/resource/messages-ecj/GetterBoolean.java.messages b/test/transform/resource/messages-ecj/GetterBoolean.java.messages
new file mode 100644
index 00000000..23e7828c
--- /dev/null
+++ b/test/transform/resource/messages-ecj/GetterBoolean.java.messages
@@ -0,0 +1 @@
+7 warning Not generating isFoo(): A method with that name already exists (hasFoo)
diff --git a/test/transform/resource/messages-ecj/SetterAlreadyExists.java.messages b/test/transform/resource/messages-ecj/SetterAlreadyExists.java.messages
new file mode 100644
index 00000000..df4a9025
--- /dev/null
+++ b/test/transform/resource/messages-ecj/SetterAlreadyExists.java.messages
@@ -0,0 +1,7 @@
+2 warning Not generating setFoo(boolean foo): A method with that name already exists
+7 warning Not generating setFoo(boolean foo): A method with that name already exists
+12 warning Not generating setFoo(String foo): A method with that name already exists
+17 warning Not generating setFoo(String foo): A method with that name already exists
+22 warning Not generating setFoo(String foo): A method with that name already exists
+27 warning Not generating setFoo(String foo): A method with that name already exists
+32 warning Not generating setFoo(String foo): A method with that name already exists \ No newline at end of file
diff --git a/test/transform/resource/messages-ecj/SynchronizedName.java.messages b/test/transform/resource/messages-ecj/SynchronizedName.java.messages
new file mode 100644
index 00000000..2c94551c
--- /dev/null
+++ b/test/transform/resource/messages-ecj/SynchronizedName.java.messages
@@ -0,0 +1 @@
+8 error The field write does not exist.