aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-delombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-07-16 22:04:39 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-07-16 22:04:39 +0200
commite6421509987c01e06b7c79ef406cc01ff174ae81 (patch)
treefd86dd5dcdc258c3927b778dc23e01d3ea652e62 /test/transform/resource/messages-delombok
parent2502862f896d11b9e386df34f6891918ed443409 (diff)
downloadlombok-e6421509987c01e06b7c79ef406cc01ff174ae81.tar.gz
lombok-e6421509987c01e06b7c79ef406cc01ff174ae81.tar.bz2
lombok-e6421509987c01e06b7c79ef406cc01ff174ae81.zip
Updated tests to reflect changes to delombok (delombok now kills super(), because attrib adds them even in places where that's wrong).
Also split up the SynchronizedName test into separate cases for each expected failure mode.
Diffstat (limited to 'test/transform/resource/messages-delombok')
-rw-r--r--test/transform/resource/messages-delombok/SynchronizedName.java.messages1
-rw-r--r--test/transform/resource/messages-delombok/SynchronizedNameNoSuchField.java.messages1
-rw-r--r--test/transform/resource/messages-delombok/SynchronizedNameStaticToInstanceRef.java.messages1
3 files changed, 2 insertions, 1 deletions
diff --git a/test/transform/resource/messages-delombok/SynchronizedName.java.messages b/test/transform/resource/messages-delombok/SynchronizedName.java.messages
deleted file mode 100644
index 2af3ca1d..00000000
--- a/test/transform/resource/messages-delombok/SynchronizedName.java.messages
+++ /dev/null
@@ -1 +0,0 @@
-8:9 ERROR The field write does not exist. \ No newline at end of file
diff --git a/test/transform/resource/messages-delombok/SynchronizedNameNoSuchField.java.messages b/test/transform/resource/messages-delombok/SynchronizedNameNoSuchField.java.messages
new file mode 100644
index 00000000..bffd29e6
--- /dev/null
+++ b/test/transform/resource/messages-delombok/SynchronizedNameNoSuchField.java.messages
@@ -0,0 +1 @@
+5:9 ERROR The field write does not exist.
diff --git a/test/transform/resource/messages-delombok/SynchronizedNameStaticToInstanceRef.java.messages b/test/transform/resource/messages-delombok/SynchronizedNameStaticToInstanceRef.java.messages
new file mode 100644
index 00000000..1a084653
--- /dev/null
+++ b/test/transform/resource/messages-delombok/SynchronizedNameStaticToInstanceRef.java.messages
@@ -0,0 +1 @@
+-1:-1 ERROR non-static variable read cannot be referenced from a static context