Code example for TestSuite

Methods: addTest

0
import junit.framework.TestSuite; 
 
public class ErrorReportingTests { 
 
	public static Test suite() {
		TestSuite suite = new TestSuite(ErrorReportingTests.class.getName());
		// $JUnit-BEGIN$ 
		suite.addTest(PHP5ErrorReportingTests.suite());
		suite.addTest(PHP53ErrorReportingTests.suite());
		suite.addTest(PHP54ErrorReportingTests.suite());
		// $JUnit-END$ 
		return suite;
	} 
 
}