Class SkipTestDependingOnAdapterNameRule

java.lang.Object
io.debezium.junit.AnnotationBasedTestRule
io.debezium.connector.oracle.junit.SkipTestDependingOnAdapterNameRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class SkipTestDependingOnAdapterNameRule extends AnnotationBasedTestRule
JUnit rule that skips a test based on the SkipWhenAdapterNameIs annotation on either a test method or test class.
Author:
Chris Cranford
  • Field Details

    • adapterName

      private static final String adapterName
  • Constructor Details

    • SkipTestDependingOnAdapterNameRule

      public SkipTestDependingOnAdapterNameRule()
  • Method Details

    • apply

      public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
    • determineAdapterName

      public static String determineAdapterName()