aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2012-10-25 00:07:44 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2012-10-25 00:07:44 +0200
commitd2808d407a65da9fe1e290a83df0f0da107f0cf8 (patch)
tree80e577330ebef88dbd91c1de59951cbff94af9e8 /test/transform/resource/messages-ecj/ValInBasicFor.java.messages
parent2d216118986115bf309c050cd841bbe8b62b80b3 (diff)
downloadlombok-d2808d407a65da9fe1e290a83df0f0da107f0cf8.tar.gz
lombok-d2808d407a65da9fe1e290a83df0f0da107f0cf8.tar.bz2
lombok-d2808d407a65da9fe1e290a83df0f0da107f0cf8.zip
The testrunner now uses a different mechanism to verify correctness of produced errors and warnings (i.e. we intentionally compile code with errors in them to verify that the appropriate error or warning message is emitted when lombok is active during a compilation run of either javac or ecj) - instead of string comparisons, it's a little more complex. This to enable testing of both javac6 and javac7, even if they produce (slightly) different error output.
Updated all message files in the 'expected output' directories to represent this change.
Diffstat (limited to 'test/transform/resource/messages-ecj/ValInBasicFor.java.messages')
-rw-r--r--test/transform/resource/messages-ecj/ValInBasicFor.java.messages8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
index 23ffd6fd..068d72b9 100644
--- a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
+++ b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages
@@ -1,4 +1,4 @@
-6 error 'val' is not allowed in old-style for loops
-6 error Type mismatch: cannot convert from int to val
-6 error 'val' is not allowed in old-style for loops
-6 error 'val' is not allowed in old-style for loops \ No newline at end of file
+6:160 'val' is not allowed in old-style for loops
+6:171 Type mismatch: cannot convert from int to val
+6:174 'val' is not allowed in old-style for loops
+6:187 'val' is not allowed in old-style for loops