Browse Source

hopefully make the tests pass in gump's module test-ant-no-xerces

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@917354 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 15 years ago
parent
commit
2b79ae4693
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/tests/junit/org/apache/tools/ant/taskdefs/optional/TraXLiaisonTest.java

+ 10
- 0
src/tests/junit/org/apache/tools/ant/taskdefs/optional/TraXLiaisonTest.java View File

@@ -51,6 +51,16 @@ public class TraXLiaisonTest extends AbstractXSLTLiaisonTest
}

public void testXalan2Redirect() throws Exception {
Class clazz = null;
try {
clazz = getClass().getClassLoader().loadClass("org.apache.xalan.lib.Redirect");
} catch (Exception exc) {
// ignore
}
if (clazz == null) {
System.out.println("xalan redirect is not on the classpath");
return;
}
File xsl = getFile("/taskdefs/optional/xalan-redirect-in.xsl");
liaison.setStylesheet(xsl);
File out = new File("xalan2-redirect-out-dummy.tmp");


Loading…
Cancel
Save