1 16 package org.apache.commons.lang.exception; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 import junit.textui.TestRunner; 22 23 28 public class ExceptionTestSuite extends TestCase 29 { 30 33 public ExceptionTestSuite(String name) 34 { 35 super(name); 36 } 37 38 41 public static void main(String [] args) 42 { 43 TestRunner.run(suite()); 44 } 45 46 public static Test suite() 47 { 48 TestSuite suite = new TestSuite(); 49 suite.addTest(NestableDelegateTestCase.suite()); 50 suite.addTest(NestableErrorTestCase.suite()); 51 suite.addTest(NestableExceptionTestCase.suite()); 52 suite.addTest(NestableRuntimeExceptionTestCase.suite()); 53 suite.addTest(ExceptionUtilsTestCase.suite()); 54 return suite; 55 } 56 } 57 | Popular Tags |