]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Make IFParserTestCase use the temporary, attributed MIME type for PDF (so the PDFPain...
authorJeremias Maerki <jeremias@apache.org>
Tue, 12 Aug 2008 12:55:29 +0000 (12:55 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 12 Aug 2008 12:55:29 +0000 (12:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685138 13f79535-47bb-0310-9956-ffa450edef68

test/java/org/apache/fop/intermediate/IFParserTestCase.java

index 4e5500298a850b7563910f22c483560adb6ddb9f..2803e26c58f4925e92dde7d3df87b54023b0e993 100644 (file)
@@ -34,6 +34,7 @@ import org.w3c.dom.Document;
 
 import org.apache.fop.apps.FOUserAgent;
 import org.apache.fop.apps.Fop;
+import org.apache.fop.apps.MimeConstants;
 import org.apache.fop.render.Renderer;
 import org.apache.fop.render.intermediate.IFPainter;
 import org.apache.fop.render.intermediate.IFParser;
@@ -53,6 +54,11 @@ public class IFParserTestCase extends AbstractIntermediateTestCase {
         super(testFile);
     }
 
+    /** {@inheritDoc} */
+    protected String getTargetMIME() {
+        return MimeConstants.MIME_PDF + ";mode=painter";
+    }
+
     /** {@inheritDoc} */
     protected String getIntermediateFileExtension() {
         return ".if.xml";