You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ss...@apache.org on 2016/07/19 14:42:06 UTC

svn commit: r1753397 - /xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java

Author: ssteiner
Date: Tue Jul 19 14:42:06 2016
New Revision: 1753397

URL: http://svn.apache.org/viewvc?rev=1753397&view=rev
Log:
FOP-2625: Test Allow Attachments for PDF/A-3

Modified:
    xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java

Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java?rev=1753397&r1=1753396&r2=1753397&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java (original)
+++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/pdf/PDFAttachmentTestCase.java Tue Jul 19 14:42:06 2016
@@ -54,7 +54,8 @@ public class PDFAttachmentTestCase {
         docHandler.getDocumentNavigationHandler().renderLink(new Link(
                 new URIAction("embedded-file:filename", false), new Rectangle()));
         docHandler.endDocument();
-        Assert.assertTrue(out.toString().contains("<<\n  /Type /Filespec\n  /F (filename)"));
+        Assert.assertTrue(out.toString().contains(
+                "<<\n  /Type /Filespec\n  /F (filename)\n  /UF (filename)\n  /AFRelationship /Data"));
         Assert.assertTrue(out.toString().contains("<<\n/S /JavaScript\n"
                 + "/JS (this.exportDataObject({cName:\"filename\", nLaunch:2});)\n>>"));
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org