Class ProductPriceDiffFinderTest
- java.lang.Object
-
- de.hybris.platform.catalog.job.diff.impl.ProductPriceDiffFinderTest
-
@UnitTest public class ProductPriceDiffFinderTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProductPriceDiffFinderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepare()voidtestPopulateDifferenceModel()voidtestProcessSearchesWithDifferentSizePriceTheSamePriceValueInformation()voidtestProcessSearchesWithEmptyPriceInformation()voidtestProcessSearchesWithEmptyProductsDifferenceCount()voidtestProcessSearchesWithNullPriceInformation()voidtestProcessSearchesWithTheSameSizePriceDifferentPriceValueAndToleranceInformation()price tolarence is measured between from old = 5 and new = 5.1 to old =1 and new =1.1 as (old - new ) *100 / old all tolerance above 5 are used, which means only one difference entry.voidtestProcessSearchesWithTheSameSizePriceDifferentPriceValueInformation()voidtestSkipSearches()
-
-
-
Method Detail
-
prepare
public void prepare()
-
testPopulateDifferenceModel
public void testPopulateDifferenceModel()
-
testSkipSearches
public void testSkipSearches()
-
testProcessSearchesWithEmptyProductsDifferenceCount
public void testProcessSearchesWithEmptyProductsDifferenceCount()
-
testProcessSearchesWithNullPriceInformation
public void testProcessSearchesWithNullPriceInformation()
-
testProcessSearchesWithEmptyPriceInformation
public void testProcessSearchesWithEmptyPriceInformation()
-
testProcessSearchesWithDifferentSizePriceTheSamePriceValueInformation
public void testProcessSearchesWithDifferentSizePriceTheSamePriceValueInformation()
-
testProcessSearchesWithTheSameSizePriceDifferentPriceValueInformation
public void testProcessSearchesWithTheSameSizePriceDifferentPriceValueInformation()
-
testProcessSearchesWithTheSameSizePriceDifferentPriceValueAndToleranceInformation
public void testProcessSearchesWithTheSameSizePriceDifferentPriceValueAndToleranceInformation()
price tolarence is measured between from old = 5 and new = 5.1 to old =1 and new =1.1 as (old - new ) *100 / old all tolerance above 5 are used, which means only one difference entry.
-
-