Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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

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>