MotionEventSubject
Artifact: androidx.test.ext:truth
public final class MotionEventSubject extends Subject
| java.lang.Object | ||
| ↳ | com.google.common.truth.Subject | |
| ↳ | androidx.test.ext.truth.view.MotionEventSubject |
Subject for MotionEvent.
Summary
Inherited methods |
||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public methods
hasActionButton
public void hasActionButton(int actionButton)
Check the value of getActionButton
| Throws | |
|---|---|
java.lang.IllegalStateException |
if called on below Android API 23 |
historicalPointerCoords
public PointerCoordsSubject historicalPointerCoords(int pointerIndex, int pos)