TestCollectionAssert
class TestCollectionAssert(testCollection: TestCollection) : AbstractAssert<TestCollectionAssert, TestCollection>
Functions
Link copied to clipboard
Link copied to clipboard
Assert the presence of equivalent components. Child parameters like id
and isSticky
are not compared.
Link copied to clipboard
Assert the components are exactly equivalent to the given list. Child parameters like id
and isSticky
are not compared.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert the absence of equivalent components. Child parameters like id
andisSticky
are not compared.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert the number of items in the collection.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Assert a condition on a child with a given id.
Assert a condition on a child at a given index.
Link copied to clipboard
Assert a condition on every item.
fun onChildren(matching: (TestCollectionItem) -> Boolean, condition: (List<TestCollectionItem>) -> Boolean): TestCollectionAssert
Assert a condition on all items filtered by the given predicate.
Link copied to clipboard
Assert a condition on the first child.
Link copied to clipboard
Assert a condition on the last child.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard