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

Guillaume Bailleul commented on PDFBOX-2179:
--------------------------------------------

I commited some changes in TestIsartor class to have more readable error 
messages (like in description of this issue) and to be able to filter the files 
to check in r1607464.

Example, using
{quote}
mvn test  -Dskip.external.resources=false -Disartor.filter=6-2-3-3
{quote}

Will only check the isartor file with *6-2-3-3* in the simple file name.


> Regression: Some isartor tests are not passing in 2.0.0
> -------------------------------------------------------
>
>                 Key: PDFBOX-2179
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2179
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Guillaume Bailleul
>            Priority: Critical
>
> It is possible to check preflight with the isartor files while building 
> pdfbox. The option is not set by default. It can be done with the command 
> line :
> {{mvn test -Dskip.external.resources=false}}
> On July 2nd, 9 tests are failing :
> {{TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-f.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()}}
> {{TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-h.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()}}
> {{TestIsartor.validate:175 isartor-6-2-3-3-t02-fail-i.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()}}
> {{TestIsartor.validate:170 isartor-6-2-7-t01-fail-a.pdf : Invalid error code 
> returned. expected:<2.\[3.2\]> but was:<2\.[1.9\]>}}
> {{TestIsartor.validate:159 isartor-6-3-2-t01-fail-a.pdf : Invalid error code 
> returned. Expected 3.2.2, found \[3.1.1 3.3.2 \]}}
> {{TestIsartor.validate:175 isartor-6-3-4-t01-fail-f.pdf : 
> NullPointerException raised , message=null}}
> {{TestIsartor.validate:175 isartor-6-3-4-t01-fail-g.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()}}
> {{TestIsartor.validate:175 isartor-6-3-4-t01-fail-h.pdf : 
> IllegalStateException raised , message=Call to processSubStream() before 
> processStream() or initStream()}}
> {{TestIsartor.validate:175 isartor-6-9-t02-fail-a.pdf : NullPointerException 
> raised , message=null}}
> All is working fine with the last released version.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to