[jboss-cvs] JBossAS SVN: r90666 - in trunk/testsuite: imports/config and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Jun 28 08:39:55 EDT 2009


Author: pgier
Date: 2009-06-28 08:39:55 -0400 (Sun, 28 Jun 2009)
New Revision: 90666

Modified:
   trunk/testsuite/build.xml
   trunk/testsuite/imports/config/tests-clustering.xml
Log:
[JBBUILD-531] Add init dependencies so that references are available for tests.

Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml	2009-06-28 11:36:54 UTC (rev 90665)
+++ trunk/testsuite/build.xml	2009-06-28 12:39:55 UTC (rev 90666)
@@ -1135,13 +1135,13 @@
       <create-profileservice-config baseconf="all" conf="embedded"/>
    </target>
 	
-   <target name="tests-web-profile" description="Tests with the web profile">
+   <target name="tests-web-profile" depends="init" description="Tests with the web profile">
       <server:start name="web"/>
       <antcall target="run-web-profile-unit" inheritRefs="true"/>
       <server:stop name="web"/>
    </target>
    
-   <target name="tests-springdeployer" description="Tests with the full featured spring deployer">
+   <target name="tests-springdeployer" depends="init" description="Tests with the full featured spring deployer">
       <create-springdeployer-config baseconf="default" conf="springdeployer"/>
       <server:start name="springdeployer"/>
       <run-junit junit.patternset="springdeployer.includes" junit.configuration="springdeployer"/>
@@ -1153,7 +1153,7 @@
 
    <!-- Tests of tomcat needing a ssl connector
    -->
-   <target name="tomcat-ssl-tests"
+   <target name="tomcat-ssl-tests" depends="init"
       description="Tomcat tests requiring an SSL connector">
       <!-- Create the ssl enabled tomcat config -->
       <create-config baseconf="default" newconf="tomcat-ssl">
@@ -1193,7 +1193,7 @@
 
    <!-- Tests of tomcat requiring SSO configured
    -->
-   <target name="tomcat-sso-tests"
+   <target name="tomcat-sso-tests" depends="init"
       description="Tomcat tests requiring SSO configured">
       <!-- Create the sso enabled tomcat config starting with the default config -->
       <create-config baseconf="default" newconf="tomcat-sso">
@@ -1210,7 +1210,7 @@
       <server:stop name="tomcat-sso"/>
    </target>
 
-   <target name="tomcat-sso-clustered-tests"
+   <target name="tomcat-sso-clustered-tests" depends="init"
      description="Tomcat tests requiring clustered SSO configured">
     <!-- Create the sso enabled tomcat config starting with the all config -->
     <create-cluster-sso-node newconf="tomcat-sso-cluster0"/>
@@ -1235,7 +1235,7 @@
    </target>
 
 	 <!-- Tests that require the attribute "UseJBossWebLoader" set to true -->
-   <target name="tomcat-webctx-tests"
+   <target name="tomcat-webctx-tests" depends="init"
        description="Tomcat tests requiring classloader set to the web loader">
        <create-config baseconf="default" newconf="tomcat-webctx"
          newconf-src="tomcat-webctx">
@@ -1255,7 +1255,7 @@
 
    <!-- Tests of tomcat requiring Federation configured
    -->
-   <target name="tomcat-federation-tests"
+   <target name="tomcat-federation-tests" depends="init"
       description="Tomcat tests requiring Federation configured">
       <!-- Create the federation enabled tomcat config starting with the default config -->
       <create-config baseconf="default" newconf="tomcat-federation">
@@ -1285,7 +1285,7 @@
       <server:stop name="tomcat-federation"/>
    </target>
 
-   <target name="tests-binding-manager"
+   <target name="tests-binding-manager" depends="init"
      description="Test for clean startup with service binding manager">
    	
      <create-cluster-node conf="binding-manager1"/>
@@ -1303,7 +1303,7 @@
    <!--
      | Tests ejb calls using the jrmp invoker
    -->
-   <target name="jrmp-invoker-tests"
+   <target name="jrmp-invoker-tests" depends="init"
       description="EJB tests using the jrmp invoker">
       <!-- Create the jrmp invoker enabled config -->
       <create-config baseconf="default" newconf="jrmp-invoker">
@@ -1325,7 +1325,7 @@
    <!--
      | Tests ejb calls using the pooled invoker
    -->
-   <target name="pooled-invoker-tests"
+   <target name="pooled-invoker-tests" depends="init"
       description="EJB tests using the jrmp invoker">
       <!-- Create the jrmp invoker enabled config -->
       <create-config baseconf="default" newconf="pooled-invoker">
@@ -1699,7 +1699,7 @@
       | Standard security tests that should run successfully against a default
       | JBoss server distribution build.
     -->
-   <target name="tests-security-basic-unit">
+   <target name="tests-security-basic-unit" depends="init">
       <mkdir dir="${build.reports}"/>
       <mkdir dir="${build.testlog}"/>
       <property name="jbosstest.secure" value="true"/>
