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