@IntegrationTest public class CxPromotionsActionsWebServiceTest extends BaseWebServiceTest
ACTION, ACTION_ENDPOINT, ADMIN_PASSWORD, ADMIN_USERNAME, CLIENT_ID, CLIENT_SECRET, CMSMANAGER_PASSWORD, 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, VERSIONdefaultLanguage, jaloSession| Constructor and Description |
|---|
CxPromotionsActionsWebServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
createAutomaticPromotionAction() |
void |
createExistingPromotionAction() |
void |
createPromotionAction() |
void |
deleteNonExistingPromotionAction() |
void |
deletePromotionAction() |
void |
deletePromotionActionFromUnknownCustomization() |
void |
deletePromotionActionFromUnknownVariation() |
void |
getActionByIdFromInvalidCustomizationTest() |
void |
getActionByIdFromInvalidVariationTest() |
void |
getAllActionsForVariationTest() |
void |
getNonexistingActionByIdTest() |
void |
getPromotionActionForAdmin() |
void |
getPromotionActionForCmsManager() |
void |
setUp() |
void |
updateNonExistingPromotionActionWithInconsistentCode() |
void |
updatePromotionAction() |
void |
updatePromotionActionTypeWithOtherType() |
void |
updatePromotionActionTypeWithUnknownType() |
void |
updatePromotionActionWithInconsistentCode() |
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, unmarshallResultcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws Exception
setUp in class BaseWebServiceTestExceptionpublic void createPromotionAction()
throws IOException
IOExceptionpublic void getPromotionActionForAdmin()
throws IOException
IOExceptionpublic void getPromotionActionForCmsManager()
throws IOException
IOExceptionpublic void createAutomaticPromotionAction()
throws IOException
IOExceptionpublic void createExistingPromotionAction()
throws IOException
IOExceptionpublic void updatePromotionActionTypeWithOtherType()
throws IOException
IOExceptionpublic void updatePromotionActionTypeWithUnknownType()
throws IOException
IOExceptionpublic void updatePromotionAction()
throws IOException
IOExceptionpublic void updatePromotionActionWithInconsistentCode()
throws IOException
IOExceptionpublic void updateNonExistingPromotionActionWithInconsistentCode()
throws IOException
IOExceptionpublic void getAllActionsForVariationTest()
public void getNonexistingActionByIdTest()
public void getActionByIdFromInvalidVariationTest()
public void getActionByIdFromInvalidCustomizationTest()
public void deletePromotionAction()
throws IOException
IOExceptionpublic void deleteNonExistingPromotionAction()
throws IOException
IOExceptionpublic void deletePromotionActionFromUnknownVariation()
throws IOException
IOExceptionpublic void deletePromotionActionFromUnknownCustomization()
throws IOException
IOExceptionCopyright © 2017 SAP SE. All Rights Reserved.