assertNameMatching
Asserts that all file declarations have names matching any of the specified glob patterns.
Example:
files.assertNameMatching("*Test.kt", "*Spec.kt")Parameters
The glob patterns. At least one must match.
Throws
if any file name does not match any of the specified glob patterns.
Asserts that all file declarations in the scope have names matching any of the specified glob patterns.
Parameters
The glob patterns. At least one must match.
Throws
if any file name does not match any of the specified glob patterns.
Asserts that all class declarations have names matching any of the specified glob patterns. Supports '*' wildcards.
Example:
classes.assertNameMatching("*Controller", "*Handler")Parameters
The glob patterns. At least one must match.
Throws
if any class name does not match any of the specified glob patterns.
Asserts that all class declarations in the scope have names matching any of the specified glob patterns. Supports '*' wildcards.
Parameters
The glob patterns. At least one must match.
Throws
if any class name does not match any of the specified glob patterns.