1 16 package org.apache.commons.collections.comparators; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 22 29 public class TestAll extends TestCase { 30 31 public TestAll(String testName) { 32 super(testName); 33 } 34 35 public static Test suite() { 36 TestSuite suite = new TestSuite(); 37 suite.addTest(TestBooleanComparator.suite()); 38 suite.addTest(TestComparableComparator.suite()); 39 suite.addTest(TestComparatorChain.suite()); 40 suite.addTest(TestFixedOrderComparator.suite()); 41 suite.addTest(TestNullComparator.suite()); 42 suite.addTest(TestReverseComparator.suite()); 43 return suite; 44 } 45 46 public static void main(String args[]) { 47 String [] testCaseName = { TestAll.class.getName() }; 48 junit.textui.TestRunner.main(testCaseName); 49 } 50 51 } 52 | Popular Tags |