Interface SpannedSubject.RubyText
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.RubyTextAllows assertions about a span's ruby text and its position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlagswithTextAndPosition(String text, @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position)Checks that at least one of the matched spans has the expectedtext.
-
-
-
Method Detail
-
withTextAndPosition
SpannedSubject.AndSpanFlags withTextAndPosition(String text, @com.google.android.exoplayer2.text.span.TextAnnotation.Position int position)
Checks that at least one of the matched spans has the expectedtext.- Parameters:
text- The expected text.position- The expected position of the text.- Returns:
- A
SpannedSubject.WithSpanFlagsobject for optional additional assertions on the flags.
-
-