Adds new tests for testing bean->JSONObject mapping

This commit is contained in:
John J. Aylward
2017-07-09 17:35:46 -04:00
parent 0e3f23d7a1
commit 49117f33dc
6 changed files with 356 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
/**
*
*/
package org.json.junit.data;
/**
* @author john
*
*/
public class GenericBeanInt extends GenericBean<Integer> {
/** */
final char a = 'A';
/** return the a */
public char getA() {
return a;
}
/** return false. should not be beanable */
public boolean getable() {
return false;
}
/** */
public GenericBeanInt(Integer genericValue) {
super(genericValue);
}
}