TestNodeMatcher

class TestNodeMatcher(val description: String, predicate: (TestNode) -> Boolean)

This abstraction allows you to represent any given predicate on a TestNode. This is the base to the mechanism that allows filtering test nodes to perform assertions or the matchers used in the assertions.

Constructors

Link copied to clipboard
constructor(description: String, predicate: (TestNode) -> Boolean)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
infix fun and(nodeMatcher: TestNodeMatcher): TestNodeMatcher
Link copied to clipboard
Link copied to clipboard
operator fun not(): TestNodeMatcher
Link copied to clipboard
infix fun or(nodeMatcher: TestNodeMatcher): TestNodeMatcher