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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 18 09:02:58 EDT 2010


Author: adrian at jboss.org
Date: 2010-03-18 09:02:58 -0400 (Thu, 18 Mar 2010)
New Revision: 102564

Modified:
   trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
Log:
Fix the smoke tests - there's probably other tests that need this change?

Modified: trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java	2010-03-18 12:42:25 UTC (rev 102563)
+++ trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java	2010-03-18 13:02:58 UTC (rev 102564)
@@ -30,6 +30,7 @@
 
 import org.jboss.test.JBossTestCase;
 import org.jboss.test.JBossTestSetup;
+import org.jboss.test.util.jms.JMSDestinationsUtil;
 import org.jboss.test.util.web.HttpUtils;
 import org.apache.commons.httpclient.HttpMethodBase;
 import org.apache.commons.httpclient.Header;
@@ -509,12 +510,14 @@
          protected void setUp() throws Exception
          {
             super.setUp();
+            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