mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-19 00:00:46 -04:00
Adds new tests for testing bean->JSONObject mapping
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user