Back to Exoplayer

SpannedSubject.AbsoluteSized (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/testutil/truth/SpannedSubject.AbsoluteSized.html

latest1.2 KB
Original Source

Package com.google.android.exoplayer2.testutil.truth

Interface SpannedSubject.AbsoluteSized


public static interfaceSpannedSubject.AbsoluteSized

Allows assertions about the absolute size of a span.

Method Summary

All Methods Instance Methods Abstract Methods | Modifier and Type | Method | Description | | --- | --- | --- | | SpannedSubject.AndSpanFlags | withAbsoluteSize​(int size) | Checks that at least one of the matched spans has the expected size. |

Method Detail

- 

withAbsoluteSize

[SpannedSubject.AndSpanFlags](SpannedSubject.AndSpanFlags.html "interface in com.google.android.exoplayer2.testutil.truth")withAbsoluteSize​(int size)

Checks that at least one of the matched spans has the expected size. Parameters:size - The expected size.Returns:A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.