aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2006-01-27 20:24:15 +0000
committerSimon Pepping <spepping@apache.org>2006-01-27 20:24:15 +0000
commit8f160a6bf6550761eaddaca0bccbfe0380ee6876 (patch)
tree98eeaf3c03488c2c819e3bd20571acfa31bbdebd /test
parentabebe36d9a0adce5795b86bb359882104757553d (diff)
downloadxmlgraphics-fop-8f160a6bf6550761eaddaca0bccbfe0380ee6876.tar.gz
xmlgraphics-fop-8f160a6bf6550761eaddaca0bccbfe0380ee6876.zip
Change TransformerHandler to ContentHandler. Use comment method when
available. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372971 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java b/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java
index 637966580..245dc25eb 100644
--- a/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java
+++ b/test/java/org/apache/fop/intermediate/AreaTreeParserTestCase.java
@@ -192,7 +192,7 @@ public class AreaTreeParserTestCase extends XMLTestCase {
XMLRenderer renderer = new XMLRenderer();
renderer.mimicRenderer(targetRenderer);
- renderer.setTransformerHandler(handler);
+ renderer.setContentHandler(handler);
renderer.setUserAgent(userAgent);
userAgent.setRendererOverride(renderer);
@@ -223,7 +223,7 @@ public class AreaTreeParserTestCase extends XMLTestCase {
DOMResult domResult = new DOMResult();
handler.setResult(domResult);
XMLRenderer renderer = new XMLRenderer();
- renderer.setTransformerHandler(handler);
+ renderer.setContentHandler(handler);
FOUserAgent userAgent = createUserAgent();
userAgent.setRendererOverride(renderer);