diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-10-25 00:07:44 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-10-25 00:07:44 +0200 |
commit | d2808d407a65da9fe1e290a83df0f0da107f0cf8 (patch) | |
tree | 80e577330ebef88dbd91c1de59951cbff94af9e8 /test/transform/resource/messages-idempotent | |
parent | 2d216118986115bf309c050cd841bbe8b62b80b3 (diff) | |
download | lombok-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-idempotent')
4 files changed, 8 insertions, 20 deletions
diff --git a/test/transform/resource/messages-idempotent/SimpleTypeResolution.java.messages b/test/transform/resource/messages-idempotent/SimpleTypeResolution.java.messages index 3a345d06..7acd35ed 100644 --- a/test/transform/resource/messages-idempotent/SimpleTypeResolution.java.messages +++ b/test/transform/resource/messages-idempotent/SimpleTypeResolution.java.messages @@ -1,9 +1 @@ -2:10 ERROR cannot find symbol -symbol : class Getter -location: class SimpleTypeResolutionFail -2:10 ERROR cannot find symbol -symbol : class Getter -location: class SimpleTypeResolutionFail -2:10 ERROR cannot find symbol -symbol : class Getter -location: class SimpleTypeResolutionFail +2:10 cannot find symbol diff --git a/test/transform/resource/messages-idempotent/SynchronizedNameStaticToInstanceRef.java.messages b/test/transform/resource/messages-idempotent/SynchronizedNameStaticToInstanceRef.java.messages index c34e29f6..ed3eccb1 100644 --- a/test/transform/resource/messages-idempotent/SynchronizedNameStaticToInstanceRef.java.messages +++ b/test/transform/resource/messages-idempotent/SynchronizedNameStaticToInstanceRef.java.messages @@ -1 +1 @@ -5:66 ERROR non-static variable read cannot be referenced from a static context +5:66 non-static variable read cannot be referenced from a static context diff --git a/test/transform/resource/messages-idempotent/ValErrors.java.messages b/test/transform/resource/messages-idempotent/ValErrors.java.messages index 6f666511..9bee37d4 100644 --- a/test/transform/resource/messages-idempotent/ValErrors.java.messages +++ b/test/transform/resource/messages-idempotent/ValErrors.java.messages @@ -1,7 +1,3 @@ -3:44 ERROR cannot find symbol -symbol : variable d -location: class ValErrors -6:17 ERROR cannot find symbol -symbol : class val -location: class ValErrors -6:25 ERROR illegal initializer for <none> +3:44 cannot find symbol +6:17 cannot find symbol +6:25 illegal initializer for <none> diff --git a/test/transform/resource/messages-idempotent/ValInBasicFor.java.messages b/test/transform/resource/messages-idempotent/ValInBasicFor.java.messages index 133baa64..313a33c0 100644 --- a/test/transform/resource/messages-idempotent/ValInBasicFor.java.messages +++ b/test/transform/resource/messages-idempotent/ValInBasicFor.java.messages @@ -1,3 +1,3 @@ -5:26 ERROR 'val' is not allowed in old-style for loops -5:40 ERROR 'val' is not allowed in old-style for loops -5:53 ERROR 'val' is not allowed in old-style for loops +5:26 'val' is not allowed in old-style for loops +5:40 'val' is not allowed in old-style for loops +5:53 'val' is not allowed in old-style for loops |