1 22 23 package tests.sosnoski.util.stack; 24 25 import junit.framework.*; 26 27 public class StackSuite extends TestCase 28 { 29 public StackSuite(String name) { 30 super(name); 31 } 32 33 public static Test suite() { 34 TestSuite suite = new TestSuite(); 35 suite.addTest(IntStackTest.suite()); 36 suite.addTest(ObjectStackTest.suite()); 37 suite.addTest(StringStackTest.suite()); 38 return suite; 39 } 40 41 public static void main(String [] args) { 42 String [] names = { StackSuite.class.getName() }; 43 junit.textui.TestRunner.main(names); 44 } 45 } 46 | Popular Tags |