From: Scott M S. <st...@us...> - 2003-08-24 18:18:53
|
User: starksm Date: 03/08/24 11:18:52 Modified: src/main/org/jboss/test/naming/test Tag: Branch_3_2 InternalNamingClassReplacementUnitTestCase.java Log: Override the testEjbNames testcase Revision Changes Path No revision No revision 1.3.2.2 +28 -6 jbosstest/src/main/org/jboss/test/naming/test/InternalNamingClassReplacementUnitTestCase.java Index: InternalNamingClassReplacementUnitTestCase.java =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/naming/test/InternalNamingClassReplacementUnitTestCase.java,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -u -r1.3.2.1 -r1.3.2.2 --- InternalNamingClassReplacementUnitTestCase.java 13 Jul 2003 08:55:00 -0000 1.3.2.1 +++ InternalNamingClassReplacementUnitTestCase.java 24 Aug 2003 18:18:52 -0000 1.3.2.2 @@ -8,7 +8,6 @@ package org.jboss.test.naming.test; import junit.framework.Test; -import junit.framework.TestCase; import junit.framework.TestSuite; /** @@ -24,10 +23,11 @@ * Created: Wed Apr 17 09:34:15 2002 * * @author <a href="mailto:d_j...@us...">David Jencks</a> - * @version + * @author Sco...@jb... + * @version $Revision: 1.3.2.2 $ */ - -public class InternalNamingClassReplacementUnitTestCase extends EjbLinkUnitTestCase +public class InternalNamingClassReplacementUnitTestCase + extends EjbLinkUnitTestCase { public InternalNamingClassReplacementUnitTestCase(String name) { @@ -183,5 +183,27 @@ } } - -}// InternalNamingClassReplacementUnitTestCase + public void testEjbNames() throws Exception + { + try + { + deploy("naming.ear"); + super.testEjbNames(); + } + finally + { + undeploy("naming.ear"); + } + + try + { + deploy("naming.ear"); + super.testEjbNames(); + } + finally + { + undeploy("naming.ear"); + } + } + +} |