1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 16:00:51 -07:00

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";
}
}