Class ExecutionTime

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

    public class ExecutionTime
    extends Object
    implements org.junit.rules.TestRule
    • Constructor Detail

      • ExecutionTime

        public ExecutionTime​(long expectedExecutionTime,
                             TimeUnit timeUnit,
                             long delta)
      • ExecutionTime

        public ExecutionTime​(long expectedExecutionTime,
                             TimeUnit timeUnit)
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runner.Description description)
        Specified by:
        apply in interface org.junit.rules.TestRule
      • resetStartTime

        public void resetStartTime()