net.thucydides.core.scheduling.TimeoutSchedule Maven / Gradle / Ivy
package net.thucydides.core.scheduling;
import java.util.concurrent.TimeUnit;
public class TimeoutSchedule extends TimeSchedule {
public TimeoutSchedule(ThucydidesFluentWait fluentWait, int amount) {
super(fluentWait, amount);
}
@Override
protected ThucydidesFluentWait updateWaitBy(int amount, TimeUnit unit) {
return fluentWait.withTimeout(amount, unit);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy