Class DialectFilterExtension

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

    public class DialectFilterExtension
    extends Object
    implements org.junit.jupiter.api.extension.ExecutionCondition
    JUnit 5 extension used to add RequiresDialect and SkipForDialect handling
    • Constructor Detail

      • DialectFilterExtension

        public DialectFilterExtension()
    • Method Detail

      • evaluateExecutionCondition

        public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition​(org.junit.jupiter.api.extension.ExtensionContext context)
        Specified by:
        evaluateExecutionCondition in interface org.junit.jupiter.api.extension.ExecutionCondition
      • versionsMatch

        public static boolean versionsMatch​(int matchingMajorVersion,
                                            int matchingMinorVersion,
                                            int matchingMicroVersion,
                                            Dialect dialect,
                                            boolean matchNewerVersions)