NotificationSubject
Artifact: androidx.test.ext:truth
class NotificationSubject : Subject
Subject for making assertions about android.app.Notifications.
Summary
Public functions |
|
|---|---|
java-static NotificationSubject! |
assertThat(notification: Notification!) |
PendingIntentSubject! |
|
PendingIntentSubject! |
|
Unit |
doesNotHaveFlags(flags: Int) |
BundleSubject! |
extras() |
Unit |
Assert that the notification has the given flags set. |
java-static Subject.Factory<NotificationSubject!, Notification!>! |
|
StringSubject! |
Inherited functions |
||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public functions
notifications
java-static fun notifications(): Subject.Factory<NotificationSubject!, Notification!>!