From commits-return-15260-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Fri Aug 2 17:54:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id F18A5180647 for ; Fri, 2 Aug 2019 19:54:27 +0200 (CEST) Received: (qmail 54239 invoked by uid 500); 2 Aug 2019 17:54:27 -0000 Mailing-List: contact commits-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list commits@pdfbox.apache.org Received: (qmail 54230 invoked by uid 99); 2 Aug 2019 17:54:27 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Aug 2019 17:54:27 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 8705F3A0A32 for ; Fri, 2 Aug 2019 17:54:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@pdfbox.apache.org From: tilman@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20190802175426.8705F3A0A32@svn01-us-west.apache.org> 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. */