pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1850031 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java
Date Mon, 31 Dec 2018 10:42:54 GMT
Author: tilman
Date: Mon Dec 31 10:42:54 2018
New Revision: 1850031

URL: http://svn.apache.org/viewvc?rev=1850031&view=rev
Log:
PDFBOX-4416: check actual number

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java?rev=1850031&r1=1850030&r2=1850031&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/multipdf/PDFMergerUtilityTest.java
Mon Dec 31 10:42:54 2018
@@ -341,6 +341,7 @@ public class PDFMergerUtilityTest extend
         PDNameTreeNode<PDStructureElement> dstIDTree = dst.getDocumentCatalog().getStructureTreeRoot().getIDTree();
         Map<String, PDStructureElement> dstIDTreeMap = PDFMergerUtility.getIDTreeAsMap(dstIDTree);
         int expectedTotal = srcIDTreeMap.size() + dstIDTreeMap.size();
+        assertEquals(192, expectedTotal);
 
         pdfMergerUtility.appendDocument(dst, src);
         src.close();



Mime
View raw message