aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-07-25 17:04:44 +0000
committerGlen Mazza <gmazza@apache.org>2004-07-25 17:04:44 +0000
commitd918e59ad096f78692e1177646e719110762aea9 (patch)
treef1f6b81d618ef126ee72fe53bdc683f2971a83b0 /test
parent11c7751e99bb7c57b359da3b55b66f8c6013b5b8 (diff)
downloadxmlgraphics-fop-d918e59ad096f78692e1177646e719110762aea9.tar.gz
xmlgraphics-fop-d918e59ad096f78692e1177646e719110762aea9.zip
Took advantage of the Transformer similarities between FO input and
(XSL, XSLT) input to combine the two into InputHandler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197840 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/java/org/apache/fop/BasicDriverTestCase.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/BasicDriverTestCase.java b/test/java/org/apache/fop/BasicDriverTestCase.java
index d1c2f2d9e..e6dc07d27 100644
--- a/test/java/org/apache/fop/BasicDriverTestCase.java
+++ b/test/java/org/apache/fop/BasicDriverTestCase.java
@@ -37,7 +37,6 @@ import org.xml.sax.InputSource;
import org.apache.commons.io.output.ByteArrayOutputStream;
import org.apache.fop.apps.Fop;
import org.apache.fop.apps.InputHandler;
-import org.apache.fop.apps.XSLTInputHandler;
import org.w3c.dom.Document;
/**
@@ -151,7 +150,7 @@ public class BasicDriverTestCase extends AbstractFOPTestCase {
Fop fop = new Fop(Fop.RENDER_PDF);
fop.setOutputStream(baout);
- InputHandler handler = new XSLTInputHandler(xmlFile, xsltFile, null);
+ InputHandler handler = new InputHandler(xmlFile, xsltFile, null);
handler.render(fop);
assertTrue("Generated PDF has zero length", baout.size() > 0);