Class IgnoreCondition
- java.lang.Object
-
- org.junit.jupiter.migrationsupport.conditions.IgnoreCondition
-
- All Implemented Interfaces:
ExecutionCondition
,Extension
@API(status=EXPERIMENTAL, since="5.4") public class IgnoreCondition extends Object implements ExecutionCondition
ExecutionCondition
that supports JUnit 4's@Ignore
annotation.- Since:
- 5.4
- See Also:
@Ignore
,@Disabled
,evaluateExecutionCondition(ExtensionContext)
,EnableJUnit4MigrationSupport
-
-
Constructor Summary
Constructors Constructor Description IgnoreCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionEvaluationResult
evaluateExecutionCondition(ExtensionContext context)
Containers/tests are disabled if@Ignore
is present on the test class or method.
-
-
-
Method Detail
-
evaluateExecutionCondition
public ConditionEvaluationResult evaluateExecutionCondition(ExtensionContext context)
Containers/tests are disabled if@Ignore
is present on the test class or method.- Specified by:
evaluateExecutionCondition
in interfaceExecutionCondition
- Parameters:
context
- the current extension context; nevernull
- Returns:
- the result of evaluating this condition; never
null
-
-