FileDocCategorySizeDatePackage
TestBatik.javaAPI DocAndroid 1.5 API1672Wed May 06 22:41:04 BST 2009org.w3c.domts.level3.ls

TestBatik

public class TestBatik extends TestSuite
Runs test suite using Batik SVG.

Fields Summary
Constructors Summary
Methods Summary
public static junit.framework.TestSuitesuite()
Factory method for suite.

return
suite
throws
Exception if Batik is not available or could not be instantiated

		Class testClass = ClassLoader.getSystemClassLoader().loadClass(
				"org.w3c.domts.level3.ls.alltests");
		Constructor testConstructor = testClass
				.getConstructor(new Class[]{DOMTestDocumentBuilderFactory.class});
		DOMTestDocumentBuilderFactory factory = new BatikTestDocumentBuilderFactory(
				new DocumentBuilderSetting[0]);
		Object test = testConstructor.newInstance(new Object[]{factory});
		return new JUnitTestSuiteAdapter((DOMTestSuite) test);