summaryrefslogtreecommitdiffstats
path: root/json
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-06-03 17:03:08 -0700
committerJesse Wilson <jessewilson@google.com>2010-06-04 13:32:21 -0700
commit14816f17144d90174628ee82dc616d4b9c921149 (patch)
treec0f82cf578863668c75c16d43ea0909d70a11ade /json
parentabf945fb9ce99d8c2769ac5b2691b2732fa59887 (diff)
downloadlibcore-14816f17144d90174628ee82dc616d4b9c921149.zip
libcore-14816f17144d90174628ee82dc616d4b9c921149.tar.gz
libcore-14816f17144d90174628ee82dc616d4b9c921149.tar.bz2
Scrubbing broken tests and removing unnecessary organization AllTests.java files.
I've deleted as many tests as possible that duplicated coverage in Harmony. We're now running their tests directly against our codebase and having two copies of every test is quite painful; particularly when the tests need maintenance. The AllTests files aren't necessary, our test harness can automatically find tests and run them without external organization. This strategy is also more reliable, since often the AllTests files are out of sync. Change-Id: I3ee052f8839e9b146ba47f945812f5937d878110
Diffstat (limited to 'json')
-rw-r--r--json/src/test/java/org/json/AllTests.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/json/src/test/java/org/json/AllTests.java b/json/src/test/java/org/json/AllTests.java
deleted file mode 100644
index 8f5cc94..0000000
--- a/json/src/test/java/org/json/AllTests.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (C) 2010 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.json;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-public class AllTests {
- public static Test suite() {
- TestSuite suite = new TestSuite();
- suite.addTestSuite(JSONArrayTest.class);
- suite.addTestSuite(JSONObjectTest.class);
- suite.addTestSuite(JSONStringerTest.class);
- suite.addTestSuite(JSONTokenerTest.class);
- suite.addTestSuite(ParsingTest.class);
- suite.addTestSuite(SelfUseTest.class);
- return suite;
- }
-}