TestCollectionAssert

class TestCollectionAssert(testCollection: TestCollection) : AbstractAssert<TestCollectionAssert, TestCollection>

Constructors

Link copied to clipboard
constructor(testCollection: TestCollection)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val info: WritableAssertionInfo

Functions

Link copied to clipboard
open override fun as(p0: Description): TestCollectionAssert
open override fun as(p0: String, vararg p1: Any): TestCollectionAssert
Link copied to clipboard
open override fun asList(): AbstractListAssert<*, MutableList<out Any>, Any, ObjectAssert<Any>>
Link copied to clipboard
open override fun asString(): AbstractCharSequenceAssert<*, String>
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
open override fun describedAs(p0: Description): TestCollectionAssert
open override fun describedAs(p0: String, vararg p1: Any): TestCollectionAssert
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
open override fun doesNotHave(p0: Condition<in TestCollection>): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard

Assert visible views within the collection does not have the textRes's text as its text.

Assert visible views within the collection does not have the text as its text.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open fun getWritableAssertionInfo(): WritableAssertionInfo
Link copied to clipboard
open override fun has(p0: Condition<in TestCollection>): TestCollectionAssert
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun hasSameClassAs(p0: Any): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard

Assert the number of items in the collection.

Link copied to clipboard
open override fun hasToString(p0: String): TestCollectionAssert
Link copied to clipboard

Assert visible views within the collection has the textRes's text as its text.

Assert visible views within the collection has the text as its text.

Link copied to clipboard
open override fun is(p0: Condition<in TestCollection>): TestCollectionAssert
Link copied to clipboard
open override fun isEqualTo(p0: Any): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
open override fun isIn(vararg p0: Any): TestCollectionAssert
open override fun isIn(p0: MutableIterable<*>): TestCollectionAssert
Link copied to clipboard
open override fun isInstanceOf(p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isInstanceOfAny(vararg p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isNot(p0: Condition<in TestCollection>): TestCollectionAssert
Link copied to clipboard
open override fun isNotEqualTo(p0: Any): TestCollectionAssert
Link copied to clipboard
Link copied to clipboard
open override fun isNotIn(vararg p0: Any): TestCollectionAssert
open override fun isNotIn(p0: MutableIterable<*>): TestCollectionAssert
Link copied to clipboard
open override fun isNotInstanceOf(p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isNotInstanceOfAny(vararg p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isNotNull(): TestCollectionAssert
Link copied to clipboard
open override fun isNotOfAnyClassIn(vararg p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isNotSameAs(p0: Any): TestCollectionAssert
Link copied to clipboard
open override fun isNull()
Link copied to clipboard
open override fun isOfAnyClassIn(vararg p0: Class<*>): TestCollectionAssert
Link copied to clipboard
open override fun isSameAs(p0: Any): TestCollectionAssert
Link copied to clipboard

Assert a condition on a child with a given id.

fun onChild(withIndex: Int, condition: (TestCollectionItem) -> Boolean): TestCollectionAssert

Assert a condition on a child at a given index.

Link copied to clipboard

Assert a condition on every item.

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
open fun withFailMessage(p0: String, vararg p1: Any): TestCollectionAssert
Link copied to clipboard
open override fun withRepresentation(p0: Representation): TestCollectionAssert
Link copied to clipboard