FunctionsShould
Assertion builder for checking rule expectations on Kotlin function declarations.
Functions
Filter or assertion criteria for all of.
Asserts that selected functions satisfy at least one of the specified assertion blocks.
Filter or assertion criteria for be abstract.
Asserts that functions are annotated with the annotation specified by type parameter T.
Asserts that functions are annotated with the specified annotation class.
Filter or assertion criteria for be documented with k doc.
Filter or assertion criteria for be extension.
Filter or assertion criteria for be infix.
Filter or assertion criteria for be inline.
Filter or assertion criteria for be internal.
Filter or assertion criteria for be member.
Filter or assertion criteria for be open.
Filter or assertion criteria for be operator.
Filter or assertion criteria for be override.
Filter or assertion criteria for be private.
Filter or assertion criteria for be protected.
Filter or assertion criteria for be public.
Filter or assertion criteria for be suspend.
Filter or assertion criteria for be top level.
Asserts that selected functions depend on package containing classes.
Asserts that functions depend on package of T.
Asserts that selected functions depend on types or usages in packages matching patterns.
Asserts that selected functions are annotated with all of the specified annotations.
Asserts that functions have all of the specified annotations.
Asserts that selected functions have all of the specified modifiers.
Filter or assertion criteria for have annotation of.
Asserts that functions have the specified annotation class.
Asserts that functions have the annotation type parameter T.
Filter or assertion criteria for have annotation with argument.
Asserts that functions have an annotation annotation with an argument argName equal to argValue.
Asserts that selected functions are annotated with any of the specified annotations.
Asserts that functions have any of the specified annotations.
Asserts that selected functions have at least one of the specified modifiers.
Asserts that selected functions have at least one parameter of one of the specified types.
Asserts that selected functions have a parameter of any specified raw type.
Asserts that selected functions have a parameter of raw type T.
Asserts that selected functions have any of the specified visibilities.
Asserts that selected functions contain the specified modifier.
Filter or assertion criteria for have name.
Filter or assertion criteria for have name ending with.
Filter or assertion criteria for have name matching.
Filter or assertion criteria for have name starting with.
Filter or assertion criteria for have no parameters.
Asserts that selected functions take exactly these parameter types in order (simple or fully qualified).
Asserts that selected functions take exactly these raw parameter types in order.
Filter or assertion criteria for have return type.
Asserts that selected functions have the specified return type fully qualified name typeFqName.
Asserts that selected functions have the specified raw return type.
Asserts that selected functions have the specified raw return type.
Asserts that selected functions have the specified visibility.
Filter or assertion criteria for none of.
Filter or assertion criteria for not be abstract.
Filter or assertion criteria for not be extension.
Filter or assertion criteria for not be infix.
Filter or assertion criteria for not be inline.
Filter or assertion criteria for not be internal.
Filter or assertion criteria for not be open.
Filter or assertion criteria for not be operator.
Filter or assertion criteria for not be override.
Filter or assertion criteria for not be private.
Filter or assertion criteria for not be protected.
Filter or assertion criteria for not be public.
Filter or assertion criteria for not be suspend.
Fails when the selected function invokes T.
Asserts that selected functions do not depend on package containing classes.
Asserts that functions do not depend on package of T.
Asserts that selected functions do not depend on types or usages in packages matching patterns.
Filter or assertion criteria for not have modifier.
Filter or assertion criteria for not have name.
Filter or assertion criteria for not have name ending with.
Filter or assertion criteria for not have name matching.
Filter or assertion criteria for not have name starting with.
Fails for every actual class/type use of T in the selected function.
Filter or assertion criteria for not reside in a module.
Filter or assertion criteria for not reside in module.
Filter or assertion criteria for not reside in modules.
Asserts that selected functions only depend on package containing classes.
Asserts that functions only depend on package of T.
Asserts that selected functions only depend on types or usages in packages matching patterns.
Filter or assertion criteria for reside in a module.
Filter or assertion criteria for reside in a package.
Filter or assertion criteria for reside in module.
Filter or assertion criteria for reside in modules.
Filter or assertion criteria for reside in package of.
Asserts that selected functions satisfy a custom boolean condition.
Asserts that selected functions satisfy a custom violation-collecting assertion.
Asserts that selected functions satisfy custom description description.
Asserts that selected functions satisfy a custom boolean condition with description.
Asserts that selected functions satisfy a custom predicate within a SatisfyContext block identified by id and optional description.