Skip to content

Commit

Permalink
PDFBOX-5797: revert accidentally committed parts
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1922563 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Dec 17, 2024
1 parent 5da7fe3 commit e8c41e3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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");
}

}
Expand Down Expand Up @@ -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");
}
}

Expand Down

0 comments on commit e8c41e3

Please sign in to comment.