@@ -1715,7 +1715,7 @@
 
    <!-- Tests of Java2 permissions. The JBoss server must be running with
     a security manager for this test -->
-   <target name="tests-security-manager"
+   <target name="tests-security-manager" depends="init"
       description="Tests run against a jboss server with a security manager">
 
       <create-config baseconf="default" newconf="secmgr">
@@ -1785,7 +1785,7 @@
    </target>
 
    <!-- Tests of the JACC security implementation -->
-   <target name="tests-jacc-security"
+   <target name="tests-jacc-security" depends="init"
       description="Tests run against a jboss server with JACC configured">
       <!-- Create the ssl enabled tomcat config -->
       <create-config baseconf="default" newconf="jacc">
@@ -1845,7 +1845,7 @@
       <server:stop name="jacc"/>
    </target>
 
-   <target name="tests-jacc-securitymgr"
+   <target name="tests-jacc-securitymgr" depends="init"
      description="Tests run against a jboss server with JACC configured + security manager">
       <!-- Create the security manager enabled jacc -->
       <create-config baseconf="default" newconf="jacc-securitymgr" newconf-src="jacc">
@@ -1896,7 +1896,7 @@
      <server:stop name="jacc-securitymgr"/>
    </target>
 
-   <target name="tests-jacc-security-allstarrole"
+   <target name="tests-jacc-security-allstarrole" depends="init"
      description="Tests run against a jboss server with JACC configured + security manager">
       <!-- Create the security manager enabled jacc -->
       <create-config baseconf="default" newconf="jacc-security-allstarrole" newconf-src="jacc">
@@ -2729,7 +2729,7 @@
 
    
    <!-- The scoped AOP tests need a classloader hook -->
-   <target name="tests-aop-scoped"
+   <target name="tests-aop-scoped" depends="init"
       description="AOP tests requiring a native classloader hook">
 
       <!-- copy across the pluggable instrumentor -->
@@ -2750,7 +2750,7 @@
 
       <delete file="${jboss.dist}/bin/pluggable-instrumentor.jar"/>
    </target>
-   <target name="tests-aop-scoped-generated-advisor"
+   <target name="tests-aop-scoped-generated-advisor" depends="init"
       description="AOP tests requiring a native classloader hook for JDK 5.0">
 
       <!-- copy across the pluggable instrumentor -->
@@ -2806,7 +2806,7 @@
    <!-- ============================================= JBM Targets ============================= -->
 	
    <!--  Starts two servers, run few simultaneous tests, kill the server only once and get the results of all the tests  -->
-   <target name="tests-jbossmessaging-cluster"
+   <target name="tests-jbossmessaging-cluster" depends="init"
    	   description="Run JBM in cluster">
 
   	  <delete dir="${jboss.dist}/server/jbm-cluster1" />
@@ -2905,7 +2905,7 @@
    <!--
      | Run JMS tests against the Messaging JMS provider
    -->
-   <target name="tests-jbossmessaging"
+   <target name="tests-jbossmessaging" depends="init"
       description="Run JMS tests against the Messaging JMS provider">
 
       <!-- Create a separate messaging config -->
@@ -2925,7 +2925,7 @@
 
 
   <!-- Test the Messaging JMS provider -->
-  <target name="tests-jbossmessaging-unit">
+  <target name="tests-jbossmessaging-unit" depends="init">
     <mkdir dir="${build.reports}"/>
     <mkdir dir="${build.testlog}"/>
     <junit dir="${module.output}"
@@ -2976,7 +2976,7 @@
   
    <!-- ========================================= END JBM Targets ============================= -->
 
-  <target name="tests-classloader-leak">
+  <target name="tests-classloader-leak" depends="init">
 
     <mkdir dir="${build.reports}"/>
     <mkdir dir="${build.testlog}"/>

Modified: trunk/testsuite/imports/config/tests-clustering.xml
===================================================================
--- trunk/testsuite/imports/config/tests-clustering.xml	2009-06-28 11:36:54 UTC (rev 90665)
+++ trunk/testsuite/imports/config/tests-clustering.xml	2009-06-28 12:39:55 UTC (rev 90666)
@@ -309,7 +309,7 @@
     <http-cluster-node-config-change conf="cluster-field-${jboss-junit-configuration}-BR-1"/>
   </target> 
 
-  <target name="tests-clustered-classloader-leak">
+  <target name="tests-clustered-classloader-leak" depends="init">
 
 	 <mkdir dir="${build.reports}"/>
 	 <mkdir dir="${build.testlog}"/>
@@ -332,7 +332,7 @@
 	    
   </target>  
 
-  <target name="tests-clustered-profileservice">
+  <target name="tests-clustered-profileservice" depends="init">
 
 	 <mkdir dir="${build.reports}"/>
 	 <mkdir dir="${build.testlog}"/>




More information about the jboss-cvs-commits mailing list