Class PersonalizationCmsWebservicesTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class PersonalizationCmsWebservicesTest extends BaseWebServiceTest
  • Constructor Details

    • PersonalizationCmsWebservicesTest

      public PersonalizationCmsWebservicesTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class BaseWebServiceTest
      Throws:
      Exception
    • cleanup

      public void cleanup()
    • shouldReplaceHomepageBannerComponentOnPage

      public void shouldReplaceHomepageBannerComponentOnPage() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldReplaceHomepageBannerComponentOnPageTemplate

      public void shouldReplaceHomepageBannerComponentOnPageTemplate() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldAddAndRemovePersonalizationOnComponent

      public void shouldAddAndRemovePersonalizationOnComponent() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldAdd1ActionAndRemoveVariation

      public void shouldAdd1ActionAndRemoveVariation() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldAdd1ActionAndRemoveCustomization

      public void shouldAdd1ActionAndRemoveCustomization() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldAdd2AndRemove1Action

      public void shouldAdd2AndRemove1Action() throws IOException, javax.xml.bind.JAXBException
      Throws:
      IOException
      javax.xml.bind.JAXBException
    • shouldUpdateCustomizationRankAndNothingChange

      public void shouldUpdateCustomizationRankAndNothingChange() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • shouldUpdateCustomizationRankToHigher

      public void shouldUpdateCustomizationRankToHigher() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotANumber

      public void shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotANumber() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotInteger

      public void shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotInteger() throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getCustomizationRank

      protected Integer getCustomizationRank(CustomizationListWsDTO customizations, String customizationCode)
    • deleteVariationAndAssertItIsGone

      protected void deleteVariationAndAssertItIsGone()
    • deleteCustomizationAndAssertItIsGone

      protected void deleteCustomizationAndAssertItIsGone()
    • deleteActionAndAssertItIsGone

      protected void deleteActionAndAssertItIsGone(String actionCode1)
    • replaceComponentOnPageAndAssertItExists

      protected CxCmsComponentContainerData replaceComponentOnPageAndAssertItExists(String componentToPersonalize, int componentPosition, String pageId, String slotId, String catalog, String catalogVersion) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
    • getSlot

      protected ContentSlotModel getSlot(String pageId, String catalog, String catalogVersion, String slotId)
    • createActionOnContainerAndAssertItExists

      protected void createActionOnContainerAndAssertItExists(String actionCode, String componentId, String containerUid)
    • assertContainerIsDeleted

      protected void assertContainerIsDeleted(String containerUid)