MultipleActionMediaControlVerifier
class MultipleActionMediaControlVerifier<Control : MultipleActionMediaControl>( objectFactory: (MediaControlContext) -> Control, supportedActions: Collection<Action>, verifyVisibility: Boolean = true)
Content copied to clipboard
Simple verification class for MultipleActionMediaControl classes.
Verifies the necessary conditions for availability, visibility, and conversion to action. This only checks for the states of the MultipleActionMediaControl: any additional behavior must be verified separately.
Parameters
objectFactory
A lambda to generate SUT objects.
supportedActions
The Actions supported by the SUT.
verifyVisibility
If false
, the control is assumed to always be visible and its visibility does not get tested.
Constructors
Link copied to clipboard
fun <Control : MultipleActionMediaControl> MultipleActionMediaControlVerifier( objectFactory: (MediaControlContext) -> Control, supportedActions: Collection<Action>, verifyVisibility: Boolean = true)
Content copied to clipboard