FilesShouldPathAssertions

Path and package assertions for file rules.

Inheritors

Properties

Link copied to clipboard

Filter or assertion criteria for builder.

Functions

Link copied to clipboard
open infix fun inModule(modulePath: String): FilesRuleBuilder

Asserts that files reside in a module matching modulePath.

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

Asserts that files reside in modules matching modulePaths.

Link copied to clipboard
open fun inPackage(vararg packagePatterns: String): FilesRuleBuilder
open infix fun inPackage(packagePatterns: List<String>): FilesRuleBuilder

Asserts that files reside in packages matching packagePatterns.

open infix fun inPackage(predicate: (String) -> Boolean): FilesRuleBuilder

Asserts that files reside in a package matching predicate.

open infix fun inPackage(packagePattern: String): FilesRuleBuilder

Asserts that files reside in a package matching packagePattern.

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

Filter or assertion criteria for named.

Link copied to clipboard
open fun nameEndsWith(vararg suffixes: String): FilesRuleBuilder
open infix fun nameEndsWith(suffix: String): FilesRuleBuilder
open infix fun nameEndsWith(suffixes: List<String>): FilesRuleBuilder

Filter or assertion criteria for name ending with.

Link copied to clipboard
open fun nameMatches(vararg patterns: String): FilesRuleBuilder
open infix fun nameMatches(pattern: String): FilesRuleBuilder
open infix fun nameMatches(patterns: List<String>): FilesRuleBuilder

Filter or assertion criteria for name matching.

Link copied to clipboard
open fun nameStartsWith(vararg prefixes: String): FilesRuleBuilder
open infix fun nameStartsWith(prefix: String): FilesRuleBuilder
open infix fun nameStartsWith(prefixes: List<String>): FilesRuleBuilder

Filter or assertion criteria for name starting with.

Link copied to clipboard
open infix fun notInModule(modulePath: String): FilesRuleBuilder

Asserts that files do not reside in a module matching modulePath.

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

Asserts that files do not reside in modules matching modulePaths.

Link copied to clipboard
open fun notInPackage(vararg packagePatterns: String): FilesRuleBuilder
open infix fun notInPackage(packagePatterns: List<String>): FilesRuleBuilder

Asserts that files do not reside in packages matching packagePatterns.

open infix fun notInPackage(packagePattern: String): FilesRuleBuilder

Asserts that files do not reside in a package matching packagePattern.

Link copied to clipboard
open fun notNamed(vararg names: String): FilesRuleBuilder
open infix fun notNamed(name: String): FilesRuleBuilder
open infix fun notNamed(names: List<String>): FilesRuleBuilder

Filter or assertion criteria for notNamed.

Link copied to clipboard
open fun notNameEndsWith(vararg suffixes: String): FilesRuleBuilder
open infix fun notNameEndsWith(suffix: String): FilesRuleBuilder
open infix fun notNameEndsWith(suffixes: List<String>): FilesRuleBuilder

Filter or assertion criteria for not name ending with.

Link copied to clipboard
open fun notNameMatches(vararg patterns: String): FilesRuleBuilder
open infix fun notNameMatches(pattern: String): FilesRuleBuilder
open infix fun notNameMatches(patterns: List<String>): FilesRuleBuilder

Filter or assertion criteria for not name matching.

Link copied to clipboard
open fun notNameStartsWith(vararg prefixes: String): FilesRuleBuilder
open infix fun notNameStartsWith(prefix: String): FilesRuleBuilder
open infix fun notNameStartsWith(prefixes: List<String>): FilesRuleBuilder

Filter or assertion criteria for not name starting with.