1 22 package org.jboss.test.cmp2.fkstackoverflow.test; 23 24 import org.jboss.test.JBossTestCase; 25 import org.jboss.test.cmp2.fkstackoverflow.ejb.FacadeUtil; 26 import junit.framework.Test; 27 28 32 public class FKStackOverflowUnitTestCase 33 extends JBossTestCase 34 { 35 37 public FKStackOverflowUnitTestCase(String name) 38 { 39 super(name); 40 } 41 42 44 public static Test suite() throws Exception 45 { 46 return getDeploySetup(FKStackOverflowUnitTestCase.class, "cmp2-fkstackoverflow.jar"); 47 } 48 49 51 public void testSimpleScenario() 52 throws Exception 53 { 54 FacadeUtil.getHome().create().testSimple(); 55 } 56 57 public void testComplexScenario() 58 throws Exception 59 { 60 FacadeUtil.getHome().create().testComplex(); 61 } 62 } 63 | Popular Tags |