Class BaseWebServiceTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.personalizationwebservices.BaseWebServiceTest
- All Implemented Interfaces:
JaloSessionHolder
- Direct Known Subclasses:
ActionsWebServiceTest,CmsActionsWebServiceTest,CxPromotionsActionsWebServiceTest,CxPromotionsQueryIntegrationTest,PersonalizationCmsWebservicesSecurityTest,PersonalizationCmsWebservicesTest,PersonalizationCmsWebservicesVersionQueryTest,PersonalizationWebServiceSecurityTest,PersonalizationWebServiceTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields 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 TypeMethodDescriptionvoidassertDateTimeAlmostEqual(String message, Date expected, Date actual) voidassertDateTimeAlmostEqual(Date expected, Date actual) getWsSecuredRequestBuilder(String user, String pwd) marshallDto(Object input, Class<?> c) voidsetUp()<C> CunmarshallResult(javax.ws.rs.core.Response result, Class<C> c) Methods 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
-
Field Details
-
VERSION
- See Also:
-
SEGMENT_ENDPOINT
- See Also:
-
CUSTOMIZATION_ENDPOINT
- See Also:
-
VARIATION_ENDPOINT
- See Also:
-
ACTION_ENDPOINT
- See Also:
-
CUSTOMERSEGMENTATION_ENDPOINT
- See Also:
-
TRIGGER_ENDPOINT
- See Also:
-
SEGMENT
- See Also:
-
CUSTOMIZATION
- See Also:
-
NONEXISTING_CUSTOMIZATION
- See Also:
-
VARIATION
- See Also:
-
NONEXISTING_VARIATION
- See Also:
-
ACTION
- See Also:
-
NON_EXISTINGACTION
- See Also:
-
TRIGGER
- See Also:
-
CONTAINER
- See Also:
-
INCORRECT_ID
- See Also:
-
FIELDS
- See Also:
-
CMSMANAGER_USERNAME
- See Also:
-
CMSMANAGER_READ_ONLY_USERNAME
- See Also:
-
CMSMANAGER_NOACCESS_USERNAME
- See Also:
-
CMSMANAGER_PASSWORD
- See Also:
-
CUSTOMER_USERNAME
- See Also:
-
CUSTOMER_PASSWORD
- See Also:
-
ADMIN_USERNAME
- See Also:
-
ADMIN_PASSWORD
- See Also:
-
CLIENT_ID
- See Also:
-
CLIENT_SECRET
- See Also:
-
-
Constructor Details
-
BaseWebServiceTest
public BaseWebServiceTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
getWsRequestBuilder
-
getWsSecuredRequestBuilder
-
getWsSecuredRequestBuilderForCmsManager
-
getWsSecuredRequestBuilderForAdmin
-
getWsSecuredRequestBuilderForCustomer
-
unmarshallResult
public <C> C unmarshallResult(javax.ws.rs.core.Response result, Class<C> c) throws javax.xml.bind.JAXBException - Throws:
javax.xml.bind.JAXBException
-
marshallDto
- Throws:
javax.xml.bind.JAXBException
-
assertDateTimeAlmostEqual
-
assertDateTimeAlmostEqual
-