diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-08-13 06:56:32 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-08-13 06:56:32 +0000 |
commit | 4f59ee68009fe338e969064e37673a36a3055186 (patch) | |
tree | de9f9edd2434779a55aa486026b950c058dec89f /test/java/org/apache/fop/layoutengine | |
parent | 4f69c95ae92d2de6a00077fd1610cef458fdb5fe (diff) | |
download | xmlgraphics-fop-4f59ee68009fe338e969064e37673a36a3055186.tar.gz xmlgraphics-fop-4f59ee68009fe338e969064e37673a36a3055186.zip |
Removed temporary debug code.
Switched tests to changed namespace URI for document navigation.
Added IF checks for fox:destionation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685466 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/java/org/apache/fop/layoutengine')
-rw-r--r-- | test/java/org/apache/fop/layoutengine/EvalCheck.java | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/test/java/org/apache/fop/layoutengine/EvalCheck.java b/test/java/org/apache/fop/layoutengine/EvalCheck.java index 01804d55e..32d9e689b 100644 --- a/test/java/org/apache/fop/layoutengine/EvalCheck.java +++ b/test/java/org/apache/fop/layoutengine/EvalCheck.java @@ -62,7 +62,7 @@ public class EvalCheck implements LayoutEngineCheck, IFCheck { if (nd != null) { this.tolerance = Double.parseDouble(nd.getNodeValue()); } - this.prefixResolver = new MyPrefixResolver(new PrefixResolverDefault(node)); + this.prefixResolver = new PrefixResolverDefault(node); } /** {@inheritDoc} */ @@ -105,40 +105,4 @@ public class EvalCheck implements LayoutEngineCheck, IFCheck { return "XPath: " + xpath; } - private static class MyPrefixResolver implements PrefixResolver { - - private PrefixResolver delegate; - - public MyPrefixResolver(PrefixResolver delegate) { - this.delegate = delegate; - } - - /** {@inheritDoc} */ - public String getBaseIdentifier() { - String s = delegate.getBaseIdentifier(); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public String getNamespaceForPrefix(String prefix) { - String s = delegate.getNamespaceForPrefix(prefix); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public String getNamespaceForPrefix(String prefix, Node context) { - String s = delegate.getNamespaceForPrefix(prefix, context); - System.out.println(s); - return s; - } - - /** {@inheritDoc} */ - public boolean handlesNullPrefixes() { - return delegate.handlesNullPrefixes(); - } - - } - } |