OSDN Git Service

New tests for JSONObject and for JSON's self-use.
authorJesse Wilson <jessewilson@google.com>
Wed, 10 Mar 2010 01:54:35 +0000 (17:54 -0800)
committerJesse Wilson <jessewilson@google.com>
Wed, 10 Mar 2010 18:00:53 +0000 (10:00 -0800)
commit8d7ee1eb0c3fe903d3546def87b6812754b1ba07
treeca26ce9360d782b3b4803077bb1fa43e75c0eca2
parent631bbbff684e9fe41a5a08ffa3e13fa3bed01212
New tests for JSONObject and for JSON's self-use.

Alongside development of these tests, I'm working on a new
cleanroom implementation. The self use test was written to
prevent me from self-using in a way that the original
implementation does not.

Change-Id: Ie617aca1978bd39d85b05e5c2c7bd657ed159dd6
libcore/json/src/test/java/org/json/AllTests.java
libcore/json/src/test/java/org/json/JSONArrayTest.java
libcore/json/src/test/java/org/json/JSONObjectTest.java [new file with mode: 0644]
libcore/json/src/test/java/org/json/JSONStringerTest.java
libcore/json/src/test/java/org/json/SelfUseTest.java [new file with mode: 0644]