Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16432

Fix CMIS tests for Java 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.1
    • Fix Version/s: 7.2
    • Component/s: CMIS

      Description

      This test fails on Java 8 due to different HashMap iteration order:

      org.junit.ComparisonFailure: expected:<{"[stringProp":"testString1","dateProp":1234500000000,"boolProp":null,"enumProp":null,"arrayProp":[],"intProp":null,"floatProp":null]}> but was:<{"[arrayProp":[],"boolProp":null,"enumProp":null,"dateProp":1234500000000,"floatProp":null,"intProp":null,"stringProp":"testString1"]}>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.nuxeo.ecm.core.opencmis.impl.CmisSuiteSession.testComplexProperties(CmisSuiteSession.java:1216)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: