@IntegrationTest public class CalculationServiceTest extends ServicelayerTransactionalTest
importServicedefaultLanguage, jaloSession| Constructor and Description |
|---|
CalculationServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldRecalculateEntryEvenWhenItIsAlreadyCalculated() |
void |
testApplyDiscounts() |
void |
testApplyGlobalDiscounts() |
void |
testApplyTaxes() |
void |
testCalculateAbstractOrderModel()
|
void |
testConvertPriceCurrency() |
void |
testConvertPriceNetGross() |
void |
testEntryCalculation() |
void |
testGiveAwayHandling() |
void |
testRecalculateOrderEntry() |
void |
testRequiresCalculation() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testRequiresCalculation()
throws CalculationException
CalculationExceptionpublic void testCalculateAbstractOrderModel()
throws CalculationException
CalculationService.calculate(de.hybris.platform.core.model.order.AbstractOrderModel)
.CalculationExceptionpublic void testRecalculateOrderEntry()
throws CalculationException
CalculationExceptionpublic void testGiveAwayHandling()
public void testEntryCalculation()
throws java.lang.Exception
java.lang.Exceptionpublic void testApplyGlobalDiscounts()
throws CalculationException
CalculationExceptionpublic void testApplyTaxes()
throws CalculationException
CalculationExceptionpublic void testApplyDiscounts()
throws CalculationException
CalculationExceptionpublic void testConvertPriceNetGross()
public void testConvertPriceCurrency()
public void shouldRecalculateEntryEvenWhenItIsAlreadyCalculated()
throws CalculationException
CalculationExceptionCopyright © 2018 SAP SE. All Rights Reserved.