From d2808d407a65da9fe1e290a83df0f0da107f0cf8 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 25 Oct 2012 00:07:44 +0200 Subject: 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. --- .../resource/messages-ecj/GetterLazyInvalid.java.messages | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/transform/resource/messages-ecj/GetterLazyInvalid.java.messages') diff --git a/test/transform/resource/messages-ecj/GetterLazyInvalid.java.messages b/test/transform/resource/messages-ecj/GetterLazyInvalid.java.messages index 25641930..9ecf0fc0 100644 --- a/test/transform/resource/messages-ecj/GetterLazyInvalid.java.messages +++ b/test/transform/resource/messages-ecj/GetterLazyInvalid.java.messages @@ -1,6 +1,6 @@ -2 error 'lazy' requires the field to be private and final. -6 error 'lazy' requires the field to be private and final. -10 error 'lazy' requires the field to be private and final. -14 warning 'lazy' does not work with AccessLevel.NONE. -17 error 'lazy' is not supported for @Getter on a type. -22 error 'lazy' requires field initialization. +2:35 'lazy' requires the field to be private and final. +6:132 'lazy' requires the field to be private and final. +10:232 'lazy' requires the field to be private and final. +14:315 'lazy' does not work with AccessLevel.NONE. +17:412 'lazy' is not supported for @Getter on a type. +22:544 'lazy' requires field initialization. -- cgit