Create a new instance of the test suite
Class testClass =
ClassLoader.getSystemClassLoader().loadClass(
"org.w3c.domts.level3.xpath.alltests");
Constructor testConstructor =
testClass.getConstructor(
new Class[] { DOMTestDocumentBuilderFactory.class });
DOMTestDocumentBuilderFactory factory =
new LSDocumentBuilderFactory(
JAXPDOMTestDocumentBuilderFactory.getConfiguration2());
Object test = testConstructor.newInstance(new Object[] { factory });
return new JUnitTestSuiteAdapter((DOMTestSuite) test);