Test

public class Test extends TestCase

Test class. This file is not formally a member of the org.json library. It is just a test tool. Issue: JSONObject does not specify the ordering of keys, so simple-minded comparisons of .toString to a string literal are likely to fail.

Author:JSON.org

Constructors

Test

public Test(String name)

Methods

setUp

protected void setUp()

tearDown

protected void tearDown()

testExceptions

public void testExceptions()

testJSON

public void testJSON()

testNull

public void testNull()

testXML

public void testXML()