Class ProfilingTestRule

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

    public class ProfilingTestRule
    extends org.junit.rules.TestWatcher
    Since:
    7.20
    • Field Detail

      • clock

        public final io.micrometer.core.instrument.MockClock clock
      • registry

        public final io.micrometer.core.instrument.simple.SimpleMeterRegistry registry
    • Constructor Detail

      • ProfilingTestRule

        public ProfilingTestRule()
    • 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