Class ActiveMQTestRunner

    • Constructor Detail

      • ActiveMQTestRunner

        public ActiveMQTestRunner​(Class<?> klass)
                           throws org.junit.runners.model.InitializationError
        Throws:
        org.junit.runners.model.InitializationError
    • Method Detail

      • methodBlock

        protected org.junit.runners.model.Statement methodBlock​(org.junit.runners.model.FrameworkMethod method)
        Overrides:
        methodBlock in class BlockJUnit4ClassRunner
      • withPotentialRepeat

        protected org.junit.runners.model.Statement withPotentialRepeat​(org.junit.runners.model.FrameworkMethod frameworkMethod,
                                                                        org.junit.runners.model.Statement next)
        Check for the presence of a Repeat annotation and return a RepeatStatement to handle executing the test repeated or the original value if not repeating.
        Returns:
        either a RepeatStatement, or the supplied Statement as appropriate.
      • getOriginalTimeout

        protected long getOriginalTimeout​(org.junit.runners.model.FrameworkMethod frameworkMethod)
        Retrieve the original JUnit timeout from the @Test annotation on the incoming test method.
        Returns:
        the timeout, or 0 if none was specified