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

Fix ThemeManager tests for Java 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 7.2
    • Component/s: Tests, Themes (deprecated)

      Description

      There are issues due to different HashMap interation order in Java 8 for a few tests:

      • org.nuxeo.theme.styling.tests.TestThemeStylingService.testStylesRegistration
      • org.nuxeo.theme.styling.tests.TestThemeStylingService.testFlavorsRegistration
      • org.nuxeo.theme.styling.tests.TestThemeStylingService.testUnregister
      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertTrue(Assert.java:52)
      	at org.nuxeo.theme.styling.tests.TestThemeStylingService.checkOriginalTheme(TestThemeStylingService.java:148)
      	at org.nuxeo.theme.styling.tests.TestThemeStylingService.testStylesRegistration(TestThemeStylingService.java:225)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: