PropertiesShould
Assertion builder for checking rule expectations on Kotlin property declarations.
Functions
Filter or assertion criteria for all of.
Asserts that selected properties satisfy at least one of the specified assertion blocks.
Filter or assertion criteria for be abstract.
Asserts that properties are annotated with annotation type parameter T.
Asserts that properties are annotated with annotation.
Filter or assertion criteria for be const.
Filter or assertion criteria for be documented with k doc.
Filter or assertion criteria for be extension.
Filter or assertion criteria for be internal.
Filter or assertion criteria for be lateinit.
Filter or assertion criteria for be member.
Filter or assertion criteria for be open.
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 top level.
Filter or assertion criteria for be val.
Filter or assertion criteria for be var.
Asserts that selected properties depend on package containing classes.
Asserts that properties depend on package of T.
Asserts that selected properties depend on types or usages in packages matching patterns.
Filter or assertion criteria for have all annotations of.
Asserts that properties have all of the specified annotations.
Filter or assertion criteria for have all modifiers.
Filter or assertion criteria for have annotation of.
Asserts that properties have the specified annotation class.
Asserts that properties have annotation type parameter T.
Filter or assertion criteria for have annotation with argument.
Asserts that properties have an annotation annotation with argument argName equal to argValue.
Filter or assertion criteria for have any annotation of.
Asserts that properties have any of the specified annotations.
Filter or assertion criteria for have any modifier.
Filter or assertion criteria for have any visibility.
Filter or assertion criteria for have import of.
Asserts that properties have an import of type parameter T.
Filter or assertion criteria for have 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 wildcard imports.
Filter or assertion criteria for have type.
Filter or assertion criteria for have type in.
Asserts that properties have type specified by type parameter T.
Filter or assertion criteria for have visibility.
Filter or assertion criteria for none of.
Filter or assertion criteria for not be const.
Filter or assertion criteria for not be extension.
Filter or assertion criteria for not be internal.
Filter or assertion criteria for not be lateinit.
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 call.
Asserts that properties do not call members of type parameter T.
Asserts that selected properties do not depend on package containing classes.
Asserts that properties do not depend on package of T.
Asserts that selected properties do not depend on types or usages in packages matching patterns.
Filter or assertion criteria for not have import of.
Asserts that properties do not have an import of type parameter T.
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 in.
Filter or assertion criteria for not have name matching.
Filter or assertion criteria for not have name starting with.
Filter or assertion criteria for not reference class.
Asserts that properties do not reference class type parameter T.
Filter or assertion criteria for not reside in a module.
Filter or assertion criteria for not reside in a package.
Filter or assertion criteria for not reside in module.
Filter or assertion criteria for not reside in modules.
Filter or assertion criteria for not reside in package.
Asserts that selected properties only depend on package containing classes.
Asserts that properties only depend on package of T.
Asserts that selected properties 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.
Asserts that selected properties satisfy a custom boolean condition.
Asserts that selected properties satisfy a custom violation-collecting assertion.
Asserts that selected properties satisfy custom description description.
Asserts that selected properties satisfy a custom boolean condition with description.
Asserts that selected properties satisfy a custom predicate within a SatisfyContext block identified by id and optional description.