[jboss-cvs] JBossAS SVN: r60510 - branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree751/unit.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Feb 13 11:29:50 EST 2007
Author: wolfc
Date: 2007-02-13 11:29:49 -0500 (Tue, 13 Feb 2007)
New Revision: 60510
Modified:
branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree751/unit/FailLocalRemoteSameInterfaceUnitTestCase.java
Log:
Fixed test
Modified: branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree751/unit/FailLocalRemoteSameInterfaceUnitTestCase.java
===================================================================
--- branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree751/unit/FailLocalRemoteSameInterfaceUnitTestCase.java 2007-02-13 16:01:25 UTC (rev 60509)
+++ branches/Branch_4_2/ejb3/src/test/org/jboss/ejb3/test/ejbthree751/unit/FailLocalRemoteSameInterfaceUnitTestCase.java 2007-02-13 16:29:49 UTC (rev 60510)
@@ -53,7 +53,14 @@
public void testDeploymentFailure() throws Exception
{
- redeploy("ejbthree751-fail.jar");
- fail("should throw an exception");
+ try
+ {
+ redeploy("ejbthree751-fail.jar");
+ fail("should throw an exception");
+ }
+ catch(Exception e)
+ {
+ // TODO: check exception
+ }
}
}
More information about the jboss-cvs-commits
mailing list