Code example for TestSuite

Methods: addTest, addTestSuite

0
 * From the IDE run this suite as an "SWTBot test". 
 * @author Kris De Volder 
 */ 
public class AllRooUITests { 
	public static Test suite() {
		final TestSuite suite = new TestSuite(AllRooUITests.class.getName());
		addTest(suite, RooShellTests.class);
		suite.addTestSuite(StyledTextAppenderTest.class);
		//Add more... 
		return suite;
	} 
 
	private static void addTest(TestSuite suite, Class<? extends UITestCase> test) {
		suite.addTest(UITestCase.createSuite(test));
	} 
}