1 /* 2 * Copyright (C) 2007 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package tests.xml; 18 19 import junit.framework.Test; 20 import junit.framework.TestSuite; 21 22 public class AllTests { 23 suite()24 public static Test suite() { 25 TestSuite suite = new TestSuite(); 26 27 suite.addTestSuite(DeclarationTest.class); 28 suite.addTestSuite(DomTest.class); 29 suite.addTestSuite(SimpleParserTest.class); 30 suite.addTestSuite(SimpleBuilderTest.class); 31 suite.addTestSuite(NodeTest.class); 32 suite.addTestSuite(NormalizeTest.class); 33 suite.addTestSuite(SaxTest.class); 34 35 //suite.addTest(tests.org.w3c.dom.AllTests.suite()); 36 suite.addTest(tests.api.javax.xml.parsers.AllTests.suite()); 37 38 suite.addTest(tests.api.org.xml.sax.AllTests.suite()); 39 // BEGIN android-changed: this is in the dom module! 40 // suite.addTest(tests.api.org.w3c.dom.AllTests.suite()); 41 // END android-changed 42 suite.addTest(tests.org.w3c.dom.AllTests.suite()); 43 suite.addTest(org.apache.harmony.xml.AllTests.suite()); 44 suite.addTest(org.kxml2.io.AllTests.suite()); 45 46 return suite; 47 } 48 49 } 50