FunctionAssertionScope

Properties

Link copied to clipboard
val assertions: <Error class: unknown class>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun beInline()
Link copied to clipboard
Link copied to clipboard
fun beOpen()
Link copied to clipboard
fun bePrivate()
Link copied to clipboard
Link copied to clipboard
fun bePublic()
Link copied to clipboard
fun beSuspend()
Link copied to clipboard
fun haveAllAnnotationsOf(vararg names: String)

Asserts that member functions are annotated with all of the specified annotations.

Link copied to clipboard
fun haveAllModifiers(vararg modifiers: Modifier)
fun haveAllModifiers(modifiers: List<Modifier>)

Asserts that member functions have all of the specified modifiers.

Link copied to clipboard
fun haveAnnotationOf(vararg annotationNames: String)
fun haveAnnotationOf(annotationName: String)
fun haveAnnotationOf(annotationNames: List<String>)
Link copied to clipboard
fun haveAnyAnnotationOf(vararg names: String)

Asserts that member functions are annotated with any of the specified annotations.

Link copied to clipboard
fun haveAnyModifier(vararg modifiers: Modifier)
fun haveAnyModifier(modifiers: List<Modifier>)

Asserts that member functions have any of the specified modifiers.

Link copied to clipboard
fun haveAnyVisibility(vararg visibilities: Visibility)
fun haveAnyVisibility(visibilities: List<Visibility>)

Asserts that member functions have any of the specified visibilities.

Link copied to clipboard
fun haveModifier(modifier: Modifier)
Link copied to clipboard
fun haveNameEndingWith(vararg suffixes: String)
Link copied to clipboard
fun haveNameMatching(vararg patterns: String)
fun haveNameMatching(pattern: String)
fun haveNameMatching(patterns: List<String>)
Link copied to clipboard
fun haveNameStartingWith(vararg prefixes: String)
Link copied to clipboard
fun haveReturnType(vararg typeFqNames: String)
fun haveReturnType(typeFqName: String)
fun haveReturnType(typeFqNames: List<String>)