mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 03:24:27 +08:00
refactor test classes to their own modules
This commit is contained in:
14
MyJsonString.java
Normal file
14
MyJsonString.java
Normal 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";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user