FileDocCategorySizeDatePackage
TestDefaultLSAltConfig.javaAPI DocAndroid 1.5 API1669Wed May 06 22:41:04 BST 2009org.w3c.domts.level2.html

TestDefaultLSAltConfig

public class TestDefaultLSAltConfig extends TestSuite
Test suite that runs all DOM L2 HTML tests using the Default LS parser in an alternative configuration.
author
Curt Arnold

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

		Class testClass =
			ClassLoader.getSystemClassLoader().loadClass(
				"org.w3c.domts.level2.html.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);