🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

assertAll

Asserts that all the nodes in this collection satisfy the given matcher.

assertAll

Source set: Common
public fun SemanticsNodeInteractionCollection.assertAll(
    matcher: SemanticsMatcher
): SemanticsNodeInteractionCollection

Asserts that all the nodes in this collection satisfy the given matcher.

This passes also for empty collections.

Parameters

matcher Matcher that has to be satisfied by all the nodes in the collection.

Throws: AssertionError

if the collection contains at least one element that does not satisfy the given matcher.