You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2020/06/28 07:51:00 UTC
[jira] [Commented] (PDFBOX-4901) Some tests are reporting errors
but then are not marked as failed
[ https://issues.apache.org/jira/browse/PDFBOX-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17147242#comment-17147242 ]
Maruan Sahyoun commented on PDFBOX-4901:
----------------------------------------
These are 'known' errors which result from the fact that different platforms will do a slightly different rendering. So updating the to be expected PNG will propably resolve the issue for Windows based builds but not on Linux and OSX.
> Some tests are reporting errors but then are not marked as failed
> -----------------------------------------------------------------
>
> Key: PDFBOX-4901
> URL: https://issues.apache.org/jira/browse/PDFBOX-4901
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.20, 3.0.0 PDFBox
> Reporter: Alfred
> Priority: Trivial
>
> I see errors like this reported by the PDF box test suite:
>
> [INFO] Running org.apache.pdfbox.pdmodel.interactive.form.AlignmentTest
> Files differ: E:\Programare\pdfbox-svn\trunk\pdfbox\src\test\resources\org\apache\pdfbox\pdmodel\interactive\form\AlignmentTests.pdf-1.png
> E:\Programare\pdfbox-svn\trunk\pdfbox\target\test-output\AlignmentTests.pdf-1.png
> Rendering of target\test-output\AlignmentTests.pdf failed or is not identical to expected rendering in src\test\resources\org\apache\pdfbox\pdmodel\interactive\form directory
>
> Visually, the files are identical.
> Bit-wise, there are indeed differences.
> If these are indeed errors, we should mark the tests failed.
> If they are not errors, we could probably update the expected png files.
> There are more errors:
>
> [INFO] Running org.apache.pdfbox.pdmodel.font.TestFontEmbedding
> Files differ: E:\Programare\pdfbox-svn\trunk\pdfbox\src\test\resources\org\apache\pdfbox\ttf\Bengali.pdf-1.png
> E:\Programare\pdfbox-svn\trunk\pdfbox\target\test-output\Bengali.pdf-1.png
> Rendering of target\test-output\Bengali.pdf failed or is not identical to expected rendering in src\test\resources\org\apache\pdfbox\ttf directory
> [INFO] Running org.apache.pdfbox.pdmodel.interactive.form.MultilineFieldsTest
> Files differ: E:\Programare\pdfbox-svn\trunk\pdfbox\src\test\resources\org\apache\pdfbox\pdmodel\interactive\form\MultilineFields.pdf-1.png
> E:\Programare\pdfbox-svn\trunk\pdfbox\target\test-output\MultilineFields.pdf-1.png
> Rendering of target\test-output\MultilineFields.pdf failed or is not identical to expected rendering in src\test\resources\org\apache\pdfbox\pdmodel\interactive\form directory
> [INFO] Running org.apache.pdfbox.pdmodel.interactive.form.PDAcroFormTest
> Files differ: E:\Programare\pdfbox-svn\trunk\pdfbox\src\test\resources\org\apache\pdfbox\pdmodel\interactive\form\AlignmentTests-flattened.pdf-1.png
> E:\Programare\pdfbox-svn\trunk\pdfbox\target\test-output\AlignmentTests-flattened.pdf-1.png
> Rendering of target\test-output\AlignmentTests-flattened.pdf failed or is not identical to expected rendering in src\test\resources\org\apache\pdfbox\pdmodel\interactive\form directory
> Files differ: E:\Programare\pdfbox-svn\trunk\pdfbox\src\test\resources\org\apache\pdfbox\pdmodel\interactive\form\AlignmentTests-flattened-noRef.pdf-1.png
> E:\Programare\pdfbox-svn\trunk\pdfbox\target\test-output\AlignmentTests-flattened-noRef.pdf-1.png
> Rendering of target\test-output\AlignmentTests-flattened-noRef.pdf failed or is not identical to expected rendering in src\test\resources\org\apache\pdfbox\pdmodel\interactive\form directory
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org