package test.sample; | |
import junit.framework.Test; | |
import junit.framework.TestSuite; | |
/** | |
* Tests the suite() functionality of TestNG | |
* | |
* @author Cedric Beust, May 5, 2004 | |
* | |
*/ | |
public class AllJUnitTests { | |
public static Test suite() { | |
TestSuite suite= new TestSuite(); | |
suite.addTest(new JUnitSample1(JUnitSample1.EXPECTED1)); | |
suite.addTest(new JUnitSample2(JUnitSample2.EXPECTED)); | |
return suite; | |
} | |
} |