Added more tests, one of which tests usage of .getX() in toString, equals, and hashCode, which isn't fully working yet, so this test still fails.

This commit is contained in:
Reinier Zwitserloot committed 2010-07-22 01:59:30 +02:00
1 parent 483e23d385
commit 7c47aa1125
9 files changed
+268

No files matched your search

@@ -0,0 +1,24 @@
class MultiFieldGetter {
int x;
int y;
@java.lang.SuppressWarnings("all")
protected int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
protected int getY() {
return this.y;
}
}
class MultiFieldGetter2 {
int x;
int y;
@java.lang.SuppressWarnings("all")
int getX() {
return this.x;
}
@java.lang.SuppressWarnings("all")
int getY() {
return this.y;
}
}