FileDocCategorySizeDatePackage
AllTests_Level1.javaAPI DocAndroid 1.5 API1862Wed May 06 22:41:04 BST 2009tests.api.org.w3c.dom

AllTests_Level1

public class AllTests_Level1 extends Object
Listing of all the tests that are to be run.

Fields Summary
Constructors Summary
Methods Summary
public static final junit.framework.Testsuite()

        // from http://www.w3.org/DOM/Test/
        // Level 1 Core tests
        DOMTestSuite domSuite;
        try {
            DOMTestDocumentBuilderFactory factory1 =
                new JAXPDOMTestDocumentBuilderFactory(null,
                JAXPDOMTestDocumentBuilderFactory.getConfiguration1());
            
                // android: coalescing, epand, ignorewhitespace, namespace, NOT validation

            domSuite = new org.w3c.domts.level1.core.alltests(factory1);
        } catch (Exception e) {
            throw new RuntimeException("problem creating dom test suite, "+e.getClass().getName()+", "+e.getMessage(), e);
        }
        TestSuite suite = new JUnitTestSuiteAdapter(domSuite);
        return suite;