01: package test.sample;
02:
03: import junit.framework.Test;
04: import junit.framework.TestSuite;
05:
06: /**
07: * Tests the suite() functionality of TestNG
08: *
09: * @author Cedric Beust, May 5, 2004
10: *
11: */
12: public class AllJUnitTests {
13: public static Test suite() {
14: TestSuite suite = new TestSuite();
15: suite.addTest(new JUnitSample1("testSample1_1"));
16: suite.addTest(new JUnitSample2("testSample2ThatSetUpWasRun"));
17: return suite;
18: }
19: }
|