[jboss-cvs] JBossAS SVN: r71132 - projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/test/ejbthree1222/unit.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 21 02:42:26 EDT 2008
Author: ALRubinger
Date: 2008-03-21 02:42:26 -0400 (Fri, 21 Mar 2008)
New Revision: 71132
Modified:
projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/test/ejbthree1222/unit/RegularRemoveMethodUnitTestCase.java
Log:
[EJBTHREE-1222] Renamed test method, cleared up failure error message
Modified: projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/test/ejbthree1222/unit/RegularRemoveMethodUnitTestCase.java
===================================================================
--- projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/test/ejbthree1222/unit/RegularRemoveMethodUnitTestCase.java 2008-03-21 06:17:41 UTC (rev 71131)
+++ projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/test/ejbthree1222/unit/RegularRemoveMethodUnitTestCase.java 2008-03-21 06:42:26 UTC (rev 71132)
@@ -58,7 +58,7 @@
* Tests that a call to an unannotated "void remove()"
* method is a traditional call
*/
- public void testHasBeenIntercepted() throws Exception
+ public void testNormalMethodNamedRemove() throws Exception
{
// Lookup Bean
TestStatefulWithRemoveMethodRemote bean = (TestStatefulWithRemoveMethodRemote) this.getInitialContext().lookup(
@@ -86,7 +86,7 @@
catch (NoSuchEJBException nsee)
{
// "void remove()" should not have been handled as EJB2.1 call
- TestCase.fail(nsee.getMessage());
+ TestCase.fail("Bean should not have been removed: " + nsee.getMessage());
}
}
More information about the jboss-cvs-commits
mailing list