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<out Any>
Verify that a component tree contains a component that matches the provided condition at any level in its tree.
Link copied to clipboard
open fun extract(input: Component): List<InspectableComponent>
Link copied to clipboard
open fun subComponentsDeeply(c: ComponentContext): SubComponentDeepExtractor
Extract sub components recursively, from a provided Component in a depth-first manner.