Testcases updated with new behaviour of @Getter/@Setter on booleans.

This commit is contained in:
Reinier Zwitserloot committed 2011-02-07 21:35:34 +01:00
1 parent c98cec7d2d
commit 30b63deaff
18 files changed
+121 -44

No files matched your search

@@ -8,7 +8,7 @@ class Getter {
public @java.lang.SuppressWarnings("all") boolean isBar() {
return this.isBar;
}
public @java.lang.SuppressWarnings("all") boolean hasBaz() {
public @java.lang.SuppressWarnings("all") boolean isHasBaz() {
return this.hasBaz;
}
Getter() {
@@ -17,6 +17,9 @@ class Getter {
}
class MoreGetter {
@lombok.Getter boolean foo;
public @java.lang.SuppressWarnings("all") boolean isFoo() {
return this.foo;
}
MoreGetter() {
super();
}
@@ -24,3 +27,12 @@ class MoreGetter {
return true;
}
}
class YetMoreGetter {
@lombok.Getter boolean foo;
YetMoreGetter() {
super();
}
boolean getFoo() {
return true;
}
}