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
@IntegrationTest public class CmsActionsWebServiceTest extends BaseWebServiceTest
-
-
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, VERSION
-
Fields inherited from class de.hybris.platform.servicelayer.ServicelayerTest
importService
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description CmsActionsWebServiceTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.personalizationwebservices.BaseWebServiceTest
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, unmarshallResult
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerTest
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNone
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Overrides:
setUp
in classBaseWebServiceTest
- Throws:
java.lang.Exception
-
getActionWithConditions
public void getActionWithConditions() throws java.io.IOException
- Throws:
java.io.IOException
-
getActionWithMultipleConditions
public void getActionWithMultipleConditions() throws java.io.IOException
- Throws:
java.io.IOException
-
getCmsActionForCmsManager
public void getCmsActionForCmsManager() throws java.io.IOException
- Throws:
java.io.IOException
-
getCmsActionForAdmin
public void getCmsActionForAdmin() throws java.io.IOException
- Throws:
java.io.IOException
-
createCmsAction
public void createCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
createAutomaticCmsAction
public void createAutomaticCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
createCmsActions
public void createCmsActions() throws java.io.IOException
- Throws:
java.io.IOException
-
createEmptyCmsActionList
public void createEmptyCmsActionList() throws java.io.IOException
- Throws:
java.io.IOException
-
createIncompleateCmsActions
public void createIncompleateCmsActions() throws java.io.IOException
- Throws:
java.io.IOException
-
createCmsActionForJSON
protected java.lang.Object createCmsActionForJSON(java.lang.String code, java.lang.String component, java.lang.String container)
-
CreateCmsActionListForJSON
protected java.lang.Object CreateCmsActionListForJSON(java.lang.Object... actions)
-
deleteCmsActions
public void deleteCmsActions() throws java.io.IOException
- Throws:
java.io.IOException
-
deleteNotexistingCmsActions
public void deleteNotexistingCmsActions() throws java.io.IOException
- Throws:
java.io.IOException
-
updateCmsActionTypeWithOtherType
public void updateCmsActionTypeWithOtherType() throws java.io.IOException
- Throws:
java.io.IOException
-
updateCmsActionTypeWithUnknownType
public void updateCmsActionTypeWithUnknownType() throws java.io.IOException
- Throws:
java.io.IOException
-
updateCmsAction
public void updateCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
deleteCmsAction
public void deleteCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
getAllActionsForVariationTest
public void getAllActionsForVariationTest()
-
getNonexistingActionByIdTest
public void getNonexistingActionByIdTest()
-
getActionByIdFromInvalidVariationTest
public void getActionByIdFromInvalidVariationTest()
-
getActionByIdFromInvalidCustomizationTest
public void getActionByIdFromInvalidCustomizationTest()
-
createExistingCmsAction
public void createExistingCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
updateCmsActionWithInconsidtentCode
public void updateCmsActionWithInconsidtentCode() throws java.io.IOException
- Throws:
java.io.IOException
-
updateNonExistingCmsActionWithInconsidtentCode
public void updateNonExistingCmsActionWithInconsidtentCode() throws java.io.IOException
- Throws:
java.io.IOException
-
deleteNonExistingCmsAction
public void deleteNonExistingCmsAction() throws java.io.IOException
- Throws:
java.io.IOException
-
deleteCmsActionFromUnknownVariation
public void deleteCmsActionFromUnknownVariation() throws java.io.IOException
- Throws:
java.io.IOException
-
deleteCmsActionFromUnknownCustomization
public void deleteCmsActionFromUnknownCustomization() throws java.io.IOException
- Throws:
java.io.IOException
-
-