diff options
author | Jesse Wilson <jessewilson@google.com> | 2010-06-03 17:03:08 -0700 |
---|---|---|
committer | Jesse Wilson <jessewilson@google.com> | 2010-06-04 13:32:21 -0700 |
commit | 14816f17144d90174628ee82dc616d4b9c921149 (patch) | |
tree | c0f82cf578863668c75c16d43ea0909d70a11ade /json/src | |
parent | abf945fb9ce99d8c2769ac5b2691b2732fa59887 (diff) | |
download | libcore-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/src')
-rw-r--r-- | json/src/test/java/org/json/AllTests.java | 33 |
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; - } -} |