public interface

SpannedSubject.RubyText

 androidx.media3.test.utils.truth.SpannedSubject.RubyText

Overview

Allows assertions about a span's ruby text and its position.

Summary

Methods
public SpannedSubject.AndSpanFlagswithTextAndPosition(java.lang.String text, int position)

Checks that at least one of the matched spans has the expected text.

Methods

public SpannedSubject.AndSpanFlags withTextAndPosition(java.lang.String text, int position)

Checks that at least one of the matched spans has the expected text.

Parameters:

text: The expected text.
position: The expected position of the text.

Returns:

A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.