pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/branches/issue4569/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java?rev=1864258&r1=1864257&r2=1864258&view=diff
==============================================================================
--- pdfbox/branches/issue4569/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
(original)
+++ pdfbox/branches/issue4569/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormFlattenTest.java
Fri Aug  2 17:54:26 2019
@@ -209,6 +209,43 @@ 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