GlanceNode
abstract class GlanceNode<T : Any?>
GlanceMappedNode |
An implementation of |
A wrapper for Glance composable node under test.
| Parameters | |
|---|---|
<T : Any?> |
A representation of Glance composable node (e.g. MappedNode) on which assertions can be performed |
Summary
Public functions |
|
|---|---|
abstract List<GlanceNode<T>> |
children()Returns children of current glance node. |
open operator Boolean |
|
open Int |
hashCode() |
abstract String |
Returns the Glance node as string that can be presented in error messages helping developer debug the assertion error. |
open String |
toString() |
Public properties |
|
|---|---|
T |
an object of the representation of the Glance composable node |
Public functions
children
abstract fun children(): List<GlanceNode<T>>
Returns children of current glance node.
toDebugString
abstract fun toDebugString(): String
Returns the Glance node as string that can be presented in error messages helping developer debug the assertion error.