1 16 package org.apache.commons.collections.bag; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 22 30 public class TestAll extends TestCase { 31 32 public TestAll(String testName) { 33 super(testName); 34 } 35 36 public static void main(String args[]) { 37 String [] testCaseName = { TestAll.class.getName() }; 38 junit.textui.TestRunner.main(testCaseName); 39 } 40 41 public static Test suite() { 42 TestSuite suite = new TestSuite(); 43 44 suite.addTest(TestHashBag.suite()); 45 suite.addTest(TestPredicatedBag.suite()); 46 suite.addTest(TestPredicatedSortedBag.suite()); 47 suite.addTest(TestTransformedBag.suite()); 48 suite.addTest(TestTransformedSortedBag.suite()); 49 suite.addTest(TestTreeBag.suite()); 50 suite.addTest(TestTypedBag.suite()); 51 suite.addTest(TestTypedSortedBag.suite()); 52 53 return suite; 54 } 55 56 } 57 | Popular Tags |