Class 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 Detail

      • adapterName

        private static final String adapterName
    • Constructor Detail

      • SkipTestDependingOnAdapterNameRule

        public SkipTestDependingOnAdapterNameRule()
    • Method Detail

      • apply

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

        public static String determineAdapterName()