1 package test.sample; 2 3 import junit.framework.Test; 4 import junit.framework.TestSuite; 5 6 /** 7 * Tests the suite() functionality of TestNG 8 * 9 * @author Cedric Beust, May 5, 2004 10 * 11 */ 12 public class AllJUnitTests { suite()13 public static Test suite() { 14 TestSuite suite= new TestSuite(); 15 suite.addTest(new JUnitSample1(JUnitSample1.EXPECTED1)); 16 suite.addTest(new JUnitSample2(JUnitSample2.EXPECTED)); 17 return suite; 18 } 19 } 20