Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-131002

Multiple AssertionError's in calendar upgrade tests

    Details

      Description

      Testray

      Jenkins

           [exec] com.liferay.calendar.web.upgrade.v1_1_0.test.UpgradePortalPreferencesTest > testUpgradeCalendarColorPreferences FAILED
           [exec]     java.lang.AssertionError: expected:<4966611942102244906> but was:<null>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
      
           [exec] com.liferay.calendar.web.upgrade.v1_1_0.test.UpgradePortalPreferencesTest > testUpgradeCalendarVisiblePreferences FAILED
           [exec]     java.lang.AssertionError: expected:<false> but was:<null>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
      
           [exec] com.liferay.calendar.web.upgrade.v1_1_0.test.UpgradePortalPreferencesTest > testUpgradeColumnOptionsVisiblePreferences FAILED
           [exec]     java.lang.AssertionError: expected:<true> but was:<null>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
      
           [exec] com.liferay.calendar.web.upgrade.v1_1_0.test.UpgradePortalPreferencesTest > testUpgradeDefaultViewPreferences FAILED
           [exec]     java.lang.AssertionError: expected:<agenda> but was:<null>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
      
           [exec] com.liferay.calendar.web.upgrade.v1_1_0.test.UpgradePortalPreferencesTest > testUpgradeOtherCalendarsPreferences FAILED
           [exec]     java.lang.AssertionError: expected:<1459303269033215026> but was:<null>
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.failNotEquals(Assert.java:835)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:120)
           [exec]     	at org.junit.Assert.assertEquals(Assert.java:146)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              preston.crary Preston Crary
              Reporter:
              joseph.pak Joseph Pak
              Participants of an Issue:
              Recent user:
              Rodrigo Cunha
              Engineering Assignee:
              Preston Crary
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 weeks, 2 days ago

                  Packages

                  Version Package
                  Master