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

[email protected]
Newsgroups gmane.text.xml.fop.cvs
Message-ID <[email protected]>
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>>"));
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.