1 16 package org.apache.commons.lang.enum; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 import junit.textui.TestRunner; 22 23 29 public class EnumTestSuite extends TestCase { 30 31 34 public EnumTestSuite(String name) { 35 super(name); 36 } 37 38 41 public static void main(String[] args) { 42 TestRunner.run(suite()); 43 } 44 45 48 public static Test suite() { 49 TestSuite suite = new TestSuite(); 50 suite.setName("Commons-Lang-Enum Tests"); 51 suite.addTest(EnumTest.suite()); 52 suite.addTest(EnumUtilsTest.suite()); 53 suite.addTest(ValuedEnumTest.suite()); 54 return suite; 55 } 56 } 57 | Popular Tags |