Browse Source

remove references to alpha - add in x.y.z tests

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@409552 13f79535-47bb-0310-9956-ffa450edef68
master
Kevin Jackson 19 years ago
parent
commit
72a3c74f5e
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      src/etc/testcases/taskdefs/conditions/antversion.xml

+ 10
- 10
src/etc/testcases/taskdefs/conditions/antversion.xml View File

@@ -5,10 +5,10 @@
<fail>
<condition>
<not>
<antversion atleast="1.7alpha" />
<antversion atleast="1.7" />
</not>
</condition>
Should be at least 1.7alpha
Should be at least 1.7
</fail>
</target>
@@ -16,34 +16,34 @@
<fail>
<condition>
<not>
<antversion exactly="1.7alpha" />
<antversion exactly="1.7" />
</not>
</condition>
Should be exactly 1.7alpha
Should be exactly 1.7
</fail>
</target>
<target name="testatleastfail">
<property name="version" value="1.8" />
<property name="version" value="1.8.9" />
<fail>
<condition>
<not>
<antversion atleast="1.9" />
<antversion atleast="1.9.0" />
</not>
</condition>
Should be at least 1.9
Should be at least 1.9.0
</fail>
</target>
<target name="testexactlyfail">
<property name="version" value="1.8" />
<property name="version" value="1.8.0" />
<fail>
<condition>
<not>
<antversion exactly="1.9" />
<antversion exactly="1.9.0" />
</not>
</condition>
Should be exactly 1.9
Should be exactly 1.9.0
</fail>
</target>
</project>

Loading…
Cancel
Save