[jboss-cvs] JBossAS SVN: r62007 - trunk/testsuite/src/main/org/jboss/test/web/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Apr 2 16:47:15 EDT 2007
Author: scott.stark at jboss.org
Date: 2007-04-02 16:47:15 -0400 (Mon, 02 Apr 2007)
New Revision: 62007
Modified:
trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
Log:
Add the messaging/test-destinations-full-service.xml deployment
Modified: trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-04-02 20:23:58 UTC (rev 62006)
+++ trunk/testsuite/src/main/org/jboss/test/web/test/WebIntegrationUnitTestCase.java 2007-04-02 20:47:15 UTC (rev 62007)
@@ -456,13 +456,15 @@
protected void setUp() throws Exception
{
super.setUp();
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ deploy(loader.getResource(
+ "messaging/test-destinations-full-service.xml").toString());
redeploy("jbosstest-web.ear");
flushAuthCache("jbosstest-web");
}
protected void tearDown() throws Exception
{
undeploy("jbosstest-web.ear");
- super.tearDown();
try
{
@@ -478,6 +480,10 @@
catch(Exception e)
{
}
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ undeploy(loader.getResource(
+ "messaging/test-destinations-full-service.xml").toString());
+ super.tearDown();
}
};
More information about the jboss-cvs-commits
mailing list