Class DefaultCMSVersionServiceIntegrationTest

    • Constructor Detail

      • DefaultCMSVersionServiceIntegrationTest

        public DefaultCMSVersionServiceIntegrationTest()
    • Method Detail

      • givenNewVersionWhenLocalAttributeChangedThenPreviewContainsOldLocalAttributeValue

        public void givenNewVersionWhenLocalAttributeChangedThenPreviewContainsOldLocalAttributeValue()
      • givenNewVersionWhenLocalAttributeChangedThenRollbackContainsOldLocalAttributeValue

        public void givenNewVersionWhenLocalAttributeChangedThenRollbackContainsOldLocalAttributeValue()
      • givenNewVersionWhenReferencedAttributeChangedThenRollbackContainsOldReferencedAttributeValue

        public void givenNewVersionWhenReferencedAttributeChangedThenRollbackContainsOldReferencedAttributeValue()
      • givenNewVersionWhenReferencedAttributeChangedThenPreviewContainsOldReferencedAttributeValue

        public void givenNewVersionWhenReferencedAttributeChangedThenPreviewContainsOldReferencedAttributeValue()
      • givenTransactionIdWherePageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional

        public void givenTransactionIdWherePageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional()
      • givenTransactionIdWhereNoPageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional

        public void givenTransactionIdWhereNoPageWasVersioned_WhenFindPageVersionedByTransactionIdIsCalled_ThenItReturnsAnEmptyOptional()
      • givenOldVersionWithoutComponentInSlotWhenComponentIsAddedToSlotThenPreviewOfOldVersionDoesNotContainComponent

        public void givenOldVersionWithoutComponentInSlotWhenComponentIsAddedToSlotThenPreviewOfOldVersionDoesNotContainComponent()
      • changeCurrentPageAttribute

        protected void changeCurrentPageAttribute()
      • changeCurrentPageComponentAttribute

        protected void changeCurrentPageComponentAttribute()
      • getSlotByUidFromCache

        protected ContentSlotModel getSlotByUidFromCache​(java.lang.String slotUid)
      • addComponentToEmptyContentSlot

        protected void addComponentToEmptyContentSlot()
      • getCMSLinkComponentFromCache

        protected CMSLinkComponentModel getCMSLinkComponentFromCache​(java.lang.String componentUID)