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