Class ExecutionTime

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

    public class ExecutionTime
    extends java.lang.Object
    implements org.junit.rules.TestRule
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutionTime​(long expectedExecutionTime, java.util.concurrent.TimeUnit timeUnit)  
      ExecutionTime​(long expectedExecutionTime, java.util.concurrent.TimeUnit timeUnit, long delta)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base, org.junit.runner.Description description)  
      void resetStartTime()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecutionTime

        public ExecutionTime​(long expectedExecutionTime,
                             java.util.concurrent.TimeUnit timeUnit,
                             long delta)
      • ExecutionTime

        public ExecutionTime​(long expectedExecutionTime,
                             java.util.concurrent.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()