Browse Source

testAdapterNotFound was failing in gump because the adapter in the gump environment is systematically on the classpath

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1077808 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 14 years ago
parent
commit
ad08d0cbc9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/tests/antunit/taskdefs/optional/native2ascii-test.xml

+ 3
- 1
src/tests/antunit/taskdefs/optional/native2ascii-test.xml View File

@@ -36,7 +36,9 @@ public class Adapter implements Native2AsciiAdapter {
<javac srcdir="${input}" destdir="${resources}"/>
</target>

<target name="testAdapterNotFound" depends="-create-native2ascii-adapter">
<target name="testAdapterNotFound" depends="-create-native2ascii-adapter" unless="build.sysclasspath.only">
<!-- under gump the failure will not happen because the ${resources} directory is systematically on the classpath
what would be cool would be a task which removes a path element from the classpath. Do we have that ? -->
<au:expectfailure>
<native2ascii src="${input}" dest="${output}" includes="**/*.java"
implementation="org.example.Adapter"/>


Loading…
Cancel
Save