@UnitTest public class OrderedRelationUnitTest extends java.lang.Object
| Constructor and Description |
|---|
OrderedRelationUnitTest() |
public void shouldNoGenerateOperationsForRemovalOfEmptyItems()
public void shouldNoGenerateOperationsForRemovalWhenRelationHasNoChildren()
public void shouldGenerateRemoveOperation()
public void shouldGenerateRemoveOperationsForAllChildren()
public void shouldInsertWhenThereIsNoExistingLink()
public void shouldInsertChildrenAtTheEndWhenPositionIsNegative()
public void shouldInsertChildrenAtTheBeginningAndShiftExistingLinks()
public void shouldInsertChildrenAtTheBeginningAndNotShiftExistingLinks()
public void shouldInsertChildrenInTheMiddleAndNotShiftExistingLinks()
public void shouldInsertChildrenInTheMiddleAndShiftExistingLinks()
public void shouldSetChildrenForEmptyRelation()
public void shouldRemoveAllExistingLinksWhenSettingToEmptyCollection()
public void shouldReuseAllExistingLinksWithoutGaps()
public void shouldReuseAllExistingLinksWithGaps()
public void shouldReusePartOfExistingLinks()
public void shouldNotShiftWhenLinkCanBeReused()
public void shouldShiftWhenPositionOfExistingLinkMustBeChanged()
public void shouldReuseMultipleLinksToTheSameChild()
public void shouldBeSmart()
public void shouldTouchParrentAndChildWhenRemovingExistingLink()
public void shouldNotTouchParrentAndChildWhenRemovingNonExistingLink()
public void shouldTouchParrentAndChildWhenInsertingNewLink()
public void shouldNotTouchNotShiftedChildWhenInsertingNewLink()
public void shouldNotTouchShiftedChildWhenInsertingNewLink()
public void shouldNotTouchParrentAndChildWhenSettingToTheSameLinks()
Copyright © 2018 SAP SE. All Rights Reserved.