Interface TagExpression
-
@API(status=INTERNAL, since="1.1") public interface TagExpressionA tag expression can be evaluated against a collection of tags to determine if they match the expression.- Since:
- 1.1
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(java.util.Collection<org.junit.platform.engine.TestTag> tags)Evaluate this tag expression against the supplied collection of tags.static ParseResultparseFrom(java.lang.String infixTagExpression)Attempt to parse aTagExpressionfrom the supplied tag expression string.
-
-
-
Method Detail
-
parseFrom
@API(status=INTERNAL, since="1.1") static ParseResult parseFrom(java.lang.String infixTagExpression)Attempt to parse aTagExpressionfrom the supplied tag expression string.- Parameters:
infixTagExpression- the tag expression string to parse; nevernull.- See Also:
ParseResult
-
evaluate
boolean evaluate(java.util.Collection<org.junit.platform.engine.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
-
-