Function

assertAll

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

Source set: Common

Added in 1.11.0-rc01

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.