Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2609

unit test fails when building liferay-faces-util

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • liferay-faces-2.1.5-ga6, liferay-faces-2.2.5-ga6, liferay-faces-3.0.5-legacy-ga6, liferay-faces-3.0.5-ga6, liferay-faces-3.1.5-ga6, liferay-faces-3.2.5-ga6, liferay-faces-4.2.5-ga6
    • util-1.0.0, util-2.0.0, util-3.0.0
    • Liferay Faces Util
    • None

    Description

      Steps to reproduce:

      1. cd liferay-faces-util
      2. mvn clean install

      Expected result:

      • no errors during build

      Actual result:

      Tests run: 27, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.399 sec <<< FAILURE!
      test20_beforeCafterOthers_BbeforeC_DafterOthers_startWith_BCDEF(com.liferay.faces.util.xml.OrderingTest)  Time elapsed: 0.011 sec  <<< FAILURE!
      java.lang.AssertionError: 
       original: [e, f, b, , d, c]
       expected: [b, e, f, , c, d]
             or: [b, e, f, d, , c]
       actually: [e, b, f, , c, d]
      
          at org.junit.Assert.fail(Assert.java:93)
          at org.junit.Assert.assertTrue(Assert.java:43)
          at com.liferay.faces.util.xml.OrderingTest.test20_beforeCafterOthers_BbeforeC_DafterOthers_startWith_BCDEF(OrderingTest.java:1042)
      ... snipped for brevity ...

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            vernon.singleton Vernon Singleton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                util-1.0.0
                util-2.0.0
                util-3.0.0