diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-02-14 16:39:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-02-14 16:39:48 +0100 |
commit | 06581537f24fe31ee096960be496bc503059a95e (patch) | |
tree | 3732f6fe2117c390f9812b5961dd2d95d4293026 /test/transform/resource/messages-ecj | |
parent | 5e9e16a6b98da5a17f5efe785917bc1e92265fc8 (diff) | |
download | lombok-06581537f24fe31ee096960be496bc503059a95e.tar.gz lombok-06581537f24fe31ee096960be496bc503059a95e.tar.bz2 lombok-06581537f24fe31ee096960be496bc503059a95e.zip |
More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
TODO: Update -eclipse tests.
Diffstat (limited to 'test/transform/resource/messages-ecj')
5 files changed, 7 insertions, 3 deletions
diff --git a/test/transform/resource/messages-ecj/LoggerSlf4jOnNonType.java.messages b/test/transform/resource/messages-ecj/LoggerSlf4jOnNonType.java.messages index 4a446f28..5fff2629 100644 --- a/test/transform/resource/messages-ecj/LoggerSlf4jOnNonType.java.messages +++ b/test/transform/resource/messages-ecj/LoggerSlf4jOnNonType.java.messages @@ -1 +1 @@ -2 error @Log is legal only on types.
\ No newline at end of file +2 error The annotation @Slf4j is disallowed for this location
\ No newline at end of file diff --git a/test/transform/resource/messages-ecj/LoggerSlf4jTypes.java.messages b/test/transform/resource/messages-ecj/LoggerSlf4jTypes.java.messages index 42236c7c..e23aa524 100644 --- a/test/transform/resource/messages-ecj/LoggerSlf4jTypes.java.messages +++ b/test/transform/resource/messages-ecj/LoggerSlf4jTypes.java.messages @@ -1,2 +1,2 @@ -1 error @Log is legal only on classes and enums. -4 error @Log is legal only on classes and enums.
\ No newline at end of file +1 error @Slf4j is legal only on classes and enums. +4 error @Slf4j is legal only on classes and enums.
\ No newline at end of file diff --git a/test/transform/resource/messages-ecj/SimpleTypeResolution.java.messages b/test/transform/resource/messages-ecj/SimpleTypeResolution.java.messages new file mode 100644 index 00000000..2d49e9a9 --- /dev/null +++ b/test/transform/resource/messages-ecj/SimpleTypeResolution.java.messages @@ -0,0 +1 @@ +2 error Getter cannot be resolved to a type
\ No newline at end of file diff --git a/test/transform/resource/messages-ecj/SynchronizedName.java.messages b/test/transform/resource/messages-ecj/SynchronizedName.java.messages index 2c94551c..d200ac0e 100644 --- a/test/transform/resource/messages-ecj/SynchronizedName.java.messages +++ b/test/transform/resource/messages-ecj/SynchronizedName.java.messages @@ -1 +1,2 @@ 8 error The field write does not exist. +11 error Cannot make a static reference to the non-static field SynchronizedName.read
\ No newline at end of file diff --git a/test/transform/resource/messages-ecj/ValErrors.java.messages b/test/transform/resource/messages-ecj/ValErrors.java.messages new file mode 100644 index 00000000..0a23326c --- /dev/null +++ b/test/transform/resource/messages-ecj/ValErrors.java.messages @@ -0,0 +1,2 @@ +5 error d cannot be resolved to a variable +9 error 'val' is not compatible with array initializer expressions. Use the full form (new int[] { ... } instead of just { ... }) |