Class DefaultRelatedPageRejectionServiceIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.cms2.relatedpages.DefaultRelatedPageRejectionServiceIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest
public class DefaultRelatedPageRejectionServiceIntegrationTest
extends ServicelayerTest
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importServiceFields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddComponentToSlot(ContentSlotModel slot, int index) protected voidprotected voidprotected voidapprovePages(AbstractPageModel... pages) protected voidprotected voidprotected voidprotected voidvoidvoidvoidvoidgivenComponentInTwoApprovedPagesThatAreNotInWorkflowWhenComponentIsChangedThenBothPagesAreRejected()voidvoidvoidvoidvoidvoidprotected voidmoveComponent(ContentSlotModel fromSlot, ContentSlotModel toSlot) protected voidremoveComponent(ContentSlotModel fromSlot) voidsetUp()protected voidunshareSlot(AbstractPageModel sourcePage) Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneMethods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSessionMethods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
Constructor Details
-
DefaultRelatedPageRejectionServiceIntegrationTest
public DefaultRelatedPageRejectionServiceIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
givenComponentInTwoApprovedPagesThatAreNotInWorkflowWhenComponentIsChangedThenBothPagesAreRejected
public void givenComponentInTwoApprovedPagesThatAreNotInWorkflowWhenComponentIsChangedThenBothPagesAreRejected() -
givenComponentInTwoApprovedPagesAndSecondPageIsInWorkflowWhenComponentIsChangedThenFirstPageIsRejected
public void givenComponentInTwoApprovedPagesAndSecondPageIsInWorkflowWhenComponentIsChangedThenFirstPageIsRejected() -
givenComponentInTwoApprovedPagesWhenComponentIsMovedOnOnePageThenAnotherPageIsStillApproved
public void givenComponentInTwoApprovedPagesWhenComponentIsMovedOnOnePageThenAnotherPageIsStillApproved() -
givenComponentInTwoApprovedPagesWhenComponentIsRemovedFromOnePageThenAnotherPageIsStillApproved
public void givenComponentInTwoApprovedPagesWhenComponentIsRemovedFromOnePageThenAnotherPageIsStillApproved() -
givenComponentInFirstApprovedPageAndSecondPageIsAlsoApprovedWhenComponentIsAddedToSecondPageThenFirstPageIsStillApproved
public void givenComponentInFirstApprovedPageAndSecondPageIsAlsoApprovedWhenComponentIsAddedToSecondPageThenFirstPageIsStillApproved() -
givenComponentOnApprovedPageWhenComponentIsChangedThenPageIsRejected
public void givenComponentOnApprovedPageWhenComponentIsChangedThenPageIsRejected() -
givenApprovedPageWhenUpdatePageMetaDataThenPageIsStillApproved
public void givenApprovedPageWhenUpdatePageMetaDataThenPageIsStillApproved() -
givenTwoApprovedPagesWithSameRestrictionWhenRestrictionMetadataIsChangedThenAllPagesThatAreNotInWorkflowAreRejected
public void givenTwoApprovedPagesWithSameRestrictionWhenRestrictionMetadataIsChangedThenAllPagesThatAreNotInWorkflowAreRejected() -
givenParentComponentWithChildNestedComponentWhenChildComponentIsChangedThenPageIsStillApproved
public void givenParentComponentWithChildNestedComponentWhenChildComponentIsChangedThenPageIsStillApproved() -
approvePages
-
moveComponent
-
removeComponent
-
addComponentToSlot
-
changeComponent
protected void changeComponent() -
changeNestedComponent
protected void changeNestedComponent() -
addNestedComponent
protected void addNestedComponent() -
changePageMetadata
-
changeRestrictionMetadata
protected void changeRestrictionMetadata() -
addRestrictionToPage
-