FunctionSelectorShould

Fluent assertion receiver for sequential assertions on a FunctionSelector.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun beInfix()

Asserts that all functions in the selector are infix functions.

Link copied to clipboard
fun beInline()

Asserts that all functions in the selector are marked inline.

Link copied to clipboard

Asserts that all functions in the selector are internal.

Link copied to clipboard

Asserts that all functions in the selector are operator functions.

Link copied to clipboard

Asserts that all functions in the selector are override functions.

Link copied to clipboard
fun bePrivate()

Asserts that all functions in the selector are private.

Link copied to clipboard

Asserts that all functions in the selector are protected.

Link copied to clipboard
fun bePublic()

Asserts that all functions in the selector are public.

Link copied to clipboard
fun beSuspend()

Asserts that all functions in the selector are suspend functions.

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

Asserts that all functions have any of the specified annotations.

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

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