Code example for TestSuite

Methods: addTest, addTestSuite

0
	public static void main(String[] args) {
		junit.textui.TestRunner.run(AllTests.suite()); 
	} 
 
	public static Test suite() {
		TestSuite suite = new TestSuite(
			"Test for de.fuberlin.wiwiss.namedgraphs"); 
		//$JUnit-BEGIN$ 
		suite.addTestSuite(UnionGraphTest.class);
		suite.addTestSuite(NamedGraphSetTest.class);
		suite.addTestSuite(NamedGraphModelTest.class);
		suite.addTestSuite(NamedGraphStatementIteratorTest.class);
		//$JUnit-END$ 
		suite.addTest(de.fuberlin.wiwiss.ng4j.db.AllTests.suite());
		suite.addTest(de.fuberlin.wiwiss.ng4j.trix.AllTests.suite());
		suite.addTest(de.fuberlin.wiwiss.ng4j.trig.AllTests.suite());
		suite.addTest(de.fuberlin.wiwiss.ng4j.swp.AllTests.suite());
		suite.addTest(de.fuberlin.wiwiss.ng4j.swp.util.AllTests.suite());
		return suite;
	} 
}