NotificationActionSubject


class NotificationActionSubject : Subject


Subject for making assertions about android.app.Notification.Actions.

Only supports on Android APIs >= 16

Summary

Inherited functions

From com.google.common.truth.Subject
String!
Boolean
equals(o: Any?)

This function is deprecated.

Unit
failWithActual(key: String!, value: Any?)
Unit
failWithoutActual(first: Fact!, rest: Array<Fact!>!)
Int

This function is deprecated.

StandardSubjectBuilder!
Unit
isAnyOf(first: Any?, second: Any?, rest: Array<Any?>?)
Unit
isEqualTo(expected: Any?)
Unit
isIn(iterable: (Mutable)Iterable<Any!>?)
Unit
isInstanceOf(clazz: Class<Any!>!)
Unit
isNoneOf(first: Any?, second: Any?, rest: Array<Any?>?)
Unit
isNotEqualTo(unexpected: Any?)
Unit
isNotIn(iterable: (Mutable)Iterable<Any!>?)
Unit
Unit
Unit
isNotSameInstanceAs(unexpected: Any?)
Unit
Unit
isSameInstanceAs(expected: Any?)
String!

This function is deprecated.

Public functions

assertThat

java-static fun assertThat(action: Notification.Action!): NotificationActionSubject!

notificationActions

java-static fun notificationActions(): Subject.Factory<NotificationActionSubject!, Notification.Action!>!

title

fun title(): StringSubject!