Class DefaultEntitlementIntegrationTest
java.lang.Object
de.hybris.platform.testframework.HybrisJUnit4Test
de.hybris.platform.servicelayer.ServicelayerBaseTest
de.hybris.platform.servicelayer.ServicelayerTest
de.hybris.platform.entitlementfacades.integration.DefaultEntitlementIntegrationTest
- All Implemented Interfaces:
JaloSessionHolder
Integration test for creating entitlements.
-
Field Summary
FieldsFields 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 TypeMethodDescriptiongenerateImpExFromTemplate(String templatePath, String[] params) protected TemplateProcessorvoidsetUp()voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
thrown
public org.junit.rules.ExpectedException thrown
-
-
Constructor Details
-
DefaultEntitlementIntegrationTest
public DefaultEntitlementIntegrationTest()
-
-
Method Details
-
setUp
- Throws:
ImpExException
-
tearDown
public void tearDown() -
test_Entitlement_CreateGeoCondition_ValidPath_No1_PASS
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x1
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_NonMetered_GeoCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_ValidPath_No2_PASS
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_ValidPath_No3_PASS
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_MultipleConditionEntries
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_GeoCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No1_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No2_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No3_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No4_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No5_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No6_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No7_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No8_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No9_FAIL
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_x1
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_NoValue
public void test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_NoValue() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_NonNumericValue_FAIL
public void test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_NonNumericValue_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_ZeroValue_PASS
public void test_Entitlement_CreateAndVerifyXML_MeteredCondition_Quantity_ZeroValue_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No1_FAIL
public void test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No1_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No2_FAIL
public void test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No2_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No3_FAIL
public void test_Entitlement_CreateAndVerifyXML_PathCondition_InvalidPath_No3_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_No1_PASS
public void test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_No1_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_No2_PASS
public void test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_No2_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_Long_PASS
public void test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_Long_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_Short_PASS
public void test_Entitlement_CreateAndVerifyXML_PathCondition_ValidPath_Short_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_PathCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_StringCondition_x1
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_StringCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x1
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_TimeUnit_Without_StartTime_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_TimeUnit_Without_StartTime_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_only_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_only_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Negative_StartTime_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Negative_StartTime_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Negative_Duration_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Negative_Duration_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_NoValue_PASS
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_NoValue_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_ZeroValue_PASS
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_ZeroValue_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_UnlimitedValue_PASS
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_UnlimitedValue_PASS() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Start_NonNumericValue_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Start_NonNumericValue_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_NonNumericValue_FAIL
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_Duration_NonNumericValue_FAIL() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_WithoutCondition_x1
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_WithoutCondition_x2
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_String
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_String() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_Path
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_Metered
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_Metered() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_StringAndPath
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_StringAndPath() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_String_Path
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_StringAndMetered
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_StringAndMetered() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_PathAndMetered_x1
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_PathAndMetered_x1() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_TimeframeAndMetered_x1
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_TimeframeAndMetered_x1() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_GeoAndMetered_x1
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_GeoAndMetered_x1() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_NonMetered_Full
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_NonMetered_Full() throws ImpExException- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MixedConditions_Metred_Full
- Throws:
ImpExException
-
test_Entitlement_CompareXML_MixedConditions_DifferentTypes
- Throws:
ImpExException
-
test_Entitlement_CompareXML_MixedConditions_DifferentProducts
- Throws:
ImpExException
-
generateImpExFromTemplate
-
getImpexTemplateProcessor
-