PropertiesShouldCompositeAssertions
interface PropertiesShouldCompositeAssertions
Composite condition assertions for property rules.
Inheritors
Functions
Link copied to clipboard
Filter or assertion criteria for all of.
Link copied to clipboard
Asserts that selected properties satisfy at least one of the specified assertion blocks.
Link copied to clipboard
Filter or assertion criteria for none of.
Link copied to clipboard
Asserts that selected properties satisfy a custom boolean condition.
open fun satisfy(assertion: (PropertyDeclarationContext, MutableList<String>) -> Unit): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom violation-collecting assertion.
Asserts that selected properties satisfy custom description description.
open fun satisfy(description: String, assertion: (PropertyDeclarationContext, List<PropertyDeclarationContext>) -> Boolean): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom boolean condition with description.
open fun satisfy(id: String, description: String? = null, predicate: SatisfyContext<PropertyDeclarationContext>.(PropertyDeclarationContext) -> Boolean): PropertiesRuleBuilder
Asserts that selected properties satisfy a custom predicate within a SatisfyContext block identified by id and optional description.