1 22 package org.jboss.ejb3.test.regression.ejbthree249.unit; 23 24 import org.jboss.test.JBossTestCase; 25 import org.jboss.ejb3.test.regression.ejbthree249.MyRemote; 26 import junit.framework.Test; 27 28 35 36 public class DependenciesUnitTestCase 37 extends JBossTestCase 38 { 39 org.jboss.logging.Logger log = getLog(); 40 41 static boolean deployed = false; 42 static int test = 0; 43 44 public DependenciesUnitTestCase(String name) 45 { 46 47 super(name); 48 49 } 50 51 public void testDependencies() throws Exception 52 { 53 MyRemote remote = (MyRemote)getInitialContext().lookup("MyServiceBean/remote"); 54 remote.doit(); 55 } 56 57 public static Test suite() throws Exception 58 { 59 return getDeploySetup(DependenciesUnitTestCase.class, "regression-ejbthree249-test.jar"); 60 } 61 62 } 63 | Popular Tags |