[jboss-cvs] JBossAS SVN: r103946 - trunk/testsuite/src/main/org/jboss/test/jacc/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 13 23:28:56 EDT 2010


Author: clebert.suconic at jboss.com
Date: 2010-04-13 23:28:55 -0400 (Tue, 13 Apr 2010)
New Revision: 103946

Modified:
   trunk/testsuite/src/main/org/jboss/test/jacc/test/EJBSpecUnitTestCase.java
Log:
tweaks on test's destinations

Modified: trunk/testsuite/src/main/org/jboss/test/jacc/test/EJBSpecUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/jacc/test/EJBSpecUnitTestCase.java	2010-04-14 02:56:52 UTC (rev 103945)
+++ trunk/testsuite/src/main/org/jboss/test/jacc/test/EJBSpecUnitTestCase.java	2010-04-14 03:28:55 UTC (rev 103946)
@@ -27,6 +27,7 @@
 import junit.framework.TestSuite;
 import junit.extensions.TestSetup;
 import org.jboss.test.JBossTestSetup;
+import org.jboss.test.util.jms.JMSDestinationsUtil;
 import org.jboss.security.auth.login.XMLLoginConfigImpl;
 
 /** Test of EJB spec conformace using the security-spec.jar
@@ -94,6 +95,7 @@
          protected void setUp() throws Exception
          {
             super.setUp();
+            JMSDestinationsUtil.destroyEveryDestination();
             Configuration.setConfiguration(XMLLoginConfigImpl.getInstance());
             redeploy("security-spec.jar");
             flushAuthCache();
@@ -101,6 +103,7 @@
          protected void tearDown() throws Exception
          {
             undeploy("security-spec.jar");
+            JMSDestinationsUtil.destroyEveryDestination();
             super.tearDown();
          
          }




More information about the jboss-cvs-commits mailing list