public class BaseWebServiceTest extends ServicelayerTest
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACTION |
protected static String |
ACTION_ENDPOINT |
protected static String |
ADMIN_PASSWORD |
protected static String |
ADMIN_USERNAME |
protected static String |
CLIENT_ID |
protected static String |
CLIENT_SECRET |
protected static String |
CMSMANAGER_PASSWORD |
protected static String |
CMSMANAGER_USERNAME |
protected static String |
CONTAINER |
protected static String |
CUSTOMER_PASSWORD |
protected static String |
CUSTOMER_USERNAME |
protected static String |
CUSTOMERSEGMENTATION_ENDPOINT |
protected static String |
CUSTOMIZATION |
protected static String |
CUSTOMIZATION_ENDPOINT |
protected static String |
FIELDS |
protected static String |
INCORRECT_ID |
protected static String |
NON_EXISTINGACTION |
protected static String |
NONEXISTING_CUSTOMIZATION |
protected static String |
NONEXISTING_VARIATION |
protected static String |
SEGMENT |
protected static String |
SEGMENT_ENDPOINT |
protected static String |
TRIGGER |
protected static String |
TRIGGER_ENDPOINT |
protected static String |
VARIATION |
protected static String |
VARIATION_ENDPOINT |
protected static String |
VERSION |
defaultLanguage, jaloSession| Constructor and Description |
|---|
BaseWebServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertDateTimeAlmostEqual(Date expected,
Date actual) |
void |
assertDateTimeAlmostEqual(String message,
Date expected,
Date actual) |
WsRequestBuilder |
getWsRequestBuilder() |
WsSecuredRequestBuilder |
getWsSecuredRequestBuilderForAdmin() |
WsSecuredRequestBuilder |
getWsSecuredRequestBuilderForCmsManager() |
WsSecuredRequestBuilder |
getWsSecuredRequestBuilderForCustomer() |
String |
marshallDto(Object input,
Class c) |
void |
setUp() |
<C> C |
unmarshallResult(Response result,
Class<C> c) |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected static final String VERSION
protected static final String SEGMENT_ENDPOINT
protected static final String CUSTOMIZATION_ENDPOINT
protected static final String VARIATION_ENDPOINT
protected static final String ACTION_ENDPOINT
protected static final String CUSTOMERSEGMENTATION_ENDPOINT
protected static final String TRIGGER_ENDPOINT
protected static final String SEGMENT
protected static final String CUSTOMIZATION
protected static final String NONEXISTING_CUSTOMIZATION
protected static final String VARIATION
protected static final String NONEXISTING_VARIATION
protected static final String ACTION
protected static final String NON_EXISTINGACTION
protected static final String TRIGGER
protected static final String CONTAINER
protected static final String INCORRECT_ID
protected static final String FIELDS
protected static final String CMSMANAGER_USERNAME
protected static final String CMSMANAGER_PASSWORD
protected static final String CUSTOMER_USERNAME
protected static final String CUSTOMER_PASSWORD
protected static final String ADMIN_USERNAME
protected static final String ADMIN_PASSWORD
protected static final String CLIENT_ID
protected static final String CLIENT_SECRET
public WsRequestBuilder getWsRequestBuilder()
public WsSecuredRequestBuilder getWsSecuredRequestBuilderForCmsManager()
public WsSecuredRequestBuilder getWsSecuredRequestBuilderForAdmin()
public WsSecuredRequestBuilder getWsSecuredRequestBuilderForCustomer()
public <C> C unmarshallResult(Response result,
Class<C> c)
throws JAXBException
JAXBExceptionpublic String marshallDto(Object input, Class c) throws JAXBException
JAXBExceptionCopyright © 2017 SAP SE. All Rights Reserved.