You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2015/10/30 19:44:01 UTC
svn commit: r1711538 -
/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/TestPDDocumentInformation.java
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();
+ }
+
}