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:
parent
c6204a9f01
commit
7f83a51718
5 changed files with 55 additions and 45 deletions
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";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue