FileDocCategorySizeDatePackage
TestXalanAltConfig.javaAPI DocAndroid 1.5 API1639Wed May 06 22:41:04 BST 2009org.w3c.domts.level3.xpath

TestXalanAltConfig

public class TestXalanAltConfig extends TestSuite

Fields Summary
Constructors Summary
Methods Summary
public static junit.framework.TestSuitesuite()

    Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level3.xpath.alltests");
    Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });

    DocumentBuilderFactory jaxpFactory = DocumentBuilderFactory.newInstance();

    DOMTestDocumentBuilderFactory factory =
        new XalanDOMTestDocumentBuilderFactory(jaxpFactory,
          XalanDOMTestDocumentBuilderFactory.getConfiguration2());

    Object test = testConstructor.newInstance(new Object[] { factory });

    return new JUnitTestSuiteAdapter((DOMTestSuite) test);