object NodeTreeLikeAdapter : TreeLikeAdapter<Node>
An adapter for baseShouldMatchSubtree. |
typealias Assertions<M> = (M) -> Unit
A function feedable to io.kotlintest.should, which fails the test if an AssertionError is thrown. |
|
typealias NodeSpec<N> = TreeNodeWrapper<Node, N>.() -> Unit
A subtree matcher written in the DSL documented on TreeNodeWrapper. |
fun <N : Node> matchNode(ignoreChildren: Boolean = false, nodeSpec: NodeSpec<N>): Assertions<Node?>
Returns an assertion function asserting that its parameter conforms to the given NodeSpec. |