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-delombok/GetterLazyInvalid.java.messages | |
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-delombok/GetterLazyInvalid.java.messages')
-rw-r--r-- | test/transform/resource/messages-delombok/GetterLazyInvalid.java.messages | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/transform/resource/messages-delombok/GetterLazyInvalid.java.messages b/test/transform/resource/messages-delombok/GetterLazyInvalid.java.messages index 4f7e3df8..5c72fd56 100644 --- a/test/transform/resource/messages-delombok/GetterLazyInvalid.java.messages +++ b/test/transform/resource/messages-delombok/GetterLazyInvalid.java.messages @@ -1,6 +1,6 @@ -2:9 ERROR 'lazy' requires the field to be private and final. -6:9 ERROR 'lazy' requires the field to be private and final. -10:9 ERROR 'lazy' requires the field to be private and final. -14:9 WARNING 'lazy' does not work with AccessLevel.NONE. -17:1 ERROR 'lazy' is not supported for @Getter on a type. -22:9 ERROR 'lazy' requires field initialization.
\ No newline at end of file +2:9 'lazy' requires the field to be private and final. +6:9 'lazy' requires the field to be private and final. +10:9 'lazy' requires the field to be private and final. +14:9 'lazy' does not work with AccessLevel.NONE. +17:1 'lazy' is not supported for @Getter on a type. +22:9 'lazy' requires field initialization.
\ No newline at end of file |