PointerPropertiesSubject

public final class PointerPropertiesSubject
extends Subject

java.lang.Object
   ↳ com.google.common.truth.Subject
     ↳ androidx.test.ext.truth.view.PointerPropertiesSubject


Subject for MotionEvent.PointerProperties

Summary

Public methods

static PointerPropertiesSubject assertThat(MotionEvent.PointerProperties other)
void hasId(int id)
void hasToolType(int toolType)
void isEqualTo(MotionEvent.PointerProperties other)
static Factory<PointerPropertiesSubjectMotionEvent.PointerProperties> pointerProperties()

Inherited methods

Public methods

assertThat

public static PointerPropertiesSubject assertThat (MotionEvent.PointerProperties other)

Parameters
other MotionEvent.PointerProperties

Returns
PointerPropertiesSubject

hasId

public void hasId (int id)

Parameters
id int

hasToolType

public void hasToolType (int toolType)

Parameters
toolType int

isEqualTo

public void isEqualTo (MotionEvent.PointerProperties other)

Parameters
other MotionEvent.PointerProperties

pointerProperties

public static Factory<PointerPropertiesSubjectMotionEvent.PointerProperties> pointerProperties ()

Returns
Factory<PointerPropertiesSubjectMotionEvent.PointerProperties>