1 16 package org.apache.commons.collections.set; 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(TestCompositeSet.suite()); 45 suite.addTest(TestListOrderedSet.suite()); 46 suite.addTest(TestListOrderedSet2.suite()); 47 suite.addTest(TestMapBackedSet.suite()); 48 suite.addTest(TestMapBackedSet2.suite()); 49 suite.addTest(TestPredicatedSet.suite()); 50 suite.addTest(TestPredicatedSortedSet.suite()); 51 suite.addTest(TestSynchronizedSet.suite()); 52 suite.addTest(TestSynchronizedSortedSet.suite()); 53 suite.addTest(TestTransformedSet.suite()); 54 suite.addTest(TestTransformedSortedSet.suite()); 55 suite.addTest(TestTypedSet.suite()); 56 suite.addTest(TestTypedSortedSet.suite()); 57 suite.addTest(TestUnmodifiableSet.suite()); 58 suite.addTest(TestUnmodifiableSortedSet.suite()); 59 60 return suite; 61 } 62 63 } 64 | Popular Tags |