User: schaefera
  Date: 01/12/14 13:01:11

  Modified:    .        build.xml
  Log:
  Added a test suite to check the Scheduler (only one test added but
  there will come more).
  
  Revision  Changes    Path
  1.48      +52 -1     jbosstest/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/build.xml,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- build.xml 2001/12/12 20:11:53     1.47
  +++ build.xml 2001/12/14 21:01:10     1.48
  @@ -12,7 +12,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.47 2001/12/12 20:11:53 dsundstrom Exp $ -->
  +<!-- $Id: build.xml,v 1.48 2001/12/14 21:01:10 schaefera Exp $ -->
   
   <project default="main" name="JBoss/Testsuite">
   
  @@ -1507,6 +1507,7 @@
                tests-client-stress, 
                tests-security-basic-stress, 
                tests-jsr77-unit, 
  +             tests-util-unit, 
                tests-report">
     </target>
   
  @@ -1517,6 +1518,7 @@
                tests-client-unit, 
                tests-security-basic-unit, 
                tests-jsr77-unit, 
  +             tests-util-unit, 
                tests-report"/>
     
     <target name="tests-stress" description="Execute all stress tests."
  @@ -1856,6 +1858,55 @@
   
           <fileset dir="${build.classes}">
             <include name="**/test/management/test/**UnitTestCase.class"/>
  +        </fileset>
  +      </batchtest>
  +    </junit>
  +  </target>
  +
  +  <!-- 
  +     | Standard JBoss Util tests that should run successfully against a default
  +     | JBoss server distribution build.
  +   -->
  +
  +  <target name="tests-util-unit" depends="jars">
  +    <mkdir dir="${build.reports}"/>
  +    <mkdir dir="${build.testlog}"/>
  +    <junit dir="${module.output}"
  +        printsummary="${junit.printsummary}" 
  +        haltonerror="${junit.haltonerror}" 
  +        haltonfailure="${junit.haltonfailure}" 
  +        fork="${junit.fork}"
  +        timeout="${junit.timeout}"
  +        jvm="${junit.jvm}">
  +
  +      <jvmarg value="${junit.jvm.options}"/>
  +      <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
  +
  +      <jvmarg value="-Djava.security.manager"/>
  +      <jvmarg value="-Dsecurity.domain=test-domain"/>
  +      <sysproperty key="java.security.policy"
  +                value="${build.resources}/security/tst.policy"/>
  +      <sysproperty key="java.security.auth.login.config"
  +                   value="${build.resources}/security/auth.conf"/>
  +      <sysproperty key="log4j.properties" 
file="${build.resources}/log4j.properties"/>
  +       
  +      <classpath>
  +        <pathelement location="${build.classes}"/>
  +        <pathelement location="${build.resources}/security"/>
  +        <pathelement location="${build.resources}"/>
  +        <path refid="javac.classpath"/>
  +      </classpath>
  +
  +      <formatter type="${junit.formatter.type}"
  +              usefile="${junit.formatter.usefile}"/>
  +
  +      <batchtest todir="${build.reports}"
  +              haltonerror="${junit.batchtest.haltonerror}" 
  +              haltonfailure="${junit.batchtest.haltonfailure}" 
  +              fork="${junit.batchtest.fork}">
  +
  +        <fileset dir="${build.classes}">
  +          <include name="**/test/util/test/**UnitTestCase.class"/>
           </fileset>
         </batchtest>
       </junit>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to