1 2 8 package org.jboss.test.jms; 9 10 import junit.framework.TestCase; 11 12 import org.jboss.logging.Logger; 13 import org.jboss.logging.XLevel; 14 15 21 public class BaseJMSTest extends TestCase 22 { 23 25 27 28 protected Logger log = Logger.getLogger(getClass()); 29 30 32 34 public BaseJMSTest(String name) 35 { 36 super(name); 37 org.apache.log4j.Logger jboss = org.apache.log4j.Logger.getLogger("org.jboss"); 38 jboss.setLevel(XLevel.ALL); 39 } 40 41 43 45 protected void setUp() 46 throws Exception 47 { 48 log.info("========= Start test: " + getName()); 49 } 50 51 protected void tearDown() 52 throws Exception 53 { 54 log.info("========== Stop test: " + getName()); 55 } 56 57 59 61 } 63 | Popular Tags |