You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <project default="antunit" xmlns:au="antlib:org.apache.ant.antunit">
- <import file="../antunit-base.xml" />
-
- <target name="test-move-caseonly">
- <!-- this test is inspired by bugzilla 41948 -->
- <!-- Especially interesting if executed on case-insensitive file systems -->
- <touch file="${java.io.tmpdir}/abc"/>
- <move file="${java.io.tmpdir}/abc" tofile="${java.io.tmpdir}/aBc"/>
- <fileset dir="${java.io.tmpdir}" id="myfs">
- <include name="aBc"/>
- </fileset>
- <pathconvert refid="myfs" property="myproperty" setonempty="false"/>
- <au:assertPropertySet name="myproperty" message="abc was not renamed aBc"/>
- </target>
-
- <target name="tearDown">
- <delete file="${java.io.tmpdir}/aBc"/>
- </target>
- </project>
|