From e8c41e339625c2128794ea6c40f56841047e3377 Mon Sep 17 00:00:00 2001 From: Tilman Hausherr Date: Tue, 17 Dec 2024 11:28:07 +0000 Subject: [PATCH] PDFBOX-5797: revert accidentally committed parts git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922563 13f79535-47bb-0310-9956-ffa450edef68 --- .../pdfbox/pdmodel/interactive/form/PDAcroFormTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormTest.java b/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormTest.java index 13a7ddf910e..bf3920d2ed2 100644 --- a/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormTest.java +++ b/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormTest.java @@ -50,11 +50,11 @@ import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary; import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceEntry; import org.apache.pdfbox.rendering.TestPDFToImage; + import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Assertions; -import static org.junit.jupiter.api.Assertions.fail; /** * Test for the PDAcroForm class. @@ -122,7 +122,7 @@ void testFlatten() throws IOException if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath())) { // don't fail, rendering is different on different systems, result must be viewed manually - fail("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory"); + System.err.println("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory"); } } @@ -156,7 +156,7 @@ void testFlattenWidgetNoRef() throws IOException if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath())) { // don't fail, rendering is different on different systems, result must be viewed manually - fail("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory"); + System.err.println("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory"); } }