diff options
author | Glen Mazza <gmazza@apache.org> | 2004-07-20 03:39:24 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-07-20 03:39:24 +0000 |
commit | 360f509474a210793d4449793d93aa119de6e17e (patch) | |
tree | 71d981c860ffdad98fd741ada268c8e78b2b864d /test/java/org/apache/fop/GenericFOPTestCase.java | |
parent | b1c93550a81a4fe1efdb21767913b52b2bf41d79 (diff) | |
download | xmlgraphics-fop-360f509474a210793d4449793d93aa119de6e17e.tar.gz xmlgraphics-fop-360f509474a210793d4449793d93aa119de6e17e.zip |
1.) render() methods moved from Driver to XSLTInputHandler and FOFileHandler.
2.) -param command line switch implemented for xml->xslt->pdf processes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/GenericFOPTestCase.java')
-rw-r--r-- | test/java/org/apache/fop/GenericFOPTestCase.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/java/org/apache/fop/GenericFOPTestCase.java b/test/java/org/apache/fop/GenericFOPTestCase.java index 85a5a4d44..39803329f 100644 --- a/test/java/org/apache/fop/GenericFOPTestCase.java +++ b/test/java/org/apache/fop/GenericFOPTestCase.java @@ -123,7 +123,8 @@ public final class GenericFOPTestCase extends TestCase { InputSource source = new InputSource(new StringReader(fo)); DigestFilter filter = new DigestFilter("MD5"); filter.setParent(parserFactory.newSAXParser().getXMLReader()); - driver.render(filter, source); + filter.setContentHandler(driver.getDefaultHandler()); + filter.parse(source); String digestInActual = digestToString(filter.getDigestValue()); if (!digestIn.equals(digestInActual)) { fail("input MD5: was " + digestInActual + ", expected " + digestIn); |