public class JSONStringerTest
extends TestCase
Constructor and Description |
---|
JSONStringerTest() |
Modifier and Type | Method and Description |
---|---|
void |
testArray() |
void |
testArrayNestingMaxDepthSupports20() |
void |
testEmptyArray() |
void |
testEmptyKey() |
void |
testEmptyObject() |
void |
testEmptyStringer() |
void |
testEscaping() |
void |
testJSONArrayAsValue() |
void |
testJSONObjectAsValue() |
void |
testKeyValue() |
void |
testMaxDepthWithArrayValue() |
void |
testMaxDepthWithObjectValue() |
void |
testMismatchedScopes() |
void |
testMixedMaxDepthSupports20() |
void |
testMultipleRoots() |
void |
testNullKey() |
void |
testNumericRepresentations()
Test what happens when extreme values are emitted.
|
void |
testObjectNestingMaxDepthSupports20() |
void |
testRepeatedKey() |
void |
testValueJSONNull() |
void |
testValueObjectMethods() |
void |
testWeirdNumbers() |
public void testEmptyStringer()
public void testValueJSONNull() throws JSONException
JSONException
public void testEmptyObject() throws JSONException
JSONException
public void testEmptyArray() throws JSONException
JSONException
public void testArray() throws JSONException
JSONException
public void testValueObjectMethods() throws JSONException
JSONException
public void testKeyValue() throws JSONException
JSONException
public void testNumericRepresentations() throws JSONException
JSONException
public void testWeirdNumbers() throws JSONException
JSONException
public void testMismatchedScopes()
public void testNullKey()
public void testRepeatedKey() throws JSONException
JSONException
public void testEmptyKey() throws JSONException
JSONException
public void testEscaping() throws JSONException
JSONException
public void testJSONArrayAsValue() throws JSONException
JSONException
public void testJSONObjectAsValue() throws JSONException
JSONException
public void testArrayNestingMaxDepthSupports20() throws JSONException
JSONException
public void testObjectNestingMaxDepthSupports20() throws JSONException
JSONException
public void testMixedMaxDepthSupports20() throws JSONException
JSONException
public void testMaxDepthWithArrayValue() throws JSONException
JSONException
public void testMaxDepthWithObjectValue() throws JSONException
JSONException
public void testMultipleRoots() throws JSONException
JSONException