Class CxPromotionsActionsWebServiceTest
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.personalizationpromotionsweb.CxPromotionsActionsWebServiceTest
- 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetUp()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
-
CxPromotionsActionsWebServiceTest
public CxPromotionsActionsWebServiceTest()
-
-
Method Details
-
setUp
- Overrides:
setUpin classBaseWebServiceTest- Throws:
Exception
-
createPromotionAction
- Throws:
IOException
-
getPromotionActionForAdmin
- Throws:
IOException
-
getPromotionActionForCmsManager
- Throws:
IOException
-
createAutomaticPromotionAction
- Throws:
IOException
-
createExistingPromotionAction
- Throws:
IOException
-
updatePromotionActionTypeWithOtherType
- Throws:
IOException
-
updatePromotionActionTypeWithUnknownType
- Throws:
IOException
-
updatePromotionAction
- Throws:
IOException
-
updatePromotionActionWithInconsistentCode
- Throws:
IOException
-
updateNonExistingPromotionActionWithInconsistentCode
- Throws:
IOException
-
getAllActionsForVariationTest
public void getAllActionsForVariationTest() -
getNonexistingActionByIdTest
public void getNonexistingActionByIdTest() -
getActionByIdFromInvalidVariationTest
public void getActionByIdFromInvalidVariationTest() -
getActionByIdFromInvalidCustomizationTest
public void getActionByIdFromInvalidCustomizationTest() -
deletePromotionAction
- Throws:
IOException
-
deleteNonExistingPromotionAction
- Throws:
IOException
-
deletePromotionActionFromUnknownVariation
- Throws:
IOException
-
deletePromotionActionFromUnknownCustomization
- Throws:
IOException
-