{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class BundleSubject
Subject for making assertions about Bundles.
Public functions |
|
|---|---|
BundleSubject |
assertThat(bundle: Bundle) |
BooleanSubject |
|
Factory<BundleSubject, Bundle> |
bundles() |
Unit |
containsKey(key: String) |
Unit |
doesNotContainKey(key: String) |
DoubleSubject |
doubleFloat(key: String) |
Unit |
|
IntegerSubject |
|
Unit |
isEmpty() |
Unit |
|
LongSubject |
|
ParcelableSubject<T> |
<T : Parcelable?> parcelable(key: String) |
IterableSubject |
parcelableArrayList(key: String) |
SubjectT |
<T : Parcelable?, SubjectT : Subject?> parcelableAsType( |
Subject |
serializable(key: String)Returns a truth subject for the value associated with the given key. |
StringSubject |
|
IterableSubject |
stringArrayList(key: String) |
fun <T : Parcelable?, SubjectT : Subject?> parcelableAsType(
key: String,
subjectFactory: Factory<SubjectT, T>
): SubjectT
fun serializable(key: String): Subject
Returns a truth subject for the value associated with the given key.