Class SkipTestDependingOnGtidModeRule
- java.lang.Object
-
- io.debezium.junit.AnnotationBasedTestRule
-
- io.debezium.connector.mysql.junit.SkipTestDependingOnGtidModeRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SkipTestDependingOnGtidModeRule extends AnnotationBasedTestRule
JUnit rule that skips a test based on theSkipWhenGtidModeIsannotation on either a test method or a test class.
-
-
Field Summary
Fields Modifier and Type Field Description private static SkipWhenGtidModeIs.GtidModegtidMode
-
Constructor Summary
Constructors Constructor Description SkipTestDependingOnGtidModeRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)static SkipWhenGtidModeIs.GtidModegetGtidMode()-
Methods inherited from class io.debezium.junit.AnnotationBasedTestRule
emptyStatement, hasAnnotation
-
-
-
-
Field Detail
-
gtidMode
private static final SkipWhenGtidModeIs.GtidMode gtidMode
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
getGtidMode
public static SkipWhenGtidModeIs.GtidMode getGtidMode()
-
-