[jboss-cvs] JBossAS SVN: r57704 - projects/microcontainer/trunk/aop-mc-int

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 18 13:56:10 EDT 2006


Author: kabir.khan at jboss.com
Date: 2006-10-18 13:56:08 -0400 (Wed, 18 Oct 2006)
New Revision: 57704

Modified:
   projects/microcontainer/trunk/aop-mc-int/build-test.xml
Log:
Add one-test targets w/ security turned on

Modified: projects/microcontainer/trunk/aop-mc-int/build-test.xml
===================================================================
--- projects/microcontainer/trunk/aop-mc-int/build-test.xml	2006-10-18 16:58:20 UTC (rev 57703)
+++ projects/microcontainer/trunk/aop-mc-int/build-test.xml	2006-10-18 17:56:08 UTC (rev 57704)
@@ -366,6 +366,42 @@
       </junit>
    </target>
 
+   <target name="one-test-secure" depends="init"
+      description="Executes a specific test with weaving.">
+      <mkdir dir="${build.reports}"/>
+      <mkdir dir="${build.testlog}"/>
+      <!-- Remove the test.log so each run has a fresh log -->
+      <delete file="${build.testlog}/test.log"/>
+      <junit dir="${module.output}"
+         printsummary="yes"
+         haltonerror="false"
+         haltonfailure="false"
+         fork="true">
+
+			<sysproperty key="jboss.aop.exclude" value="org.jboss.,org.apache."/>
+			<sysproperty key="jboss.aop.include" value="org.jboss.test."/>
+         <sysproperty key="jboss-junit-configuration" value="weave-secure"/>
+         <sysproperty key="build.testlog" value="${build.testlog}"/>
+	      <sysproperty key="jboss.mc.secure" value="true"/>
+         <sysproperty key="java.system.class.loader" value="org.jboss.aop.standalone.SystemClassLoader"/>
+
+         <classpath>
+            <pathelement location="${build.lib}/${jar.prefix}.jar"/>
+            <path refid="javac.classpath"/>
+            <path refid="apache.xerces.classpath"/>
+         </classpath>
+
+         <formatter type="plain" usefile="true" extension="-weave-secure.txt"/>
+         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+                    usefile="true" extension="-weave-secure.xml"/>
+
+         <test todir="${build.reports}" name="${test}"
+               haltonerror="${junit.batchtest.haltonerror}"
+               haltonfailure="${junit.batchtest.haltonfailure}"
+               fork="${junit.batchtest.fork}"/>
+      </junit>
+   </target>
+
    <target name="one-test-no-weave" depends="init"
       description="Executes a specific test with no weaving.">
       <mkdir dir="${build.reports}"/>
@@ -398,4 +434,37 @@
       </junit>
    </target>
 
+   <target name="one-test-no-weave-secure" depends="init"
+      description="Executes a specific test with no weaving.">
+      <mkdir dir="${build.reports}"/>
+      <mkdir dir="${build.testlog}"/>
+      <!-- Remove the test.log so each run has a fresh log -->
+      <delete file="${build.testlog}/test.log"/>
+      <junit dir="${module.output}"
+         printsummary="yes"
+         haltonerror="false"
+         haltonfailure="false"
+         fork="true">
+
+         <sysproperty key="jboss-junit-configuration" value="no_weave-secure"/>
+         <sysproperty key="build.testlog" value="${build.testlog}"/>
+	      <sysproperty key="jboss.mc.secure" value="true"/>
+
+         <classpath>
+            <pathelement location="${build.lib}/${jar.prefix}.jar"/>
+            <path refid="javac.classpath"/>
+            <path refid="apache.xerces.classpath"/>
+         </classpath>
+
+         <formatter type="plain" usefile="true" extension="-no-weave-secure.txt"/>
+         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
+                    usefile="true" extension="-no-weave-secure.xml"/>
+
+         <test todir="${build.reports}" name="${test}"
+               haltonerror="${junit.batchtest.haltonerror}"
+               haltonfailure="${junit.batchtest.haltonfailure}"
+               fork="${junit.batchtest.fork}"/>
+      </junit>
+   </target>
+
 </project>




More information about the jboss-cvs-commits mailing list