1 16 package org.apache.commons.collections.collection; 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(TestCompositeCollection.suite()); 45 suite.addTest(TestPredicatedCollection.suite()); 46 suite.addTest(TestSynchronizedCollection.suite()); 47 suite.addTest(TestTransformedCollection.suite()); 48 suite.addTest(TestUnmodifiableCollection.suite()); 49 50 return suite; 51 } 52 53 } 54 | Popular Tags |