User: dsundstrom
Date: 02/01/15 16:02:24
Modified: src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional
ABTest.java
Log:
Added a static suite method to each test, so tests can be run
independently.
Revision Changes Path
1.2 +6 -0
jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional/ABTest.java
Index: ABTest.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/cmp2/relationship/oneToOneBidirectional/ABTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ABTest.java 2001/12/11 02:17:59 1.1
+++ ABTest.java 2002/01/16 00:02:24 1.2
@@ -3,10 +3,16 @@
import java.util.Collection;
import java.util.Iterator;
import javax.naming.InitialContext;
+import junit.framework.Test;
import junit.framework.TestCase;
import net.sourceforge.junitejb.EJBTestCase;
+import org.jboss.test.JBossTestCase;
public class ABTest extends EJBTestCase {
+
+ public static Test suite() throws Exception {
+ return JBossTestCase.getJ2eeSetup(ABTest.class,
"cmp2-relationship.jar");
+ }
public ABTest(String name) {
super(name);
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development