ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs FilterTest.java
Date Tue, 21 May 2002 13:09:06 GMT
bodewig     02/05/21 06:09:06

  Modified:    src/etc/testcases/taskdefs Tag: ANT_15_BRANCH filter.xml
               src/testcases/org/apache/tools/ant/taskdefs Tag:
                        ANT_15_BRANCH FilterTest.java
  Added:       src/etc/testcases/taskdefs Tag: ANT_15_BRANCH filter3.txt
                        filterdefs.properties
  Log:
  Additional testcase for <filter>.
  
  Submitted by:	David Stenglein <dave@sputnik7.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.5.2.1   +7 -0      jakarta-ant/src/etc/testcases/taskdefs/filter.xml
  
  Index: filter.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/etc/testcases/taskdefs/filter.xml,v
  retrieving revision 1.5
  retrieving revision 1.5.2.1
  diff -u -r1.5 -r1.5.2.1
  --- filter.xml	8 Jan 2002 09:46:26 -0000	1.5
  +++ filter.xml	21 May 2002 13:09:05 -0000	1.5.2.1
  @@ -42,6 +42,13 @@
       </copy>
     </target>
   
  +  <target name="test9">
  +    <filter filtersfile="filterdefs.properties" />
  +    <copy todir="./taskdefs.tmp" filtering="yes" overwrite="yes">
  +      <fileset dir="." includes="filter3.txt"/>
  +    </copy>
  +  </target>
  +
     <target name="cleanup">
       <delete dir="taskdefs.tmp" />
     </target>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +1 -0      jakarta-ant/src/etc/testcases/taskdefs/Attic/filter3.txt
  
  
  
  
  1.1.2.1   +1 -0      jakarta-ant/src/etc/testcases/taskdefs/Attic/filterdefs.properties
  
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.7.2.1   +6 -0      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/FilterTest.java
  
  Index: FilterTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/FilterTest.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- FilterTest.java	10 Jan 2002 10:13:12 -0000	1.7
  +++ FilterTest.java	21 May 2002 13:09:06 -0000	1.7.2.1
  @@ -119,6 +119,12 @@
                        getFilteredFile("8", "taskdefs.tmp/filter2.txt"));
       }
       
  +    public void test9() {
  +        executeTarget("test9");
  +        assertEquals("included",
  +                    getFilteredFile("9", "taskdefs.tmp/filter3.txt"));
  +    }
  +        
       private String getFilteredFile(String testNumber, String filteredFile) {
       
           String line = null;
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message