new test cases to support bean annotation

This commit is contained in:
John J. Aylward
2018-03-07 14:52:50 -05:00
parent fc881e2631
commit 193a3823b5
6 changed files with 165 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ public class GenericBeanInt extends GenericBean<Integer> {
/** @return the a */
public char getA() {
return a;
return this.a;
}
/**
@@ -25,6 +25,33 @@ public class GenericBeanInt extends GenericBean<Integer> {
return false;
}
/**
* Should not be beanable
*
* @return false
*/
public boolean get() {
return false;
}
/**
* Should not be beanable
*
* @return false
*/
public boolean is() {
return false;
}
/**
* Should be beanable
*
* @return false
*/
public boolean isB() {
return this.genericValue.equals((Integer.valueOf(this.a+1)));
}
/**
* @param genericValue
* the value to initiate with.