FileDocCategorySizeDatePackage
TestDefaultLS.javaAPI DocAndroid 1.5 API1653Wed May 06 22:41:04 BST 2009org.w3c.domts.level1.core

TestDefaultLS

public class TestDefaultLS extends TestSuite
Test suite that runs all DOM L1 Core tests using the Default LS parser in default configuration.
author
Curt Arnold

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

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

		DOMTestDocumentBuilderFactory factory =
			new LSDocumentBuilderFactory(
				JAXPDOMTestDocumentBuilderFactory.getConfiguration1());

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

		return new JUnitTestSuiteAdapter((DOMTestSuite) test);