ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs StyleTest.java
Date Mon, 21 Mar 2005 15:02:04 GMT
bodewig     2005/03/21 07:02:04

  Modified:    src/etc/testcases/taskdefs/style build.xml
               src/testcases/org/apache/tools/ant/taskdefs StyleTest.java
  Log:
  unit test for PR 25911
  
  Revision  Changes    Path
  1.6       +7 -0      ant/src/etc/testcases/taskdefs/style/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/style/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	21 Mar 2005 14:49:45 -0000	1.5
  +++ build.xml	21 Mar 2005 15:02:04 -0000	1.6
  @@ -77,6 +77,13 @@
              style="printParams.xsl"/>
     </target>
   
  +  <target name="testDirsWithSpaces">
  +    <mkdir dir="${out.dir}/s rc/"/>
  +    <copy file="data.xml" todir="${out.dir}/s rc/"/>
  +    <style basedir="${out.dir}/s rc" destdir="${out.dir}/d est"
  +           style="printParams.xsl"/>
  +  </target>
  +
     <target name="copyXsl" if="xsl.value">
         <copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true">
             <filterchain><expandproperties/></filterchain>
  
  
  
  1.14      +6 -0      ant/src/testcases/org/apache/tools/ant/taskdefs/StyleTest.java
  
  Index: StyleTest.java
  ===================================================================
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/StyleTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- StyleTest.java	21 Mar 2005 14:49:45 -0000	1.13
  +++ StyleTest.java	21 Mar 2005 15:02:04 -0000	1.14
  @@ -102,6 +102,12 @@
                      .exists());
       }
   
  +    public void testDirsWithSpaces() throws Exception {
  +        executeTarget("testDirsWithSpaces");
  +        assertTrue(getProject().resolveFile("out/d est/data.html")
  +                   .exists());
  +    }
  +
       // *************  copied from ConcatTest  *************
   
       // ------------------------------------------------------
  
  
  

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


Mime
View raw message