Tommaso Teofili (JIRA) wrote:
>     [ 
> https://issues.apache.org/jira/browse/UIMA-1581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759796#action_12759796
>  ] 
>
> Tommaso Teofili commented on UIMA-1581:
> ---------------------------------------
>
> yes, the same issue due to EOL character as in UIMA-1582.
> infact errors comes out at AnnotatorTester (uimaj-component-test-util) at 
> line 432:
> "boolean isIdentical = FileCompare.compare(refFile, testFile);"
> this is used by TestSetFeatureValues
>   
I took a look at FileCompare.compare.  It has logic in it to skip over
and ignore whitespace characters, and just compare the other ones.  So,
in theory, the fact that the line endings are different should be
accounted for, already.

Can you single step through one of these failing tests and see what's
not comparing? My guess is that something else is going on...

Unfortunately, I don't have a mac, so I can't test this ...

-Marshall
>   
>> RegularExpressionAnnotator tests fail
>> -------------------------------------
>>
>>                 Key: UIMA-1581
>>                 URL: https://issues.apache.org/jira/browse/UIMA-1581
>>             Project: UIMA
>>          Issue Type: Bug
>>          Components: Sandbox-RegexAnnotator
>>    Affects Versions: 2.3S
>>         Environment: MacOS X
>>            Reporter: Tommaso Teofili
>>            Assignee: Tommaso Teofili
>>             Fix For: 2.3
>>
>>
>> the following TestSetFeatureValues tests fail:
>> * testSetFeatureValues1
>> * testSetFeatureValues2
>> * testSetFeatureValues3
>>     
>
>   

Reply via email to