Package uk.co.brunella.osgi.bdt.junit.runner.statement

Examples of uk.co.brunella.osgi.bdt.junit.runner.statement.FailOnTimeoutStatement


 
  private Statement withPotentialTimeout(FrameworkMethod testMethod,
      Object test, Statement next) {
    Long timeout = (Long) getAnnotationValue(testMethod.getAnnotation(Test.class.getName()), "timeout");
    if (timeout != null && timeout > 0) {
      return new FailOnTimeoutStatement(next, timeout);
    } else {
      return next;
    }
  }
View Full Code Here

TOP

Related Classes of uk.co.brunella.osgi.bdt.junit.runner.statement.FailOnTimeoutStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.