Class PersonalizationWebServiceTest
- 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.personalizationwebservices.PersonalizationWebServiceTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PersonalizationWebServiceTest 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, FIELDS, INCORRECT_ID, NON_EXISTINGACTION, NONEXISTING_CUSTOMIZATION, NONEXISTING_VARIATION, TRIGGER, TRIGGER_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 PersonalizationWebServiceTest()
-
Method Summary
-
Methods inherited from class de.hybris.platform.personalizationwebservices.BaseWebServiceTest
assertDateTimeAlmostEqual, assertDateTimeAlmostEqual, getWsRequestBuilder, getWsSecuredRequestBuilder, getWsSecuredRequestBuilderForAdmin, getWsSecuredRequestBuilderForCmsManager, getWsSecuredRequestBuilderForCustomer, marshallDto, setUp, 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
-
getAllSegmentsForCmsManager
public void getAllSegmentsForCmsManager() throws java.io.IOException- Throws:
java.io.IOException
-
getSegmentsByCode
public void getSegmentsByCode() throws java.io.IOException- Throws:
java.io.IOException
-
getAllSegmentsForAdmin
public void getAllSegmentsForAdmin() throws java.io.IOException- Throws:
java.io.IOException
-
getAllSegmentsWithoutAuthorization
public void getAllSegmentsWithoutAuthorization() throws java.io.IOException- Throws:
java.io.IOException
-
getCustomerSegmentation
public void getCustomerSegmentation() throws java.io.IOException- Throws:
java.io.IOException
-
getCustomerSegmentationsWithPagination
public void getCustomerSegmentationsWithPagination() throws java.io.IOException- Throws:
java.io.IOException
-
getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInGerman
public void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInGerman() throws java.io.IOException- Throws:
java.io.IOException
-
getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInEnglish
public void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessageInEnglish() throws java.io.IOException- Throws:
java.io.IOException
-
deleteSegmentWithoutRelTrigger
public void deleteSegmentWithoutRelTrigger() throws java.io.IOException- Throws:
java.io.IOException
-
deleteSegmentWithRelTrigger
public void deleteSegmentWithRelTrigger() throws java.io.IOException- Throws:
java.io.IOException
-
getCustmizationById
public void getCustmizationById() throws java.io.IOException- Throws:
java.io.IOException
-
getAllCustmization
public void getAllCustmization() throws java.io.IOException- Throws:
java.io.IOException
-
getEnabledAndDisabledCustmization
public void getEnabledAndDisabledCustmization() throws java.io.IOException- Throws:
java.io.IOException
-
getEnabledCustmization
public void getEnabledCustmization() throws java.io.IOException- Throws:
java.io.IOException
-
getDisabledCustmization
public void getDisabledCustmization() throws java.io.IOException- Throws:
java.io.IOException
-
getDeletedCustmization
public void getDeletedCustmization() throws java.io.IOException- Throws:
java.io.IOException
-
getCustmizationWithPagination
public void getCustmizationWithPagination() throws java.io.IOException- Throws:
java.io.IOException
-
getCustmizationByNameWithPagination
public void getCustmizationByNameWithPagination() throws java.io.IOException- Throws:
java.io.IOException
-
createCustomizationWithCode
public void createCustomizationWithCode() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
createCustomization
public void createCustomization() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
updateCustomizationEnabledDates
public void updateCustomizationEnabledDates() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
updateCustomizationStatus
public void updateCustomizationStatus() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
getInvalidCatalog
public void getInvalidCatalog() throws java.io.IOException- Throws:
java.io.IOException
-
getVariations
public void getVariations() throws java.io.IOException- Throws:
java.io.IOException
-
updateVariation
public void updateVariation() throws java.io.IOException- Throws:
java.io.IOException
-
getTriggers
public void getTriggers() throws java.io.IOException- Throws:
java.io.IOException
-
getSegmentTrigger
public void getSegmentTrigger() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
getExpressionTriggerFull
public void getExpressionTriggerFull() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
getDefaultTrigger
public void getDefaultTrigger() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
createDefaultTrigger
public void createDefaultTrigger() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
updateTrigger
public void updateTrigger() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
updateExpressionTrigger
public void updateExpressionTrigger() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
createCustomizationPackage
public void createCustomizationPackage() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
updateCustomizationPackage
public void updateCustomizationPackage() throws java.io.IOException, javax.xml.bind.JAXBException- Throws:
java.io.IOExceptionjavax.xml.bind.JAXBException
-
callOptionsForSegmentsWithoutAuthorization
public void callOptionsForSegmentsWithoutAuthorization()
-
callOptionsForSegmentsWithoutAuthorizationSpecificResource
public void callOptionsForSegmentsWithoutAuthorizationSpecificResource()
-
callOptionsForCustomizationPackagesWithoutAuthorization
public void callOptionsForCustomizationPackagesWithoutAuthorization()
-
callOptionsForCustomizationPackagesWithoutAuthorizationSpecificResource
public void callOptionsForCustomizationPackagesWithoutAuthorizationSpecificResource()
-
callOptionsForCustomizationsWithoutAuthorization
public void callOptionsForCustomizationsWithoutAuthorization()
-
callOptionsForCustomizationsWithoutAuthorizationSpecificResource
public void callOptionsForCustomizationsWithoutAuthorizationSpecificResource()
-
callOptionsForDummyQueryWithoutAuthorization
public void callOptionsForDummyQueryWithoutAuthorization()
-
callOptionsForTriggersWithoutAuthorization
public void callOptionsForTriggersWithoutAuthorization()
-
callOptionsForTriggersWithoutAuthorizationSpecificResource
public void callOptionsForTriggersWithoutAuthorizationSpecificResource()
-
callOptionsForVariationsWithoutAuthorization
public void callOptionsForVariationsWithoutAuthorization()
-
callOptionsForVariationsWithoutAuthorizationSpecificResource
public void callOptionsForVariationsWithoutAuthorizationSpecificResource()
-
callOptionsForAllActionsWithoutAuthorization
public void callOptionsForAllActionsWithoutAuthorization()
-
callOptionsForActionsWithoutAuthorization
public void callOptionsForActionsWithoutAuthorization()
-
callOptionsForActionsWithoutAuthorizationSpecificResource
public void callOptionsForActionsWithoutAuthorizationSpecificResource()
-
callOptionsForCustomerSegmentationsWithoutAuthorization
public void callOptionsForCustomerSegmentationsWithoutAuthorization()
-
callOptionsForCustomerSegmentationsWithoutAuthorizationSpecificResource
public void callOptionsForCustomerSegmentationsWithoutAuthorizationSpecificResource()
-
getSegmentsWithoutAuthorization
public void getSegmentsWithoutAuthorization()
-
getSegmentWithoutAuthorization
public void getSegmentWithoutAuthorization()
-
createSegmentWithoutAuthorization
public void createSegmentWithoutAuthorization()
-
deleteSegmentWithoutAuthorization
public void deleteSegmentWithoutAuthorization()
-
updateSegmentWithoutAuthorization
public void updateSegmentWithoutAuthorization()
-
createSegmentTriggerData
protected SegmentTriggerData createSegmentTriggerData(java.lang.String triggerCode, java.lang.String segmentCode)
-
getCustomerSegmentationShouldReturn400WithLocalizedErrorMessage
protected void getCustomerSegmentationShouldReturn400WithLocalizedErrorMessage(java.util.Locale language, java.lang.String errorMessage) throws java.io.IOException- Throws:
java.io.IOException
-
-