User: mnf999  
  Date: 02/01/30 15:06:45

  Modified:    src/main/org/jboss/test/testbean/test BeanUnitTestCase.java
  Log:
  Fixed the rollback of transaction test, made no sense before (BMP was doing BMT when 
it can only be CMT)
  
  marcf
  
  Revision  Changes    Path
  1.9       +4 -1      
jbosstest/src/main/org/jboss/test/testbean/test/BeanUnitTestCase.java
  
  Index: BeanUnitTestCase.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/testbean/test/BeanUnitTestCase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BeanUnitTestCase.java     2002/01/29 22:00:06     1.8
  +++ BeanUnitTestCase.java     2002/01/30 23:06:44     1.9
  @@ -62,7 +62,7 @@
   *
   * @author <a href="mailto:[EMAIL PROTECTED]";>Marc Fleury</a>
   * @author <a href="mailto:[EMAIL PROTECTED]";>Hugo Pinto</a>
  -* @version $Id: BeanUnitTestCase.java,v 1.8 2002/01/29 22:00:06 d_jencks Exp $
  +* @version $Id: BeanUnitTestCase.java,v 1.9 2002/01/30 23:06:44 mnf999 Exp $
   */
   public class BeanUnitTestCase 
   extends JBossTestCase
  @@ -158,6 +158,9 @@
         
         getLog().debug(++test+"- Now trying from within the Session bean (to be able 
to rollback):");
         getLog().debug (session.doTest ());
  +      
  +      getLog().debug(++test+"- get name after rollback ");
  +      getLog().debug (session.doTestAfterRollback ());
         
         getLog().debug(++test+"- removing all beans");
         it = home.findAll ().iterator ();
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to