diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-09-09 23:54:51 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-09-09 23:54:51 +0200 |
commit | 52d4c81a590f790de057653e7ffd091b6706ee34 (patch) | |
tree | 8a97023270287d2739bce8d212ddb3267ff38cc1 /test/transform/resource | |
parent | 6a02cb40137788e6f77919c762b72b3d5880d2da (diff) | |
download | lombok-52d4c81a590f790de057653e7ffd091b6706ee34.tar.gz lombok-52d4c81a590f790de057653e7ffd091b6706ee34.tar.bz2 lombok-52d4c81a590f790de057653e7ffd091b6706ee34.zip |
Updated unit tests to reflect new double-underscore default for onX. (Because single underscore generates warnings in javac8).
Diffstat (limited to 'test/transform/resource')
3 files changed, 8 insertions, 10 deletions
diff --git a/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages b/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages index af1e3b7a..53a9b9ad 100644 --- a/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages +++ b/test/transform/resource/messages-delombok/GetterOnMethodErrors2.java.messages @@ -1,4 +1,4 @@ -2 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -3 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -4 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -5 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) +2 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +3 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +4 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +5 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) diff --git a/test/transform/resource/messages-ecj/GetterOnMethodErrors2.java.messages b/test/transform/resource/messages-ecj/GetterOnMethodErrors2.java.messages index af1e3b7a..53a9b9ad 100644 --- a/test/transform/resource/messages-ecj/GetterOnMethodErrors2.java.messages +++ b/test/transform/resource/messages-ecj/GetterOnMethodErrors2.java.messages @@ -1,4 +1,4 @@ -2 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -3 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -4 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) -5 The correct format is @Getter(onMethod=@_({@SomeAnnotation, @SomeOtherAnnotation})) +2 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +3 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +4 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) +5 The correct format is @Getter(onMethod=@__({@SomeAnnotation, @SomeOtherAnnotation})) diff --git a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages index 43cd7ce8..c75e20f2 100644 --- a/test/transform/resource/messages-ecj/ValInBasicFor.java.messages +++ b/test/transform/resource/messages-ecj/ValInBasicFor.java.messages @@ -1,4 +1,2 @@ 6 'val' is not allowed in old-style for loops 6 Type mismatch: cannot convert from int to val -6 'val' is not allowed in old-style for loops -6 'val' is not allowed in old-style for loops |