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. --- .../messages-delombok/SetterOnParam.java.messages | 24 +++++++--------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'test/transform/resource/messages-delombok/SetterOnParam.java.messages') diff --git a/test/transform/resource/messages-delombok/SetterOnParam.java.messages b/test/transform/resource/messages-delombok/SetterOnParam.java.messages index a18f1b83..b8c69eca 100644 --- a/test/transform/resource/messages-delombok/SetterOnParam.java.messages +++ b/test/transform/resource/messages-delombok/SetterOnParam.java.messages @@ -1,17 +1,7 @@ -3:33 ERROR incompatible types -found : java.lang.SuppressWarnings -required: lombok.Setter.AnyAnnotation -4:43 ERROR incompatible types -found : java.lang.SuppressWarnings -required: lombok.Setter.AnyAnnotation -6:25 ERROR incompatible types -found : java.lang.SuppressWarnings -required: lombok.Setter.AnyAnnotation -11:25 ERROR incompatible types -found : java.lang.SuppressWarnings -required: lombok.Setter.AnyAnnotation -14:43 ERROR incompatible types -found : java.lang.SuppressWarnings -required: lombok.Setter.AnyAnnotation -6:1 ERROR 'onParam' is not supported for @Setter on a type. -11:1 ERROR 'onParam' is not supported for @Setter on a type. +3:33 incompatible types +4:43 incompatible types +6:25 incompatible types +11:25 incompatible types +14:43 incompatible types +6:1 'onParam' is not supported for @Setter on a type. +11:1 'onParam' is not supported for @Setter on a type. -- cgit