Package de.hybris.order.calculation
Class OrderIntegrationTest
- java.lang.Object
-
- de.hybris.platform.testframework.HybrisJUnit4Test
-
- de.hybris.platform.servicelayer.ServicelayerBaseTest
-
- de.hybris.order.calculation.OrderIntegrationTest
-
- All Implemented Interfaces:
JaloSessionHolder
@IntegrationTest public class OrderIntegrationTest extends ServicelayerBaseTest
Order calculation tests
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
jaloSession
-
-
Constructor Summary
Constructors Constructor Description OrderIntegrationTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testCalculateAdditionalOrderCharges()
void
testCalculateDiscountValues()
void
testCalculateOrderDiscounts()
void
testCalculatePercentDiscountOnSomeUnitsOnly()
void
testCalculationWithDifferentCurrencies()
void
testDifferentCurrencyInAdditionalChargesForLineItemsAndOrder()
void
testDifferentCurrencyInDiscountsForLineItemsAndOrder()
void
testGiveAwayDiscount()
void
testMoneyChargePerUnit()
void
testMoneyDiscountsPerUnit()
void
testPercentChargePerUnit()
void
testPercentDiscountsPerUnit()
-
Methods inherited from class de.hybris.platform.servicelayer.ServicelayerBaseTest
autowireProperties, getApplicationContext, getBeanName, prepareApplicationContextAndSession
-
Methods inherited from class de.hybris.platform.testframework.HybrisJUnit4Test
establishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSession
-
-
-
-
Method Detail
-
testCalculateDiscountValues
public void testCalculateDiscountValues()
-
testCalculatePercentDiscountOnSomeUnitsOnly
public void testCalculatePercentDiscountOnSomeUnitsOnly()
-
testCalculationWithDifferentCurrencies
public void testCalculationWithDifferentCurrencies()
-
testDifferentCurrencyInAdditionalChargesForLineItemsAndOrder
public void testDifferentCurrencyInAdditionalChargesForLineItemsAndOrder()
-
testDifferentCurrencyInDiscountsForLineItemsAndOrder
public void testDifferentCurrencyInDiscountsForLineItemsAndOrder()
-
testCalculateOrderDiscounts
public void testCalculateOrderDiscounts()
-
testCalculateAdditionalOrderCharges
public void testCalculateAdditionalOrderCharges()
-
testGiveAwayDiscount
public void testGiveAwayDiscount()
-
testPercentDiscountsPerUnit
public void testPercentDiscountsPerUnit()
-
testMoneyDiscountsPerUnit
public void testMoneyDiscountsPerUnit()
-
testMoneyChargePerUnit
public void testMoneyChargePerUnit()
-
testPercentChargePerUnit
public void testPercentChargePerUnit()
-
-