User: hugo
Date: 00/12/12 17:33:53
Modified: src/main/org/jboss/test/testbean/test Main.java
Log:
Added a bmpBean.remove() in the BMP test so that the test doesn't break after the
first run...
Hugo Pinto.
Revision Changes Path
1.5 +5 -1 jbosstest/src/main/org/jboss/test/testbean/test/Main.java
Index: Main.java
===================================================================
RCS file:
/products/cvs/ejboss/jbosstest/src/main/org/jboss/test/testbean/test/Main.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Main.java 2000/10/25 23:08:36 1.4
+++ Main.java 2000/12/13 01:33:53 1.5
@@ -48,7 +48,8 @@
* Sample client for the jboss container.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
-* @version $Id: Main.java,v 1.4 2000/10/25 23:08:36 schulze Exp $
+* @author <a href="mailto:[EMAIL PROTECTED]">Hugo Pinto</a>
+* @version $Id: Main.java,v 1.5 2000/12/13 01:33:53 hugo Exp $
*/
public class Main
extends junit.framework.TestCase
@@ -552,6 +553,9 @@
System.out.println(++test+"- "+"Calling Business Method B(String) on
BMP... ");
System.out.println(bmpBean.callBusinessMethodB("of wisdom"));
+
+ System.out.println(++test+"- "+"calling remove() on BMP...");
+ bmpBean.remove();
System.out.println(++test+"- "+"calling findCollectionKeys....");
Collection pks = bmpHome.findCollectionKeys(3);