public class

Test

extends TestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ org.json.Test

Class Overview

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.

Summary

Public Constructors
Test(String name)
Public Methods
void testExceptions()
void testJSON()
void testNull()
void testXML()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public Test (String name)

Public Methods

public void testExceptions ()

Throws
Exception

public void testJSON ()

Throws
Exception

public void testNull ()

Throws
Exception

public void testXML ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception