Class SkipTestDependingOnDatabaseOptionRule
java.lang.Object
io.debezium.junit.AnnotationBasedTestRule
io.debezium.connector.oracle.junit.SkipTestDependingOnDatabaseOptionRule
- All Implemented Interfaces:
org.junit.rules.TestRule
JUnit rule that automatically skips a test if the
SkipOnDatabaseOption annotation at
either the class or test method level if the option specified isn't enabled or available on
the test database used by TestHelper.testConnection().- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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 Details
-
FALSE
- See Also:
-
TRUE
- See Also:
-
-
Constructor Details
-
SkipTestDependingOnDatabaseOptionRule
public SkipTestDependingOnDatabaseOptionRule()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) -
getDatabaseOptionValue
-