[jboss-cvs] JBossAS SVN: r68147 - in trunk/testsuite: imports/sections and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 11 15:27:03 EST 2007
Author: anil.saldhana at jboss.com
Date: 2007-12-11 15:27:02 -0500 (Tue, 11 Dec 2007)
New Revision: 68147
Added:
trunk/testsuite/src/resources/web/WEB-INF/context.xml
Modified:
trunk/testsuite/build.xml
trunk/testsuite/imports/sections/web.xml
Log:
JBAS-3426: get the test case to at least run
Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml 2007-12-11 20:12:40 UTC (rev 68146)
+++ trunk/testsuite/build.xml 2007-12-11 20:27:02 UTC (rev 68147)
@@ -1417,6 +1417,9 @@
<server:start name="jacc"/>
+ <!-- ROOT.war is needed for confirmation that the server has started. But there is a test case "WebIntegrationUnitTestCase" that tries to replace the root context war. So delete the ROOT.war -->
+ <delete dir="${jboss.dist}/server/jacc/deploy/ROOT.war" />
+
<mkdir dir="${build.reports}"/>
<mkdir dir="${build.testlog}"/>
Modified: trunk/testsuite/imports/sections/web.xml
===================================================================
--- trunk/testsuite/imports/sections/web.xml 2007-12-11 20:12:40 UTC (rev 68146)
+++ trunk/testsuite/imports/sections/web.xml 2007-12-11 20:27:02 UTC (rev 68147)
@@ -26,6 +26,7 @@
<patternset refid="jboss.test.util.ejb.set"/>
<include name="org/jboss/test/web/interfaces/**"/>
<include name="org/jboss/test/web/ejb/**"/>
+ <include name="org/jboss/test/web/mock/**"/>
</fileset>
<fileset dir="${build.resources}/web">
<include name="META-INF/ejb-jar.xml"/>
@@ -132,6 +133,9 @@
</jar>
<war warfile="${build.lib}/jbosstest-web.war"
webxml="${build.resources}/web/WEB-INF/jbosstest-web.xml">
+ <webinf dir="${build.resources}/web/WEB-INF">
+ <include name="context.xml"/>
+ </webinf>
<webinf dir="${build.resources}/web/html/jbosstest/WEB-INF">
<include name="*"/>
</webinf>
Added: trunk/testsuite/src/resources/web/WEB-INF/context.xml
===================================================================
--- trunk/testsuite/src/resources/web/WEB-INF/context.xml (rev 0)
+++ trunk/testsuite/src/resources/web/WEB-INF/context.xml 2007-12-11 20:27:02 UTC (rev 68147)
@@ -0,0 +1,3 @@
+<!-- This context gives privileges mainly for the legacy Invoker Servlet -->
+<Context path="/jbosstest" privileged="true">
+</Context>
More information about the jboss-cvs-commits
mailing list