tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-tapestry/junit build.xml
Date Wed, 03 Dec 2003 15:47:24 GMT
ehatcher    2003/12/03 07:47:24

  Modified:    junit    build.xml
  Log:
  modify "junit" target to run Test* tests, rather than TapestrySuite.  also added handy trick
to run a single unit test - use 'ant -Dtestcase=<test case name>'
  
  Revision  Changes    Path
  1.33      +9 -2      jakarta-tapestry/junit/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/build.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- build.xml	2 Dec 2003 21:52:48 -0000	1.32
  +++ build.xml	3 Dec 2003 15:47:24 -0000	1.33
  @@ -85,7 +85,14 @@
   
             <batchtest todir="${classes.dir}" unless="testcase">
                 <fileset dir="${classes.dir}"
  -                  includes="**/*TapestrySuite.class"
  +                  includes="**/Test*.class"
  +                  excludes="**/*$$*.class"
  +              />
  +          </batchtest>
  +
  +          <batchtest todir="${classes.dir}" if="testcase">
  +              <fileset dir="${classes.dir}"
  +                  includes="**/${testcase}.class"
                 />
             </batchtest>
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message