SubComponentDeepExtractor

class SubComponentDeepExtractor : Extractor<F, T>

Deprecated

An extractor to be used with assertThat.

Recursively extracts sub components from a Component, wrapping them in an .

Components are extracted in a depth-first way so that they match the hierarchy indices when going from top to bottom.

In most cases you will want to use the deepSubComponentWith combinator.

Deprecated

Use ) instead.

Functions

Link copied to clipboard
open fun deepSubComponentWith(c: ComponentContext, inner: Condition<InspectableComponent>): Condition<in Component>
Verify that a component tree contains a component that matches the provided condition at any level in its tree.
Link copied to clipboard
Link copied to clipboard
Extract sub components recursively, from a provided Component in a depth-first manner.