ParcelableSubject

public final class ParcelableSubject
extends Subject

java.lang.Object
   ↳ com.google.common.truth.Subject
     ↳ androidx.test.ext.truth.os.ParcelableSubject<T extends android.os.Parcelable>


Testing subject for Parcelables.

Summary

Public methods

static <T extends Parcelable> ParcelableSubject<T> assertThat(T parcelable)
static <T extends Parcelable> Factory<ParcelableSubject<T>, T> parcelables()
void recreatesEqual(Creator<T> creator)

Inherited methods

Public methods

assertThat

public static ParcelableSubject<T> assertThat (T parcelable)

Parameters
parcelable T

Returns
ParcelableSubject<T>

parcelables

public static Factory<ParcelableSubject<T>, T> parcelables ()

Returns
Factory<ParcelableSubject<T>, T>

recreatesEqual

public void recreatesEqual (Creator<T> creator)

Parameters
creator Creator