Skip to content

Commit e8c41e3

Browse files
committed
PDFBOX-5797: revert accidentally committed parts
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922563 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5da7fe3 commit e8c41e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroFormTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@
5050
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary;
5151
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceEntry;
5252
import org.apache.pdfbox.rendering.TestPDFToImage;
53+
5354
import org.junit.jupiter.api.AfterEach;
5455
import org.junit.jupiter.api.BeforeEach;
5556
import org.junit.jupiter.api.Test;
5657
import org.junit.jupiter.api.Assertions;
57-
import static org.junit.jupiter.api.Assertions.fail;
5858

5959
/**
6060
* Test for the PDAcroForm class.
@@ -122,7 +122,7 @@ void testFlatten() throws IOException
122122
if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath()))
123123
{
124124
// don't fail, rendering is different on different systems, result must be viewed manually
125-
fail("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory");
125+
System.err.println("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory");
126126
}
127127

128128
}
@@ -156,7 +156,7 @@ void testFlattenWidgetNoRef() throws IOException
156156
if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath()))
157157
{
158158
// don't fail, rendering is different on different systems, result must be viewed manually
159-
fail("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory");
159+
System.err.println("Rendering of " + file + " failed or is not identical to expected rendering in " + IN_DIR + " directory");
160160
}
161161
}
162162

0 commit comments

Comments
 (0)