Class CamelTestWatcher

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class CamelTestWatcher
    extends org.junit.rules.TestWatcher
    A JUnit TestWatcher that is used to time how long the test takes.
    • Constructor Detail

      • CamelTestWatcher

        public CamelTestWatcher()
    • Method Detail

      • starting

        protected void starting​(org.junit.runner.Description description)
        Overrides:
        starting in class org.junit.rules.TestWatcher
      • finished

        protected void finished​(org.junit.runner.Description description)
        Overrides:
        finished in class org.junit.rules.TestWatcher
      • timeTaken

        public long timeTaken()