PointerPropertiesSubject

public final class PointerPropertiesSubject
extends Subject<PointerPropertiesSubjectMotionEvent.PointerProperties>

java.lang.Object
   ↳ com.google.common.truth.Subject<androidx.test.ext.truth.view.PointerPropertiesSubjectandroid.view.MotionEvent.PointerProperties>
     ↳ 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

From class com.google.common.truth.Subject
From class java.lang.Object

Public methods

assertThat

PointerPropertiesSubject assertThat (MotionEvent.PointerProperties other)

Parameters
other MotionEvent.PointerProperties

Returns
PointerPropertiesSubject

hasId

void hasId (int id)

Parameters
id int

hasToolType

void hasToolType (int toolType)

Parameters
toolType int

isEqualTo

void isEqualTo (MotionEvent.PointerProperties other)

Parameters
other MotionEvent.PointerProperties

pointerProperties

Factory<PointerPropertiesSubjectMotionEvent.PointerProperties> pointerProperties ()

Returns
Factory<PointerPropertiesSubjectMotionEvent.PointerProperties>