Skip to content
Commit 328c1aaf authored by Heqro Iglens's avatar Heqro Iglens Committed by Nate Graham
Browse files

Add simple tests for VolumeSlider

VolumeSlider is a Slider that features a MouseArea inside it. This is a combination that I myself have broken
from time to time. Hence, I add three simple test cases for reacting to clicks, for reacting to dragging while
the mouse is pressed and for reacting to the user's wheel input.

The test case for the wheel input requires to expose the 'wheelEffect' property, which is the hack we use
in MouseArea to avoid getting tickmarks. Its value is 5, because that's the value it had without the property.
Exposing this property makes sure that the test case won't fail if, say, the number 5 was exchanged for
the number 6.
parent 53e23eae
Pipeline #219787 passed with stage
in 15 minutes and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment