Class ProductPriceDiffFinderTest

java.lang.Object
de.hybris.platform.catalog.job.diff.impl.ProductPriceDiffFinderTest

@UnitTest public class ProductPriceDiffFinderTest extends Object
  • Constructor Details

    • ProductPriceDiffFinderTest

      public ProductPriceDiffFinderTest()
  • Method Details

    • 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.