[jboss-cvs] JBossAS SVN: r101312 - branches/Branch_Hornet_Temporary_2/testsuite/src/main/org/jboss/test/client/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 23 00:38:07 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-02-23 00:38:06 -0500 (Tue, 23 Feb 2010)
New Revision: 101312

Modified:
   branches/Branch_Hornet_Temporary_2/testsuite/src/main/org/jboss/test/client/test/AppClientUnitTestCase.java
Log:
fixing tests

Modified: branches/Branch_Hornet_Temporary_2/testsuite/src/main/org/jboss/test/client/test/AppClientUnitTestCase.java
===================================================================
--- branches/Branch_Hornet_Temporary_2/testsuite/src/main/org/jboss/test/client/test/AppClientUnitTestCase.java	2010-02-23 05:35:17 UTC (rev 101311)
+++ branches/Branch_Hornet_Temporary_2/testsuite/src/main/org/jboss/test/client/test/AppClientUnitTestCase.java	2010-02-23 05:38:06 UTC (rev 101312)
@@ -32,6 +32,7 @@
 import org.jboss.test.client.test.main.Client;
 import org.jboss.test.cts.interfaces.StatelessSession;
 import org.jboss.test.cts.interfaces.StatelessSessionHome;
+import org.jboss.test.util.jms.JMSDestinationsUtil;
 import org.jboss.test.JBossTestCase;
 import org.jboss.test.JBossTestSetup;
 
@@ -148,6 +149,7 @@
          {
             super.setUp();
             ClassLoader loader = Thread.currentThread().getContextClassLoader();
+            JMSDestinationsUtil.setupBasicDestinations();
             deploy ("app-client.ear");
          }
          protected void tearDown() throws Exception
@@ -155,6 +157,7 @@
             super.tearDown();
             ClassLoader loader = Thread.currentThread().getContextClassLoader();
             undeploy ("app-client.ear");
+            JMSDestinationsUtil.destroyDestinations();
          }
       });
 




More information about the jboss-cvs-commits mailing list