Class DisabledOnNativeImageCondition

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.ExecutionCondition, org.junit.jupiter.api.extension.Extension

    public class DisabledOnNativeImageCondition
    extends Object
    implements org.junit.jupiter.api.extension.ExecutionCondition
    • Constructor Detail

      • DisabledOnNativeImageCondition

        public DisabledOnNativeImageCondition()
    • Method Detail

      • evaluateExecutionCondition

        public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition​(org.junit.jupiter.api.extension.ExtensionContext context)
        Containers/tests are disabled if @DisabledOnNativeImage is present on the test class or method and we're running on a native image.
        Specified by:
        evaluateExecutionCondition in interface org.junit.jupiter.api.extension.ExecutionCondition