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
@IntegrationTest public class DefaultEntitlementIntegrationTest extends ServicelayerTest
Integration test for creating entitlements.
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ExpectedException
thrown
-
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 DefaultEntitlementIntegrationTest()
-
Method Summary
-
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
-
setUp
public void setUp() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_ValidPath_No1_PASS
public void test_Entitlement_CreateGeoCondition_ValidPath_No1_PASS() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x1
public void test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x1() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_NonMetered_GeoCondition_x2
public void test_Entitlement_CreateAndVerifyXML_NonMetered_GeoCondition_x2() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x2
public void test_Entitlement_CreateAndVerifyXML_Metered_GeoCondition_x2() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_ValidPath_No2_PASS
public void test_Entitlement_CreateGeoCondition_ValidPath_No2_PASS() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_ValidPath_No3_PASS
public void test_Entitlement_CreateGeoCondition_ValidPath_No3_PASS() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_MultipleConditionEntries
public void test_Entitlement_CreateGeoCondition_MultipleConditionEntries() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_GeoCondition_x2
public void test_Entitlement_CreateAndVerifyXML_GeoCondition_x2() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No1_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No1_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No2_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No2_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No3_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No3_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No4_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No4_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No5_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No5_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No6_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No6_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No7_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No7_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No8_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No8_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateGeoCondition_InvalidPath_No9_FAIL
public void test_Entitlement_CreateGeoCondition_InvalidPath_No9_FAIL() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_x1
public void test_Entitlement_CreateAndVerifyXML_MeteredCondition_x1() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_MeteredCondition_x2
public void test_Entitlement_CreateAndVerifyXML_MeteredCondition_x2() throws ImpExException
- 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
public void test_Entitlement_CreateAndVerifyXML_PathCondition_x2() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_StringCondition_x1
public void test_Entitlement_CreateAndVerifyXML_StringCondition_x1() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_StringCondition_x2
public void test_Entitlement_CreateAndVerifyXML_StringCondition_x2() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x1
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x1() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x2
public void test_Entitlement_CreateAndVerifyXML_TimeframeCondition_x2() throws ImpExException
- 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
public void test_Entitlement_CreateAndVerifyXML_WithoutCondition_x1() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CreateAndVerifyXML_WithoutCondition_x2
public void test_Entitlement_CreateAndVerifyXML_WithoutCondition_x2() throws ImpExException
- 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
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_Simple_Path() throws ImpExException
- 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
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_String_Path() throws ImpExException
- 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
public void test_Entitlement_CreateAndVerifyXML_MixedConditions_Metred_Full() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CompareXML_MixedConditions_DifferentTypes
public void test_Entitlement_CompareXML_MixedConditions_DifferentTypes() throws ImpExException
- Throws:
ImpExException
-
test_Entitlement_CompareXML_MixedConditions_DifferentProducts
public void test_Entitlement_CompareXML_MixedConditions_DifferentProducts() throws ImpExException
- Throws:
ImpExException
-
generateImpExFromTemplate
public java.lang.String generateImpExFromTemplate(java.lang.String templatePath, java.lang.String[] params)
-
getImpexTemplateProcessor
protected TemplateProcessor getImpexTemplateProcessor()
-
-