1 22 package org.jboss.ejb3.test.timerdependency.unit; 23 24 import org.jboss.ejb3.test.stateful.unit.RemoteUnitTestCase; 25 import org.jboss.logging.Logger; 26 import org.jboss.test.JBossTestCase; 27 import junit.framework.Test; 28 29 33 34 public class TimerUnitTestCase 35 extends JBossTestCase 36 { 37 private static final Logger log = Logger.getLogger(TimerUnitTestCase.class); 38 39 static boolean deployed = false; 40 static int test = 0; 41 42 public TimerUnitTestCase(String name) 43 { 44 super(name); 45 } 46 47 public void test() throws Exception 48 { 49 Thread.sleep(5000); 50 } 51 52 public static Test suite() throws Exception 53 { 54 return getDeploySetup(TimerUnitTestCase.class, "timerdependency.jar"); 55 } 56 57 } 58 | Popular Tags |