CaseFilter

sealed interface CaseFilter

Inheritors

Types

Link copied to clipboard
object All : CaseFilter
Link copied to clipboard
object Companion
Link copied to clipboard
data class Matching(val predicate: (VerificationCase) -> Boolean) : CaseFilter
Link copied to clipboard
data class Tags(val including: Set<String> = emptySet(), val excluding: Set<String> = emptySet()) : CaseFilter

Matches when the case carries at least one tag from including (or including is empty) AND carries none of the tags from excluding.

Functions

Link copied to clipboard
abstract fun matches(case: VerificationCase): Boolean