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

Jukka Zitting commented on TIKA-603:
------------------------------------

The reported test failure is:

{code}
-------------------------------------------------------------------------------
Test set: org.apache.tika.parser.mail.RFC822ParserTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.044 sec <<< 
FAILURE!
testQuotedPrintable(org.apache.tika.parser.mail.RFC822ParserTest)  Time 
elapsed: 0.025 sec  <<< FAILURE!
junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertTrue(Assert.java:27)
        at 
org.apache.tika.parser.mail.RFC822ParserTest.testQuotedPrintable(RFC822ParserTest.java:113)
{code}

The test case looks at line wrapping in email messages, and the test file in 
question has explicitly been marked with svn:eol-style=CRLF to prevent svn from 
changing the line endings. Can you check whether the 
tika-parsers/src/test/resources/testRFC822_quoted file in your local checkout 
has CRLF line endings?

> Tika 0.9 compiles fine but failed a unit test
> ---------------------------------------------
>
>                 Key: TIKA-603
>                 URL: https://issues.apache.org/jira/browse/TIKA-603
>             Project: Tika
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.9
>         Environment: [OSX 10.5.8 + java 1.5.0_26 + mvn 2.2.1]
> [OSX 10.6.5 + java 1.6.0_22 + mvn 2.2.1]
>            Reporter: Zabrane Mickael
>            Priority: Minor
>             Fix For: 1.0
>
>         Attachments: surefire-reports-osx-10.5.8.tbz2, 
> surefire-reports-osx-10.6-5.tbz2
>
>
> See attachement for both surefire reports output.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to