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 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 Details

  • 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

      private String getDatabaseOptionValue(String option)