public class JSONObjectTest
extends TestCase
Constructor and Description |
---|
JSONObjectTest() |
public void testEmptyObject() throws JSONException
JSONException
public void testEqualsAndHashCode() throws JSONException
JSONException
public void testGet() throws JSONException
JSONException
public void testPut() throws JSONException
JSONException
public void testPutNullRemoves() throws JSONException
JSONException
public void testPutOpt() throws JSONException
JSONException
public void testPutOptUnsupportedNumbers() throws JSONException
JSONException
public void testRemove() throws JSONException
JSONException
public void testBooleans() throws JSONException
JSONException
public void testCoerceStringToBoolean() throws JSONException
JSONException
public void testNumbers() throws JSONException
JSONException
public void testFloats() throws JSONException
JSONException
public void testOtherNumbers() throws JSONException
JSONException
public void testForeignObjects() throws JSONException
JSONException
public void testNullKeys()
public void testStrings() throws JSONException
JSONException
public void testJSONObjects() throws JSONException
JSONException
public void testNullCoercionToString() throws JSONException
JSONException
public void testArrayCoercion() throws JSONException
JSONException
public void testObjectCoercion() throws JSONException
JSONException
public void testAccumulateValueChecking() throws JSONException
JSONException
public void testToJSONArray() throws JSONException
JSONException
public void testToJSONArrayMissingNames() throws JSONException
JSONException
public void testToJSONArrayNull() throws JSONException
JSONException
public void testToJSONArrayEndsUpEmpty() throws JSONException
JSONException
public void testToJSONArrayNonString() throws JSONException
JSONException
public void testPutUnsupportedNumbers() throws JSONException
JSONException
public void testPutUnsupportedNumbersAsObjects() throws JSONException
JSONException
public void testCreateWithUnsupportedNumbers() throws JSONException
JSONException
public void testToStringWithUnsupportedNumbers()
public void testMapConstructorCopiesContents() throws JSONException
JSONException
public void testMapConstructorWithBogusEntries()
public void testTokenerConstructor() throws JSONException
JSONException
public void testTokenerConstructorWrongType() throws JSONException
JSONException
public void testTokenerConstructorNull() throws JSONException
JSONException
public void testTokenerConstructorParseFail()
public void testStringConstructor() throws JSONException
JSONException
public void testStringConstructorWrongType() throws JSONException
JSONException
public void testStringConstructorNull() throws JSONException
JSONException
public void testStringonstructorParseFail()
public void testCopyConstructor() throws JSONException
JSONException
public void testCopyConstructorMissingName() throws JSONException
JSONException
public void testAccumulateMutatesInPlace() throws JSONException
JSONException
public void testAccumulateExistingArray() throws JSONException
JSONException
public void testAccumulatePutArray() throws JSONException
JSONException
public void testAccumulateNull()
public void testEmptyStringKey() throws JSONException
JSONException
public void testNullValue() throws JSONException
JSONException
public void testHas() throws JSONException
JSONException
public void testOptNull() throws JSONException
JSONException
public void testToStringWithIndentFactor() throws JSONException
JSONException
public void testNames() throws JSONException
JSONException
public void testKeysEmptyObject()
public void testKeys() throws JSONException
JSONException
public void testMutatingKeysMutatesObject() throws JSONException
JSONException
public void testQuote()
public void testQuoteNull() throws JSONException
JSONException
public void testNumberToString() throws JSONException
JSONException