Class ScrollViewTests
Inheritance
ScrollViewTests
Assembly: cs.temp.dll.dll
public class ScrollViewTests : BasePlayModeTests
Methods
CanBeScrolledByTierOrIndexOrPage()
Tests if scroll can be moved by page, by tier or to make specific element to be presented in the first visible tier.
Declaration
public IEnumerator CanBeScrolledByTierOrIndexOrPage()
Returns
Type |
Description |
IEnumerator |
|
CanScrollDifferentSizesContent()
Tests if content made of objects of different sizes can be scrolled.
Declaration
public IEnumerator CanScrollDifferentSizesContent()
Returns
Type |
Description |
IEnumerator |
|
CanScrollNonCollectionContent()
Tests if component can scroll content made of objects layouted manually without a BaseObjectCollection.
Declaration
public IEnumerator CanScrollNonCollectionContent()
Returns
Type |
Description |
IEnumerator |
|
Tests if adding or deleting children items while scroll is engaged in a drag work as expected.
Declaration
public IEnumerator ChildrenCanBeAddedAndDeleted()
Returns
Type |
Description |
IEnumerator |
|
ClipOnlyVisibleContent()
Tests correct clipping logic for visible, partially visible and hidden content.
Ensures best performance of the clipping primitive component by disabling renderers that are hidden.
Declaration
public IEnumerator ClipOnlyVisibleContent()
Returns
Type |
Description |
IEnumerator |
|
ContentClickHappensOnTouchUp()
Tests if it is possible to ensure that children click only happens on touch up by changing children configuration.
Declaration
public IEnumerator ContentClickHappensOnTouchUp()
Returns
Type |
Description |
IEnumerator |
|
Tests if far interaction with GGV pointer can engage the scroll drag.
Declaration
public IEnumerator GGVScroll()
Returns
Type |
Description |
IEnumerator |
|
Tests scroll drag engage by interacting with the background empty space of a scroll view
Declaration
public IEnumerator InteractionWithBackgroundEmptySpace()
Returns
Type |
Description |
IEnumerator |
|
Tests if interaction with a pressable button child triggers an undesired jump or scroll drag.
Declaration
public IEnumerator NoJumpsWhenInteractingWithChildren()
Returns
Type |
Description |
IEnumerator |
|
Tests if scroll amount corresponds to a smooth copy of hand movement delta.
Overdamping is applied when scroll position is out of min and max bounds.
Declaration
public IEnumerator ScrollAmountHasCorrectDamp()
Returns
Type |
Description |
IEnumerator |
|
Tests if scroll engage is only triggered by a near interaction if pointer comes from the front plane.
Declaration
public IEnumerator ScrollEngageOnlyFromFrontInteraction()
Returns
Type |
Description |
IEnumerator |
|
Tests if far interaction with a pressable button item is reset after the user engages in a scroll drag.
User should be able to interact with other buttons right after scroll engage is finished.
Declaration
public IEnumerator ScrollEngageResetsFarInteractionWithChildren()
Returns
Type |
Description |
IEnumerator |
|
Tests if near interaction with a pressable button item is reset after the user engages in a scroll drag.
User should be able to interact with other buttons right after scroll engage is finished.
Declaration
public IEnumerator ScrollEngageResetsNearInteractionWithChildren()
Returns
Type |
Description |
IEnumerator |
|
Tests if scroll engage triggered by a near interaction is reset if pointer crosses outside boundaries threshold.
Declaration
public IEnumerator ScrollEngageResetsWhenOutOfBoundaryThreshold()
Returns
Type |
Description |
IEnumerator |
|
Tests if scroll behaves as expected if scroll object is rotated.
Declaration
public IEnumerator ScrollViewCanbeRotated()
Returns
Type |
Description |
IEnumerator |
|
Tests if updating the collection after scaling the scroll object does not alter clipping box local scale.
Declaration
public IEnumerator ScrollViewCanBeScaled()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public override IEnumerator Setup()
Returns
Type |
Description |
IEnumerator |
|
Overrides