pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1864257 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
Date Fri, 02 Aug 2019 17:54:19 GMT
Author: tilman
Date: Fri Aug  2 17:54:19 2019
New Revision: 1864257

URL: http://svn.apache.org/viewvc?rev=1864257&view=rev
Log:
PDFBOX-4615: add tests

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java?rev=1864257&r1=1864256&r2=1864257&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
Fri Aug  2 17:54:19 2019
@@ -208,6 +208,42 @@ public class PDAcroFormFlattenTest {
 		
 		flattenAndCompare(sourceUrl, targetFileName);        
     }
+
+    /**
+     * PDFBOX-4157 Filled template.
+     */
+    // @Test
+    public void testFlattenPDFBox4157() throws IOException
+    {
+        String sourceUrl = "https://issues.apache.org/jira/secure/attachment/12976553/PDFBOX-4157-filled.pdf";
+        String targetFileName = "PDFBOX-4157-filled.pdf";
+
+        flattenAndCompare(sourceUrl, targetFileName);
+    }
+
+    /**
+     * PDFBOX-4172 Filled template.
+     */
+    // @Test
+    public void testFlattenPDFBox4172() throws IOException
+    {
+        String sourceUrl = "https://issues.apache.org/jira/secure/attachment/12976552/PDFBOX-4172-filled.pdf";
+        String targetFileName = "PDFBOX-4172-filled.pdf";
+
+        flattenAndCompare(sourceUrl, targetFileName);
+    }
+
+    /**
+     * PDFBOX-4615 Filled template.
+     */
+    // @Test
+    public void testFlattenPDFBox4615() throws IOException
+    {
+        String sourceUrl = "https://issues.apache.org/jira/secure/attachment/12976452/resetboundingbox-filled.pdf";
+        String targetFileName = "PDFBOX-4615-filled.pdf";
+
+        flattenAndCompare(sourceUrl, targetFileName);
+    }
 	
 	/*
 	 * Flatten and compare with generated image samples.



Mime
View raw message