[Jboss-cvs] JBossAS SVN: r56533 - trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Sep 3 17:58:48 EDT 2006


Author: bdecoste
Date: 2006-09-03 17:58:47 -0400 (Sun, 03 Sep 2006)
New Revision: 56533

Modified:
   trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java
Log:
test no longer valid for rebind()

Modified: trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java
===================================================================
--- trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java	2006-09-03 21:47:31 UTC (rev 56532)
+++ trunk/ejb3/src/test/org/jboss/ejb3/test/naming/unit/BindFailureTestCase.java	2006-09-03 21:58:47 UTC (rev 56533)
@@ -53,7 +53,8 @@
       {
 // test was originally to catch redeploying with the same jndi name, but now we are
 // using rebind instead of bind
-//         this.redeploy("bind-failure-test.jar");
+         this.redeploy("bind-failure-test.jar");
+         this.redeploy("bind-failure-test.jar");
 //         fail();
       } catch (Exception e)
       {
@@ -62,14 +63,13 @@
          fail();
       }
       
- //     this.undeploy("bind-failure-test.jar");
+      this.undeploy("bind-failure-test.jar");
       
    }
 
    public static Test suite() throws Exception
    {
       TestSuite suite = new TestSuite();
-      suite.addTest(new TestSuite(BindFailureTestCase.class));
       return suite;
    }
 




More information about the jboss-cvs-commits mailing list