Module org.junit.platform.launcher
Interface TagExpression
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate(Collection<TestTag> tags)
Evaluate this tag expression against the supplied collection of tags.static ParseResult
parseFrom(String infixTagExpression)
Attempt to parse aTagExpression
from the supplied tag expression string.
-
-
-
Method Detail
-
parseFrom
@API(status=INTERNAL, since="1.1") static ParseResult parseFrom(String infixTagExpression)
Attempt to parse aTagExpression
from the supplied tag expression string.- Parameters:
infixTagExpression
- the tag expression string to parse; nevernull
.- See Also:
ParseResult
-
evaluate
boolean evaluate(Collection<TestTag> tags)
Evaluate this tag expression against the supplied collection of tags.- Parameters:
tags
- the tags this tag expression is to be evaluated against- Returns:
true
, if the tags match this tag expression;false
, otherwise
-
-