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

@@ -11,7 +11,7 @@ class Getter {
return this.isBar;
}
@java.lang.SuppressWarnings("all")
public boolean hasBaz() {
public boolean isHasBaz() {
return this.hasBaz;
}
}
@@ -20,4 +20,14 @@ class MoreGetter {
boolean hasFoo() {
return true;
}
@java.lang.SuppressWarnings("all")
public boolean isFoo() {
return this.foo;
}
}
class YetMoreGetter {
boolean foo;
boolean getFoo() {
return true;
}
}