You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2021/06/20 15:01:00 UTC

[jira] [Comment Edited] (PDFBOX-5214) File generated differently depending on test call

    [ https://issues.apache.org/jira/browse/PDFBOX-5214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17365255#comment-17365255 ] 

Andreas Lehmkühler edited comment on PDFBOX-5214 at 6/20/21, 3:00 PM:
----------------------------------------------------------------------

[~mkl] the test should be deterministic and should always end up with the same result but it doesn't depending on how one calls the test case


was (Author: lehmi):
[~mkl] the test should be deterministic and should always end up with the result but it doesn't depending on how one calls the test case

> File generated differently depending on test call
> -------------------------------------------------
>
>                 Key: PDFBOX-5214
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5214
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Writing
>    Affects Versions: 3.0.0 PDFBox
>            Reporter: Tilman Hausherr
>            Priority: Major
>             Fix For: 3.0.0 PDFBox
>
>         Attachments: EmptySignatureForm_FullPackageTest.pdf, EmptySignatureForm_SingleClassTest.pdf
>
>
> Something weird is happening in {{TestCreateSignature.testPDFBox3978}}. The file {{EmptySignatureForm.pdf}} that is generated has different object streams depending on whether it is generated within a full test of the examples package, or if the {{TestCreateSignature}} class is tested. The two files should be identical except for the ID.



--
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