Class SkipTestDependingOnDatabaseOptionRule
- java.lang.Object
-
- io.debezium.junit.AnnotationBasedTestRule
-
- io.debezium.connector.oracle.junit.SkipTestDependingOnDatabaseOptionRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SkipTestDependingOnDatabaseOptionRule extends AnnotationBasedTestRule
JUnit rule that automatically skips a test if theRequireDatabaseOptionannotation at either the class or test method level if the option specified isn't enabled or available on the test database used byTestHelper.testConnection().- Author:
- Chris Cranford
-
-
Constructor Summary
Constructors Constructor Description SkipTestDependingOnDatabaseOptionRule()
-
Method Summary
All 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)private StringgetDatabaseOptionValue(String option)-
Methods inherited from class io.debezium.junit.AnnotationBasedTestRule
emptyStatement, hasAnnotation
-
-
-
-
Field Detail
-
FALSE
private static final String FALSE
- See Also:
- Constant Field Values
-
-