PropertiesShould

Properties

Link copied to clipboard
open override val builder: PropertiesRuleBuilder

Filter or assertion criteria for builder.

Functions

Link copied to clipboard
open fun allOf(vararg blocks: PropertiesShould.() -> Unit): PropertiesRuleBuilder

Filter or assertion criteria for all of.

Link copied to clipboard
open fun anyOf(vararg blocks: PropertiesShould.() -> Unit): PropertiesRuleBuilder

Asserts that selected properties satisfy at least one of the specified assertion blocks.

Link copied to clipboard

Filter or assertion criteria for be abstract.

Link copied to clipboard

Asserts that properties are annotated with annotation type parameter T.

Asserts that properties are annotated with annotation.

Link copied to clipboard

Filter or assertion criteria for be const.

Link copied to clipboard

Filter or assertion criteria for be documented with k doc.

Link copied to clipboard

Filter or assertion criteria for be extension.

Link copied to clipboard

Filter or assertion criteria for be internal.

Link copied to clipboard

Filter or assertion criteria for be lateinit.

Link copied to clipboard

Filter or assertion criteria for be member.

Link copied to clipboard

Filter or assertion criteria for be open.

Link copied to clipboard

Filter or assertion criteria for be override.

Link copied to clipboard

Filter or assertion criteria for be private.

Link copied to clipboard

Filter or assertion criteria for be protected.

Link copied to clipboard

Filter or assertion criteria for be public.

Link copied to clipboard

Filter or assertion criteria for be top level.

Link copied to clipboard

Filter or assertion criteria for be val.

Link copied to clipboard

Filter or assertion criteria for be var.

Link copied to clipboard
open fun dependOnPackageOf(vararg classes: KClass<*>): PropertiesRuleBuilder

Asserts that selected properties depend on package containing classes.

Link copied to clipboard

Asserts that properties depend on package of T.

Link copied to clipboard
open fun dependOnPackages(vararg patterns: String): PropertiesRuleBuilder

Asserts that selected properties depend on types or usages in packages matching patterns.

Link copied to clipboard

Filter or assertion criteria for have all annotations of.

Link copied to clipboard

Asserts that properties have all of the specified annotations.

Link copied to clipboard
open fun haveAllModifiers(vararg modifiers: Modifier): PropertiesRuleBuilder

Filter or assertion criteria for have all modifiers.

Link copied to clipboard
open fun haveAnnotationOf(vararg annotationNames: String): PropertiesRuleBuilder
open infix fun haveAnnotationOf(annotationFqName: String): PropertiesRuleBuilder
open infix fun haveAnnotationOf(annotationNames: List<String>): PropertiesRuleBuilder
open infix fun haveAnnotationOf(annotation: KClass<out Annotation>): PropertiesRuleBuilder

Filter or assertion criteria for have annotation of.

Link copied to clipboard

Asserts that properties have the specified annotation class.

Link copied to clipboard

Asserts that properties have annotation type parameter T.

Link copied to clipboard
open fun haveAnnotationWithArgument(annotationName: String, argName: String? = null, argValue: String): PropertiesRuleBuilder

Filter or assertion criteria for have annotation with argument.

Link copied to clipboard

Asserts that properties have an annotation annotation with argument argName equal to argValue.

Link copied to clipboard

Filter or assertion criteria for have any annotation of.

Link copied to clipboard

Asserts that properties have any of the specified annotations.

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

Filter or assertion criteria for have any modifier.

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

Filter or assertion criteria for have any visibility.

