java.lang.Object
org.junit.jupiter.engine.execution.ConditionEvaluator
ConditionEvaluator
evaluates ExecutionCondition
extensions.- Since:
- 5.0
- See Also:
ExecutionCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(ExtensionRegistry extensionRegistry, JupiterConfiguration configuration, ExtensionContext context)
Evaluate allExecutionCondition
extensions registered for the suppliedExtensionContext
.
-
Constructor Details
-
ConditionEvaluator
public ConditionEvaluator()
-
-
Method Details
-
evaluate
public ConditionEvaluationResult evaluate(ExtensionRegistry extensionRegistry, JupiterConfiguration configuration, ExtensionContext context)Evaluate allExecutionCondition
extensions registered for the suppliedExtensionContext
.- Parameters:
context
- the currentExtensionContext
- Returns:
- the first disabled
ConditionEvaluationResult
, or a default enabledConditionEvaluationResult
if no disabled conditions are encountered
-