@IntegrationTest public abstract class AbstractCalculationServiceTest extends ServicelayerTransactionalTest
| Modifier and Type | Field and Description |
|---|---|
protected PropertyConfigSwitcher |
europe1CacheTaxesProperty |
protected PropertyConfigSwitcher |
pdtCalculationModeProperty |
importServicejaloSession| Constructor and Description |
|---|
AbstractCalculationServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
prepareSettings() |
void |
revertSettings() |
void |
setUp() |
void |
shouldCalculateOrderWithGivenDateWithTaxesWithDateRange() |
void |
shouldRecalculateEntryEvenWhenItIsAlreadyCalculated() |
void |
shouldRecalculateOrderWithGivenDateWhenQuantityChanged() |
void |
shouldRecalculateOrderWithGivenDateWithTaxesWithDateRange() |
void |
shouldSetBackOrderDateWhenCalculationExceptionOccours() |
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, takeJaloSessionprotected PropertyConfigSwitcher europe1CacheTaxesProperty
protected PropertyConfigSwitcher pdtCalculationModeProperty
public abstract void prepareSettings()
public void revertSettings()
public 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
CalculationExceptionpublic void shouldRecalculateOrderWithGivenDateWhenQuantityChanged()
throws CalculationException
CalculationExceptionpublic void shouldRecalculateOrderWithGivenDateWithTaxesWithDateRange()
throws CalculationException
CalculationExceptionpublic void shouldCalculateOrderWithGivenDateWithTaxesWithDateRange()
throws CalculationException
CalculationExceptionpublic void shouldSetBackOrderDateWhenCalculationExceptionOccours()
throws CalculationException
CalculationExceptionCopyright © 2018 SAP SE. All Rights Reserved.