Link copied to clipboard
open infix fun haveImportOf(importFqName: String): PropertiesRuleBuilder
open infix fun haveImportOf(type: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for have import of.

Link copied to clipboard

Asserts that properties have an import of type parameter T.

Link copied to clipboard
open infix fun haveModifier(modifier: Modifier): PropertiesRuleBuilder
open fun haveModifier(vararg modifiers: Modifier): PropertiesRuleBuilder
open infix fun haveModifier(modifiers: List<Modifier>): PropertiesRuleBuilder

Filter or assertion criteria for have modifier.

Link copied to clipboard
open fun haveName(vararg names: String): PropertiesRuleBuilder
open infix fun haveName(predicate: (String) -> Boolean): PropertiesRuleBuilder
open infix fun haveName(name: String): PropertiesRuleBuilder
open infix fun haveName(names: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for have name.

Link copied to clipboard
open fun haveNameEndingWith(vararg suffixes: String): PropertiesRuleBuilder

Filter or assertion criteria for have name ending with.

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

Filter or assertion criteria for have name matching.

Link copied to clipboard

Filter or assertion criteria for have name starting with.

Link copied to clipboard

Filter or assertion criteria for have no wildcard imports.

Link copied to clipboard
open fun haveType(vararg typeFqNames: String): PropertiesRuleBuilder
open infix fun haveType(typeFqName: String): PropertiesRuleBuilder
open infix fun haveType(typeFqNames: List<String>): PropertiesRuleBuilder
open infix fun haveType(type: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for have type.

Link copied to clipboard
open fun haveTypeIn(vararg typeFqNames: String): PropertiesRuleBuilder
open infix fun haveTypeIn(typeFqNames: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for have type in.

Link copied to clipboard

Asserts that properties have type specified by type parameter T.

Link copied to clipboard
open infix fun haveVisibility(visibility: Visibility): PropertiesRuleBuilder

Filter or assertion criteria for have visibility.

Link copied to clipboard
open fun noneOf(vararg blocks: PropertiesShould.() -> Unit): PropertiesRuleBuilder

Filter or assertion criteria for none of.

Link copied to clipboard

Filter or assertion criteria for not be const.

Link copied to clipboard

Filter or assertion criteria for not be extension.

Link copied to clipboard

Filter or assertion criteria for not be internal.

Link copied to clipboard

Filter or assertion criteria for not be lateinit.

Link copied to clipboard

Filter or assertion criteria for not be private.

Link copied to clipboard

Filter or assertion criteria for not be protected.

Link copied to clipboard

Filter or assertion criteria for not be public.

Link copied to clipboard
open fun notCall(kClass: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for not call.

Link copied to clipboard

Asserts that properties do not call members of type parameter T.

Link copied to clipboard
open fun notDependOnPackageOf(vararg classes: KClass<*>): PropertiesRuleBuilder

Asserts that selected properties do not depend on package containing classes.

Link copied to clipboard

Asserts that properties do not depend on package of T.

Link copied to clipboard

Asserts that selected properties do not depend on types or usages in packages matching patterns.

Link copied to clipboard
open infix fun notHaveImportOf(importFqName: String): PropertiesRuleBuilder
open infix fun notHaveImportOf(type: KClass<*>): PropertiesRuleBuilder

Filter or assertion criteria for not have import of.

Link copied to clipboard

Asserts that properties do not have an import of type parameter T.

Link copied to clipboard
open fun notHaveName(vararg names: String): PropertiesRuleBuilder
open infix fun notHaveName(names: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not have name.

Link copied to clipboard

Filter or assertion criteria for not have name ending with.

Link copied to clipboard
open fun notHaveNameIn(vararg names: String): PropertiesRuleBuilder

Filter or assertion criteria for not have name in.

Link copied to clipboard

Filter or assertion criteria for not have name matching.

Link copied to clipboard

Filter or assertion criteria for not have name starting with.

Link copied to clipboard

Filter or assertion criteria for not reference class.

Link copied to clipboard

Asserts that properties do not reference class type parameter T.

Link copied to clipboard
open fun notResideInAModule(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun notResideInAModule(modulePath: String): PropertiesRuleBuilder
open infix fun notResideInAModule(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not reside in a module.

Link copied to clipboard
open fun notResideInAPackage(vararg packagePatterns: String): PropertiesRuleBuilder
open infix fun notResideInAPackage(packagePattern: String): PropertiesRuleBuilder
open infix fun notResideInAPackage(packagePatterns: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not reside in a package.

Link copied to clipboard
open fun notResideInModule(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun notResideInModule(modulePath: String): PropertiesRuleBuilder
open infix fun notResideInModule(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not reside in module.

Link copied to clipboard
open fun notResideInModules(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun notResideInModules(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not reside in modules.

Link copied to clipboard
open fun notResideInPackage(vararg packagePatterns: String): PropertiesRuleBuilder
open infix fun notResideInPackage(packagePattern: String): PropertiesRuleBuilder
open infix fun notResideInPackage(packagePatterns: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for not reside in package.

Link copied to clipboard
open fun onlyDependOnPackageOf(vararg classes: KClass<*>): PropertiesRuleBuilder

Asserts that selected properties only depend on package containing classes.

Link copied to clipboard

Asserts that properties only depend on package of T.

Link copied to clipboard

Asserts that selected properties only depend on types or usages in packages matching patterns.

Link copied to clipboard
open fun resideInAModule(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun resideInAModule(modulePath: String): PropertiesRuleBuilder
open infix fun resideInAModule(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for reside in a module.

Link copied to clipboard
open fun resideInAPackage(vararg packagePatterns: String): PropertiesRuleBuilder
open infix fun resideInAPackage(predicate: (String) -> Boolean): PropertiesRuleBuilder
open infix fun resideInAPackage(packagePattern: String): PropertiesRuleBuilder
open infix fun resideInAPackage(packagePatterns: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for reside in a package.

Link copied to clipboard
open fun resideInModule(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun resideInModule(modulePath: String): PropertiesRuleBuilder
open infix fun resideInModule(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for reside in module.

Link copied to clipboard
open fun resideInModules(vararg modulePaths: String): PropertiesRuleBuilder
open infix fun resideInModules(modulePaths: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for reside in modules.

Link copied to clipboard
open fun resideInPackage(vararg packagePatterns: String): PropertiesRuleBuilder
open infix fun resideInPackage(predicate: (String) -> Boolean): PropertiesRuleBuilder
open infix fun resideInPackage(packagePattern: String): PropertiesRuleBuilder
open infix fun resideInPackage(packagePatterns: List<String>): PropertiesRuleBuilder

Filter or assertion criteria for reside in package.

Link copied to clipboard

Asserts that properties reside in the package of type parameter T.

Asserts that properties reside in the package of type.

Link copied to clipboard

Asserts that selected properties satisfy a custom boolean condition.

Asserts that selected properties satisfy a custom violation-collecting assertion.

open infix fun satisfy(description: String): PropertiesRuleBuilder

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.