1 13 14 package se.anatom.ejbca.ra.raadmin; 15 16 import junit.framework.Test; 17 import junit.framework.TestSuite; 18 19 import org.apache.log4j.BasicConfigurator; 20 import org.apache.log4j.Logger; 21 22 23 28 public class TestRunner extends Object { 29 private static Logger log = Logger.getLogger(TestRunner.class); 30 31 36 public static void main(String [] args) { 37 BasicConfigurator.configure(); 38 junit.textui.TestRunner.run(suite()); 39 } 40 41 46 public static Test suite() { 47 log.debug(">suite()"); 48 49 TestSuite suite = new TestSuite(); 50 suite.addTest(new TestSuite(TestAdminPreference.class)); 51 suite.addTest(new TestSuite(TestEndEntityProfile.class)); 52 suite.addTest(new TestSuite(TestGlobalConfiguration.class)); 53 54 log.debug("<suite()"); 55 56 return suite; 57 } 58 } 59 | Popular Tags |