Package org.hibernate.testing.orm.junit
Class DialectFilterExtension
- java.lang.Object
-
- org.hibernate.testing.orm.junit.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 addRequiresDialect
andSkipForDialect
handling
-
-
Constructor Summary
Constructors Constructor Description DialectFilterExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.jupiter.api.extension.ConditionEvaluationResult
evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context)
static boolean
versionsMatch(int matchingMajorVersion, int matchingMinorVersion, int matchingMicroVersion, Dialect dialect, boolean matchNewerVersions)
-
-
-
Method Detail
-
evaluateExecutionCondition
public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext context)
- Specified by:
evaluateExecutionCondition
in interfaceorg.junit.jupiter.api.extension.ExecutionCondition
-
versionsMatch
public static boolean versionsMatch(int matchingMajorVersion, int matchingMinorVersion, int matchingMicroVersion, Dialect dialect, boolean matchNewerVersions)
-
-