PropertySelectorShould

Fluent assertion receiver for sequential assertions on a PropertySelector.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun beConst()

Asserts that all properties in the selector are compile-time constants ('const val').

Link copied to clipboard

Asserts that all properties in the selector are internal.

Link copied to clipboard

Asserts that all properties in the selector are marked 'lateinit'.

Link copied to clipboard
fun bePrivate()

Asserts that all properties in the selector are private.

Link copied to clipboard

Asserts that all properties in the selector are protected.

Link copied to clipboard
fun bePublic()

Asserts that all properties in the selector are public.

Link copied to clipboard
fun beVal()

Asserts that all properties in the selector are read-only ('val').

Link copied to clipboard
fun beVar()

Asserts that all properties in the selector are mutable ('var').

Link copied to clipboard
fun haveAnnotationOf(vararg annotations: String)

Asserts that all properties have any of the specified annotations.

Link copied to clipboard
fun haveNameMatching(vararg patterns: String)

Asserts that property names match any of the specified glob patterns.