|
50 | 50 | import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary; |
51 | 51 | import org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceEntry; |
52 | 52 | import org.apache.pdfbox.rendering.TestPDFToImage; |
| 53 | + |
53 | 54 | import org.junit.jupiter.api.AfterEach; |
54 | 55 | import org.junit.jupiter.api.BeforeEach; |
55 | 56 | import org.junit.jupiter.api.Test; |
56 | 57 | import org.junit.jupiter.api.Assertions; |
57 | | -import static org.junit.jupiter.api.Assertions.fail; |
58 | 58 |
|
59 | 59 | /** |
60 | 60 | * Test for the PDAcroForm class. |
@@ -122,7 +122,7 @@ void testFlatten() throws IOException |
122 | 122 | if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath())) |
123 | 123 | { |
124 | 124 | // 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"); |
126 | 126 | } |
127 | 127 |
|
128 | 128 | } |
@@ -156,7 +156,7 @@ void testFlattenWidgetNoRef() throws IOException |
156 | 156 | if (!TestPDFToImage.doTestFile(file, IN_DIR.getAbsolutePath(), OUT_DIR.getAbsolutePath())) |
157 | 157 | { |
158 | 158 | // 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"); |
160 | 160 | } |
161 | 161 | } |
162 | 162 |
|
|
0 commit comments