diff options
Diffstat (limited to 'test/java/org')
-rw-r--r-- | test/java/org/apache/fop/URIResolutionTestCase.java | 2 | ||||
-rw-r--r-- | test/java/org/apache/fop/layoutengine/LayoutEngineTester.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/URIResolutionTestCase.java b/test/java/org/apache/fop/URIResolutionTestCase.java index a6d5a4191..7eb79ec38 100644 --- a/test/java/org/apache/fop/URIResolutionTestCase.java +++ b/test/java/org/apache/fop/URIResolutionTestCase.java @@ -153,7 +153,7 @@ public class URIResolutionTestCase extends AbstractFOPTestCase { XMLRenderer atrenderer = new XMLRenderer(); atrenderer.setUserAgent(ua); - atrenderer.setTransformerHandler(athandler); + atrenderer.setContentHandler(athandler); ua.setRendererOverride(atrenderer); Fop fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua); diff --git a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java b/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java index 76e77442c..dce5b9adf 100644 --- a/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java +++ b/test/java/org/apache/fop/layoutengine/LayoutEngineTester.java @@ -132,7 +132,7 @@ public class LayoutEngineTester { ua.setBaseURL(testFile.getParentFile().toURL().toString()); XMLRenderer atrenderer = new XMLRenderer(); atrenderer.setUserAgent(ua); - atrenderer.setTransformerHandler(athandler); + atrenderer.setContentHandler(athandler); ua.setRendererOverride(atrenderer); fop = new Fop(MimeConstants.MIME_FOP_AREA_TREE, ua); |