diff options
author | Jeremias Maerki <jeremias@apache.org> | 2008-07-28 08:07:55 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2008-07-28 08:07:55 +0000 |
commit | 38fa7d663044d27f20087a251b99d328e9cb19df (patch) | |
tree | 7d27c05552d4e6c98cb4ca28d55919b485fe95dc | |
parent | fecc2c5cb1c3f5487fd66af4f6dd173859810dae (diff) | |
download | xmlgraphics-fop-38fa7d663044d27f20087a251b99d328e9cb19df.tar.gz xmlgraphics-fop-38fa7d663044d27f20087a251b99d328e9cb19df.zip |
Some carriage returns for the debug output file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680281 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java b/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java index ddbf1c078..c8f1810de 100644 --- a/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java +++ b/test/java/org/apache/fop/intermediate/AbstractIntermediateTestCase.java @@ -25,6 +25,7 @@ import java.io.FileOutputStream; import java.io.OutputStream; import java.net.MalformedURLException; +import javax.xml.transform.OutputKeys; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Templates; @@ -138,6 +139,7 @@ public abstract class AbstractIntermediateTestCase extends XMLTestCase { */ protected void saveDOM(Document doc, File tgtFile) throws Exception { Transformer transformer = tFactory.newTransformer(); + transformer.setOutputProperty(OutputKeys.INDENT, "yes"); Source src = new DOMSource(doc); Result res = new StreamResult(tgtFile); transformer.transform(src, res); |