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

Tilman Hausherr edited comment on PDFBOX-2460 at 10/29/14 7:04 AM:
-------------------------------------------------------------------

But the two other tests use the same file set and succeed only if there is a 
match. IMHO if testProtectionError() would fail for "another reason", then the 
two other tests would fail too.

What's left is the specific case that it doesn't match, and that this case 
would produce an IOException at "the wrong place". I'll rethink that.


was (Author: tilman):
But the two other tests use the same file set and succeed only if there is a 
match. IMHO this if testProtectionError() would fail for "another reason", then 
the two other tests would fail too.

What's left is the specific case that it doesn't match, and that this case 
would produce an IOException at "the wrong place". I'll rethink that.

> fix TestPublicKeyEncryption.java
> --------------------------------
>
>                 Key: PDFBOX-2460
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2460
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.0
>         Environment: java7 , deb7
>            Reporter: Ralf Hauser
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: patch2460Decryption.txt, patch2460DecryptionVerbose.txt, 
> patch2460PublicKeyTestCaseOnError.txt
>
>
> as reported by Tilman in PDFBOX-2456



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to