@Override public Statement apply( Statement base, Description description ) { // Just pick up on which test we're currently running currentTestDescription = description; return super.apply( base, description ); }
@Override public Statement apply(Statement base, Description description) { return timeout.apply(base, description); } }
@Override public Statement apply(Statement base, Description description) { return timeout.apply(base, description); } }
@Override public Statement apply(Statement base, Description description) { return timeout.apply(base, description); } }
return wrapped; } else { final Statement timeoutStatement = Timeout.seconds(testTimeout).apply(wrapped, description); return new Statement() { @Override