diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-22 01:33:24 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-07-22 01:33:24 +0200 |
commit | 483e23d3853aa37a19390019fcf0db97ac8bc1d4 (patch) | |
tree | 1794c6fc66136f962ee4c9c6a229e39c0af827e5 /test/transform/resource/before | |
parent | 59e585a0c68959eb72be34524bdad19df5dc8a4d (diff) | |
download | lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.gz lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.tar.bz2 lombok-483e23d3853aa37a19390019fcf0db97ac8bc1d4.zip |
Added tests for ecj, fixed a few minor bugs that came out of that.
Diffstat (limited to 'test/transform/resource/before')
5 files changed, 2 insertions, 6 deletions
diff --git a/test/transform/resource/before/GetterWithDollar.java b/test/transform/resource/before/GetterWithDollar.java index e1ef0818..88579373 100644 --- a/test/transform/resource/before/GetterWithDollar.java +++ b/test/transform/resource/before/GetterWithDollar.java @@ -1,4 +1,3 @@ -//ignore class GetterWithDollar1 { @lombok.Getter int $i; } diff --git a/test/transform/resource/before/NonNullPlain.java b/test/transform/resource/before/NonNullPlain.java index eef64b2f..265b8c5a 100644 --- a/test/transform/resource/before/NonNullPlain.java +++ b/test/transform/resource/before/NonNullPlain.java @@ -1,5 +1,4 @@ class NonNullPlain { - @lombok.Getter @lombok.Setter @lombok.NonNull @lombok.Getter int i; diff --git a/test/transform/resource/before/SetterWithDollar.java b/test/transform/resource/before/SetterWithDollar.java index c09173b0..53734458 100644 --- a/test/transform/resource/before/SetterWithDollar.java +++ b/test/transform/resource/before/SetterWithDollar.java @@ -1,4 +1,3 @@ -//ignore class SetterWithDollar1 { @lombok.Setter int $i; } diff --git a/test/transform/resource/before/SneakyThrowsMultiple.java b/test/transform/resource/before/SneakyThrowsMultiple.java index 7e644f3d..95ab1140 100644 --- a/test/transform/resource/before/SneakyThrowsMultiple.java +++ b/test/transform/resource/before/SneakyThrowsMultiple.java @@ -3,13 +3,13 @@ import java.io.IOException; import java.util.Random; class SneakyThrowsMultiple { - @lombok.SneakyThrows(IOException.class,Throwable.class) + @lombok.SneakyThrows({IOException.class,Throwable.class}) public void test() { System.out.println("test1"); throw new IOException(); } - @lombok.SneakyThrows(AWTException.class,IOException.class) + @lombok.SneakyThrows({AWTException.class,IOException.class}) public void test2() { System.out.println("test2"); if (new Random().nextBoolean()) { diff --git a/test/transform/resource/before/SynchronizedName.java b/test/transform/resource/before/SynchronizedName.java index 6d9ca5e9..5d074113 100644 --- a/test/transform/resource/before/SynchronizedName.java +++ b/test/transform/resource/before/SynchronizedName.java @@ -1,4 +1,3 @@ -//ignore class SynchronizedName { private Object read = new Object(); private static Object READ = new Object(); |