Class OrderedRelationUnitTest

java.lang.Object
de.hybris.platform.persistence.links.jdbc.dml.relation.OrderedRelationUnitTest

@UnitTest public class OrderedRelationUnitTest extends Object
  • Constructor Details

    • OrderedRelationUnitTest

      public OrderedRelationUnitTest()
  • Method Details

    • shouldNoGenerateOperationsForRemovalOfEmptyItems

      public void shouldNoGenerateOperationsForRemovalOfEmptyItems()
    • shouldNoGenerateOperationsForRemovalWhenRelationHasNoChildren

      public void shouldNoGenerateOperationsForRemovalWhenRelationHasNoChildren()
    • shouldGenerateRemoveOperation

      public void shouldGenerateRemoveOperation()
    • shouldGenerateRemoveOperationsForAllChildren

      public void shouldGenerateRemoveOperationsForAllChildren()
    • shouldInsertWhenThereIsNoExistingLink

      public void shouldInsertWhenThereIsNoExistingLink()
    • shouldInsertChildrenAtTheEndWhenPositionIsNegative

      public void shouldInsertChildrenAtTheEndWhenPositionIsNegative()
    • shouldInsertChildrenAtTheBeginningAndShiftExistingLinks

      public void shouldInsertChildrenAtTheBeginningAndShiftExistingLinks()
    • shouldInsertChildrenAtTheBeginningAndNotShiftExistingLinks

      public void shouldInsertChildrenAtTheBeginningAndNotShiftExistingLinks()
    • shouldInsertChildrenInTheMiddleAndNotShiftExistingLinks

      public void shouldInsertChildrenInTheMiddleAndNotShiftExistingLinks()
    • shouldInsertChildrenInTheMiddleAndShiftExistingLinks

      public void shouldInsertChildrenInTheMiddleAndShiftExistingLinks()
    • shouldSetChildrenForEmptyRelation

      public void shouldSetChildrenForEmptyRelation()
    • shouldRemoveAllExistingLinksWhenSettingToEmptyCollection

      public void shouldRemoveAllExistingLinksWhenSettingToEmptyCollection()
    • shouldReuseAllExistingLinksWithoutGaps

      public void shouldReuseAllExistingLinksWithoutGaps()
    • shouldReuseAllExistingLinksWithGaps

      public void shouldReuseAllExistingLinksWithGaps()
    • shouldReusePartOfExistingLinks

      public void shouldReusePartOfExistingLinks()
    • shouldNotShiftWhenLinkCanBeReused

      public void shouldNotShiftWhenLinkCanBeReused()
    • shouldShiftWhenPositionOfExistingLinkMustBeChanged

      public void shouldShiftWhenPositionOfExistingLinkMustBeChanged()
    • shouldReuseMultipleLinksToTheSameChild

      public void shouldReuseMultipleLinksToTheSameChild()
    • shouldBeSmart

      public void shouldBeSmart()
    • shouldTouchParrentAndChildWhenRemovingExistingLink

      public void shouldTouchParrentAndChildWhenRemovingExistingLink()
    • shouldNotTouchParrentAndChildWhenRemovingNonExistingLink

      public void shouldNotTouchParrentAndChildWhenRemovingNonExistingLink()
    • shouldTouchParrentAndChildWhenInsertingNewLink

      public void shouldTouchParrentAndChildWhenInsertingNewLink()
    • shouldNotTouchNotShiftedChildWhenInsertingNewLink

      public void shouldNotTouchNotShiftedChildWhenInsertingNewLink()
    • shouldNotTouchShiftedChildWhenInsertingNewLink

      public void shouldNotTouchShiftedChildWhenInsertingNewLink()
    • shouldNotTouchParrentAndChildWhenSettingToTheSameLinks

      public void shouldNotTouchParrentAndChildWhenSettingToTheSameLinks()