public interface

SpannedSubject.Colored

 androidx.media3.test.utils.truth.SpannedSubject.Colored

Overview

Allows assertions about the color of a span.

Summary

Methods
public SpannedSubject.AndSpanFlagswithColor(int color)

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

Methods

public SpannedSubject.AndSpanFlags withColor(int color)

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

Parameters:

color: The expected color.

Returns:

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