Class DefaultCMSVersionServiceIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class DefaultCMSVersionServiceIntegrationTest extends AbstractCMSVersionIntegrationTest
  • Constructor Details

    • DefaultCMSVersionServiceIntegrationTest

      public DefaultCMSVersionServiceIntegrationTest()
  • Method Details

    • 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(String slotUid)
    • addComponentToEmptyContentSlot

      protected void addComponentToEmptyContentSlot()
    • getCMSLinkComponentFromCache

      protected CMSLinkComponentModel getCMSLinkComponentFromCache(String componentUID)