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:
@Ignore
,@Disabled
,evaluateExecutionCondition(ExtensionContext)
,EnableJUnit4MigrationSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionevaluateExecutionCondition(ExtensionContext context)
Containers/tests are disabled if@Ignore
is present on the test class or method.
-
Constructor Details
-
IgnoreCondition
public IgnoreCondition()
-
-
Method Details
-
evaluateExecutionCondition
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
-