Class CmsActionsWebServiceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.personalizationwebservices.BaseWebServiceTest
de.hybris.platform.personalizationcmsweb.CmsActionsWebServiceTest
- All Implemented Interfaces:
JaloSessionHolder
-
Field Summary
Fields inherited from class de.hybris.platform.personalizationwebservices.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, VERSIONFields 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 TypeMethodDescriptionvoidvoidprotected ObjectcreateCmsActionForJSON(String code, String component, String container) protected ObjectCreateCmsActionListForJSON(Object... actions) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetUp()voidvoidvoidvoidvoidMethods inherited from class de.hybris.platform.personalizationwebservices.BaseWebServiceTest
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, unmarshallResultMethods 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
-
CmsActionsWebServiceTest
public CmsActionsWebServiceTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classBaseWebServiceTest- Throws:
Exception
-
getActionWithConditions
- Throws:
IOException
-
getActionWithMultipleConditions
- Throws:
IOException
-
getCmsActionForCmsManager
- Throws:
IOException
-
getCmsActionForAdmin
- Throws:
IOException
-
createCmsAction
- Throws:
IOException
-
createAutomaticCmsAction
- Throws:
IOException
-
createCmsActions
- Throws:
IOException
-
createEmptyCmsActionList
- Throws:
IOException
-
createIncompleateCmsActions
- Throws:
IOException
-
createCmsActionForJSON
-
CreateCmsActionListForJSON
-
deleteCmsActions
- Throws:
IOException
-
deleteNotexistingCmsActions
- Throws:
IOException
-
updateCmsActionTypeWithOtherType
- Throws:
IOException
-
updateCmsActionTypeWithUnknownType
- Throws:
IOException
-
updateCmsAction
- Throws:
IOException
-
deleteCmsAction
- Throws:
IOException
-
getAllActionsForVariationTest
public void getAllActionsForVariationTest() -
getNonexistingActionByIdTest
public void getNonexistingActionByIdTest() -
getActionByIdFromInvalidVariationTest
public void getActionByIdFromInvalidVariationTest() -
getActionByIdFromInvalidCustomizationTest
public void getActionByIdFromInvalidCustomizationTest() -
createExistingCmsAction
- Throws:
IOException
-
updateCmsActionWithInconsidtentCode
- Throws:
IOException
-
updateNonExistingCmsActionWithInconsidtentCode
- Throws:
IOException
-
deleteNonExistingCmsAction
- Throws:
IOException
-
deleteCmsActionFromUnknownVariation
- Throws:
IOException
-
deleteCmsActionFromUnknownCustomization
- Throws:
IOException
-