[jboss-cvs] JBossAS SVN: r105785 - branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/jacc/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Jun 7 15:57:13 EDT 2010
Author: clebert.suconic at jboss.com
Date: 2010-06-07 15:57:12 -0400 (Mon, 07 Jun 2010)
New Revision: 105785
Modified:
branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/jacc/test/WebIntegrationUnitTestCase.java
Log:
fixing test
Modified: branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/jacc/test/WebIntegrationUnitTestCase.java
===================================================================
--- branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/jacc/test/WebIntegrationUnitTestCase.java 2010-06-07 19:47:42 UTC (rev 105784)
+++ branches/JBPAPP_5_1/testsuite/src/main/org/jboss/test/jacc/test/WebIntegrationUnitTestCase.java 2010-06-07 19:57:12 UTC (rev 105785)
@@ -27,6 +27,7 @@
import junit.framework.TestSuite;
import org.jboss.test.JBossTestSetup;
+import org.jboss.test.util.jms.JMSDestinationsUtil;
/** Basic tests for web apps run under a JACC authorization manager
*
@@ -75,12 +76,14 @@
{
super.setUp();
ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ JMSDestinationsUtil.setupBasicDestinations();
redeploy("jbosstest-web.ear");
flushAuthCache("jbosstest-web");
}
protected void tearDown() throws Exception
{
undeploy("jbosstest-web.ear");
+ JMSDestinationsUtil.destroyDestinations();
super.tearDown();
}
};
More information about the jboss-cvs-commits
mailing list