You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2020/04/18 18:41:00 UTC

[jira] [Created] (UIMA-6222) XML-related unit test fails on Java 9+

Richard Eckart de Castilho created UIMA-6222:
------------------------------------------------

             Summary: XML-related unit test fails on Java 9+
                 Key: UIMA-6222
                 URL: https://issues.apache.org/jira/browse/UIMA-6222
             Project: UIMA
          Issue Type: Bug
          Components: uimaFIT
            Reporter: Richard Eckart de Castilho
            Assignee: Richard Eckart de Castilho


This test fails on JDKs >8

{code}
[ERROR] Tests run: 18, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.343 s
<<< FAILURE! - in org.apache.uima.fit.factory.AnalysisEngineFactoryTest
[ERROR]
serializeComponent(org.apache.uima.fit.factory.AnalysisEngineFactoryTest)  Time
elapsed: 0.048 s  <<< FAILURE!
junit.framework.AssertionFailedError:
org.custommonkey.xmlunit.Diff
[different] Expected text value '
    ' but was '

    ' - comparing <analysisEngineDescription ...>
    </analysisEngineDescription> at /analysisEngineDescription[1]/text()[1] to
<analysisEngineDescription ...>

    </analysisEngineDescription> at /analysisEngineDescription[1]/text()[1]

        at
org.apache.uima.fit.factory.AnalysisEngineFactoryTest.serializeComponent(AnalysisEngineFactoryTest.java:567)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)