refactor test classes to their own modules

This commit is contained in:
stleary
2015-12-29 17:56:43 -06:00
parent c6204a9f01
commit 7f83a51718
5 changed files with 55 additions and 45 deletions

14
MyJsonString.java Normal file
View File

@@ -0,0 +1,14 @@
package org.json.junit;
import org.json.*;
/**
* Used in testing when a JSONString is needed
*/
class MyJsonString implements JSONString {
@Override
public String toJSONString() {
return "my string";
}
}