Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6222

XML-related unit test fails on Java 9+

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0uimaFIT
    • 2.5.0uimaFIT, 3.1.0uimaFIT
    • uimaFIT
    • None

    Description

      This test fails on JDKs >8

      [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)
      

      Attachments

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              rec Richard Eckart de Castilho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m