diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-01-24 14:21:46 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-01-24 14:21:46 +0000 |
commit | 499ce535625915cb4bf2e00b1801e4a6c3dd04b8 (patch) | |
tree | 3851749ec80f1777dd4f2ca96e11406a26a0d1bb /test | |
parent | ae5491af3cc873c6fa366674dd214450397adef6 (diff) | |
download | xmlgraphics-fop-499ce535625915cb4bf2e00b1801e4a6c3dd04b8.tar.gz xmlgraphics-fop-499ce535625915cb4bf2e00b1801e4a6c3dd04b8.zip |
Command-line support for the intermediate format: Use "-atin" to specify an area tree XML file.
Refactoring of the InputHandler to accomodate the IF as input format and to make responsibilities clearer in general.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@371922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/java/org/apache/fop/BasicDriverTestCase.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/java/org/apache/fop/BasicDriverTestCase.java b/test/java/org/apache/fop/BasicDriverTestCase.java index 100f1eaeb..c74ecaad9 100644 --- a/test/java/org/apache/fop/BasicDriverTestCase.java +++ b/test/java/org/apache/fop/BasicDriverTestCase.java @@ -110,11 +110,9 @@ public class BasicDriverTestCase extends AbstractFOPTestCase { File xmlFile = new File(getBaseDir(), "test/xml/1.xml"); File xsltFile = new File(getBaseDir(), "test/xsl/doc.xsl"); ByteArrayOutputStream baout = new ByteArrayOutputStream(); - Fop fop = new Fop(MimeConstants.MIME_PDF); - fop.setOutputStream(baout); InputHandler handler = new InputHandler(xmlFile, xsltFile, null); - handler.render(fop); + handler.renderTo(null, MimeConstants.MIME_PDF, baout); assertTrue("Generated PDF has zero length", baout.size() > 0); } |