Code example for TestSuite

Methods: addTest

0
import junit.framework.TestSuite; 
 
public class AllTests { 
 
	public static Test suite() {
		TestSuite suite = new TestSuite("Test for org.eclipse.php.formatter.core.tests");
 
		// $JUnit-BEGIN$ 
 
		suite.addTest(FormatterTests.suite());
		suite.addTest(FormatterAutoEditTests.suite());
		suite.addTest(FormatterLinuxAutoEditTests.suite());
 
		// $JUnit-END$ 
		return suite;
	} 
}