{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class BundleSubject
Subject for making assertions about Bundles.
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
java-static BundleSubject! |
assertThat(bundle: Bundle!) |
BooleanSubject! |
|
java-static 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! |
|
ObjectArraySubject<String>! |
stringArray(key: String!) |
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.