From: Anil S. <ani...@jb...> - 2006-05-26 15:08:26
|
User: asaldhana Date: 06/05/26 11:08:20 Modified: jbosstest build.xml Log: JBAS-2634: seperate test configuration called "jaspi" used Revision Changes Path 1.573 +51 -9 jbosstest/build.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.572 retrieving revision 1.573 diff -u -b -r1.572 -r1.573 --- build.xml 23 May 2006 20:23:54 -0000 1.572 +++ build.xml 26 May 2006 15:08:20 -0000 1.573 @@ -10,7 +10,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.572 2006/05/23 20:23:54 asaldhana Exp $ --> +<!-- $Id: build.xml,v 1.573 2006/05/26 15:08:20 asaldhana Exp $ --> <project default="main" name="JBoss/Testsuite" xmlns:server="http://jboss.org/ns/test/ant/server"> @@ -662,6 +662,7 @@ <patternset id="security.jaspi.includes"> <include name="**/test/security/container/auth/**/*TestCase.class"/> <include name="**/test/security/managers/**/*TestCase.class"/> + <include name="org/jboss/test/web/test/JASPIFormAuthUnitTestCase.class"/> </patternset> <patternset id="stax.include"> <include name="org/jboss/test/stax/**/*TestCase.class"/> @@ -2217,13 +2218,54 @@ </target> <!-- - | JSR196 Based Unit Tests that should run successfully against a default - | JBoss server distribution build. + | JSR196 Based Unit Tests --> - <target name="tests-security-jaspi-unit"> + <target name="tests-security-jaspi-unit" + description="Tests run against a jboss server with jaspi configured"> + <create-config baseconf="default" newconf="jaspi"> + <patternset> + <include name="conf/**"/> + <include name="deploy/hsqldb-ds.xml"/> + <include name="deploy/jbossweb*.sar/**"/> + <include name="deploy/jbossws.sar/**"/> + <include name="deploy/jbossws14.sar/**"/> + <include name="deploy/client-deployer-service.xml"/> + <include name="deploy/ear-deployer.xml"/> + <include name="deploy/ejb-deployer.xml"/> + <include name="deploy/jmx-invoker-service.xml"/> + <include name="deploy/jmx-console.war/**"/> + <include name="deploy/jbossjca-service.xml"/> + <include name="deploy/jboss-local-jdbc.rar"/> + <include name="deploy/mail-service.xml"/> + <include name="deploy/jms/**"/> + <include name="deploy/jboss-aop.deployer/**"/> + <include name="deploy/jboss-aop-jdk50.deployer/**"/> + <include name="deploy/ejb3-interceptors-aop.xml"/> + <include name="deploy/ejb3.deployer/**"/> + <include name="lib/**"/> + </patternset> + </create-config> + <server:start name="jaspi"/> + <mkdir dir="${build.reports}"/> <mkdir dir="${build.testlog}"/> + + + <property name="jbosstest.secure" value="true"/> + <property name="java.security.auth.login.config" + value="${build.resources}/security/auth.conf"/> + <propertyset id="jacc-tests-props"> + <propertyref prefix="java.security.auth"/> + </propertyset> + + <propertyset id="jacc-tests-props"> + <propertyref prefix="java.security.auth"/> + <propertyref prefix="jboss.security"/> + </propertyset> + <run-junit junit.patternset="security.jaspi.includes" /> + + <server:stop name="jaspi"/> </target> <target name="tests-standalone-aop-unit"> |