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

TestDefaultLSAltConfig

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

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

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