// from http://www.w3.org/DOM/Test/
// Level 2 Core tests
DOMTestSuite domSuite;
try {
DOMTestDocumentBuilderFactory factory1 =
new JAXPDOMTestDocumentBuilderFactory(null,
JAXPDOMTestDocumentBuilderFactory.getConfiguration1());
// android: coalescing, epand, ignorewhitespace, namespace, NOT validation
domSuite = new org.w3c.domts.level2.core.alltests(factory1);
} catch (Exception e) {
throw new RuntimeException("problem creating dom test suite", e);
}
TestSuite suite = new JUnitTestSuiteAdapter(domSuite);
return suite;