-
public interface UiBaseAssertionsBase interface for asserting UiAutomator views
Provides basic assertions that can be performed on any view
-
-
Method Summary
Modifier and Type Method Description UnitisDisplayed()Checks if the view is completely displayed UnitisNotDisplayed()Checks if the view is not completely displayed UnitisSelected()Checks if the view is selected UnitisNotSelected()Checks if the view is not selected UnitisFocused()Checks if the view is focused UnitisNotFocused()Checks if the view is not focused UnitisFocusable()Checks if the view is focusable UnitisNotFocusable()Checks if the view is not focusable UnitisClickable()Checks if the view is clickable UnitisNotClickable()Checks if the view is not clickable UnitisEnabled()Checks if the view is enabled UnitisDisabled()Checks if the view is disabled abstract UiObjectInteractionDelegategetView()-
-
Method Detail
-
isDisplayed
Unit isDisplayed()
Checks if the view is completely displayed
-
isNotDisplayed
Unit isNotDisplayed()
Checks if the view is not completely displayed
-
isSelected
Unit isSelected()
Checks if the view is selected
-
isNotSelected
Unit isNotSelected()
Checks if the view is not selected
-
isNotFocused
Unit isNotFocused()
Checks if the view is not focused
-
isFocusable
Unit isFocusable()
Checks if the view is focusable
-
isNotFocusable
Unit isNotFocusable()
Checks if the view is not focusable
-
isClickable
Unit isClickable()
Checks if the view is clickable
-
isNotClickable
Unit isNotClickable()
Checks if the view is not clickable
-
isDisabled
Unit isDisabled()
Checks if the view is disabled
-
getView
abstract UiObjectInteractionDelegate getView()
-
-
-
-