Class PreviewPersonalizationWebServicesTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.platform.servicelayer.ServicelayerTest
-
- de.hybris.platform.previewpersonalizationweb.PreviewPersonalizationWebServicesTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class PreviewPersonalizationWebServicesTest extends ServicelayerTest
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CATALOG
static java.lang.String
CATALOG_VERSION
static java.lang.String
CUSTOMIZATION_CODE
static java.lang.String
OAUTH_CLIENT_ID
static java.lang.String
OAUTH_CLIENT_PASS
static java.lang.String
RESOURCE_PATH
static java.lang.String
SEGMENT1_CODE
static java.lang.String
SEGMENT2_CODE
static java.lang.String
VARIATION1_CODE
static java.lang.String
VARIATION2_CODE
static java.lang.String
WRONG_SEGMENT1_CODE
static java.lang.String
WRONG_SEGMENT2_CODE
static java.lang.String
WRONG_VARIATION1_CODE
static java.lang.String
WRONG_VARIATION2_CODE
-
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 PreviewPersonalizationWebServicesTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setUp()
void
testPostPreviewWithSegmentsFields()
void
testPostPreviewWithVariationsFields()
void
testPostPreviewWithVariationsFieldsMissingCatalog()
void
testPostPreviewWithVariationsFieldsWrongCatalog()
void
testPostPreviewWithWrongSegmentsFields()
void
testPostPreviewWithWrongVariationsFields()
void
testPutPreviewWithMixedSegmentsFields()
void
testPutPreviewWithMixedVariationsFields()
void
testPutPreviewWithNotExistingSegmentsFields()
void
testPutPreviewWithNotExistingVariationsFields()
void
testPutPreviewWithNoVariationsFields()
void
testPutPreviewWithSegmentsFields()
void
testPutPreviewWithVariationsFields()
-
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
-
-
-
-
Field Detail
-
OAUTH_CLIENT_ID
public static final java.lang.String OAUTH_CLIENT_ID
- See Also:
- Constant Field Values
-
OAUTH_CLIENT_PASS
public static final java.lang.String OAUTH_CLIENT_PASS
- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG
- See Also:
- Constant Field Values
-
CATALOG_VERSION
public static final java.lang.String CATALOG_VERSION
- See Also:
- Constant Field Values
-
RESOURCE_PATH
public static final java.lang.String RESOURCE_PATH
- See Also:
- Constant Field Values
-
VARIATION1_CODE
public static final java.lang.String VARIATION1_CODE
- See Also:
- Constant Field Values
-
VARIATION2_CODE
public static final java.lang.String VARIATION2_CODE
- See Also:
- Constant Field Values
-
WRONG_VARIATION1_CODE
public static final java.lang.String WRONG_VARIATION1_CODE
- See Also:
- Constant Field Values
-
WRONG_VARIATION2_CODE
public static final java.lang.String WRONG_VARIATION2_CODE
- See Also:
- Constant Field Values
-
CUSTOMIZATION_CODE
public static final java.lang.String CUSTOMIZATION_CODE
- See Also:
- Constant Field Values
-
SEGMENT1_CODE
public static final java.lang.String SEGMENT1_CODE
- See Also:
- Constant Field Values
-
SEGMENT2_CODE
public static final java.lang.String SEGMENT2_CODE
- See Also:
- Constant Field Values
-
WRONG_SEGMENT1_CODE
public static final java.lang.String WRONG_SEGMENT1_CODE
- See Also:
- Constant Field Values
-
WRONG_SEGMENT2_CODE
public static final java.lang.String WRONG_SEGMENT2_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testPostPreviewWithVariationsFields
public void testPostPreviewWithVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPostPreviewWithVariationsFieldsMissingCatalog
public void testPostPreviewWithVariationsFieldsMissingCatalog() throws java.io.IOException
- Throws:
java.io.IOException
-
testPostPreviewWithVariationsFieldsWrongCatalog
public void testPostPreviewWithVariationsFieldsWrongCatalog() throws java.io.IOException
- Throws:
java.io.IOException
-
testPostPreviewWithWrongVariationsFields
public void testPostPreviewWithWrongVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithVariationsFields
public void testPutPreviewWithVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithNotExistingVariationsFields
public void testPutPreviewWithNotExistingVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithMixedVariationsFields
public void testPutPreviewWithMixedVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPostPreviewWithSegmentsFields
public void testPostPreviewWithSegmentsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPostPreviewWithWrongSegmentsFields
public void testPostPreviewWithWrongSegmentsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithSegmentsFields
public void testPutPreviewWithSegmentsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithNotExistingSegmentsFields
public void testPutPreviewWithNotExistingSegmentsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithMixedSegmentsFields
public void testPutPreviewWithMixedSegmentsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
testPutPreviewWithNoVariationsFields
public void testPutPreviewWithNoVariationsFields() throws java.io.IOException
- Throws:
java.io.IOException
-
-