@IntegrationTest public class PersonalizationCmsWebservicesTest extends BaseWebServiceTest
ACTION, ACTION_ENDPOINT, ADMIN_PASSWORD, ADMIN_USERNAME, CLIENT_ID, CLIENT_SECRET, CMSMANAGER_NOACCESS_USERNAME, CMSMANAGER_PASSWORD, CMSMANAGER_READ_ONLY_USERNAME, CMSMANAGER_USERNAME, CONTAINER, CUSTOMER_PASSWORD, CUSTOMER_USERNAME, CUSTOMERSEGMENTATION_ENDPOINT, CUSTOMIZATION, FIELDS, INCORRECT_ID, NON_EXISTINGACTION, NONEXISTING_CUSTOMIZATION, NONEXISTING_VARIATION, SEGMENT, SEGMENT_ENDPOINT, TRIGGER, TRIGGER_ENDPOINT, VARIATION, VARIATION_ENDPOINT, VERSIONimportServicejaloSession| Constructor and Description |
|---|
PersonalizationCmsWebservicesTest() |
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, unmarshallResultcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
setUp in class BaseWebServiceTestjava.lang.Exceptionpublic void cleanup()
public void shouldReplaceHomepageBannerComponentOnPage()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldReplaceHomepageBannerComponentOnPageTemplate()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldAddAndRemovePersonalizationOnComponent()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldAdd1ActionAndRemoveVariation()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldAdd1ActionAndRemoveCustomization()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldAdd2AndRemove1Action()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void shouldUpdateCustomizationRankAndNothingChange()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic void shouldUpdateCustomizationRankToHigher()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic void shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotANumber()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic void shouldReturnValidationErrorOnUpdateCustomizationRankWhenNotInteger()
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected java.lang.Integer getCustomizationRank(CustomizationListWsDTO customizations, java.lang.String customizationCode)
protected void deleteVariationAndAssertItIsGone()
protected void deleteCustomizationAndAssertItIsGone()
protected void deleteActionAndAssertItIsGone(java.lang.String actionCode1)
protected CxCmsComponentContainerData replaceComponentOnPageAndAssertItExists(java.lang.String componentToPersonalize, int componentPosition, java.lang.String pageId, java.lang.String slotId, java.lang.String catalog, java.lang.String catalogVersion) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected ContentSlotModel getSlot(java.lang.String pageId, java.lang.String catalog, java.lang.String catalogVersion, java.lang.String slotId)
protected void createActionOnContainerAndAssertItExists(java.lang.String actionCode,
java.lang.String componentId,
java.lang.String containerUid)
protected void assertContainerIsDeleted(java.lang.String containerUid)
Copyright © 2018 SAP SE. All Rights Reserved.