Class ProductPriceDiffFinderTest


  • @UnitTest
    public class ProductPriceDiffFinderTest
    extends java.lang.Object
    • Constructor Detail

      • ProductPriceDiffFinderTest

        public ProductPriceDiffFinderTest()
    • 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.