[jboss-cvs] jboss-ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit ...

Carlo de Wolf carlo at nerdnet.nl
Fri Jul 14 06:32:40 EDT 2006


  User: wolfc   
  Date: 06/07/14 06:32:40

  Modified:    src/test/org/jboss/ejb3/test/ejbcontext/unit 
                        EjbContextUnitTestCase.java
  Log:
  EJBTHREE-650: getInvokedBusinessInterface return type fixed
  
  Revision  Changes    Path
  1.7       +4 -4      jboss-ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EjbContextUnitTestCase.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-ejb3/src/test/org/jboss/ejb3/test/ejbcontext/unit/EjbContextUnitTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- EjbContextUnitTestCase.java	22 Jun 2006 20:53:15 -0000	1.6
  +++ EjbContextUnitTestCase.java	14 Jul 2006 10:32:40 -0000	1.7
  @@ -32,7 +32,7 @@
    * Comment
    *
    * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   public class EjbContextUnitTestCase
   extends JBossTestCase
  @@ -61,7 +61,7 @@
         Stateless stateless1 = (Stateless)getInitialContext().lookup("Stateless");
         Stateless stateless2 = (Stateless)getInitialContext().lookup("Stateless");
         
  -      Object interfc = stateless1.testInvokedBusinessInterface();
  +      Class interfc = stateless1.testInvokedBusinessInterface();
         assertEquals(interfc, Stateless.class);
         
         interfc = stateless2.testInvokedBusinessInterface();
  @@ -73,7 +73,7 @@
         assertEquals(interfc, Stateless.class);
         
         try{
  -         interfc = stateless1.testBusinessObject(Stateful.class);
  +         stateless1.testBusinessObject(Stateful.class);
            fail("IllegalStateException not thrown");
         }
         catch (javax.ejb.EJBException e)
  @@ -92,7 +92,7 @@
         Stateful stateful1 = (Stateful)getInitialContext().lookup("Stateful");
         StatefulRemote stateful2 = (StatefulRemote)getInitialContext().lookup("StatefulRemote");
         
  -      Object interfc = stateful1.testInvokedBusinessInterface();
  +      Class interfc = stateful1.testInvokedBusinessInterface();
         assertEquals(interfc, Stateful.class);
         
         interfc = stateful2.testInvokedBusinessInterface2();
  
  
  



More information about the jboss-cvs-commits mailing list