pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1711538 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java
Date Fri, 30 Oct 2015 18:44:01 GMT
Author: tilman
Date: Fri Oct 30 18:44:01 2015
New Revision: 1711538

URL: http://svn.apache.org/viewvc?rev=1711538&view=rev
Log:
PDFBOX-3068: add inactive test

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java?rev=1711538&r1=1711537&r2=1711538&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java
Fri Oct 30 18:44:01 2015
@@ -70,4 +70,19 @@ public class TestPDDocumentInformation e
             }
         }
     }
+    
+    /**
+     * PDFBOX-3068: test that indirect /Title element of /Info entry can be found.
+     * 
+     * @throws Exception 
+     */
+    public void testPDFBox3068() throws Exception
+    {
+        PDDocument doc = PDDocument.load(TestPDDocumentInformation.class.getResourceAsStream("PDFBOX-3068.pdf"));
+        PDDocumentInformation documentInformation = doc.getDocumentInformation();
+        //TODO uncomment after solving PDFBOX-3068
+        //assertEquals("Title", documentInformation.getTitle());
+        doc.close();
+    }
+    
 }



Mime
View raw message