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

Add JSONString test class.

This set of tests demonstrates what happens when JSONString returns various results from its toJSONString() method. Tests for null returns and exceptions thrown. Also tests what happens for non-JSONString objects. The intent is to cover JSONObject's valueToString() and writeValue() methods.
This commit is contained in:
Nicholas Cull 2016-07-24 18:56:08 +10:00
parent ae77b5cd83
commit ffcfa66d77
2 changed files with 314 additions and 3 deletions

View file

@ -15,7 +15,8 @@ import org.junit.runners.Suite;
JSONObjectTest.class,
JSONArrayTest.class,
EnumTest.class,
JSONPointerTest.class
JSONPointerTest.class,
JSONStringTest.class
})
public class JunitTestSuite {
}
public class JunitTestSuite {
}