congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SystemClock.pauseFor
Code IndexAdd Tabnine to your IDE (free)

How to use
pauseFor
method
in
net.serenitybdd.core.time.SystemClock

Best Java code snippets using net.serenitybdd.core.time.SystemClock.pauseFor (Showing top 20 results out of 315)

origin: net.serenity-bdd/serenity-core

  public T hours() {
    clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
    return parent;
  }
}
origin: net.serenity-bdd/serenity-core

public T seconds() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T hour() {
  clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
  return parent;
}
origin: net.serenity-bdd/core

public T minute() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T millisecond() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T milliseconds() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T minutes() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

public T second() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/core

public T seconds() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/core

public T minutes() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

  public T hours() {
    clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
    return parent;
  }
}
origin: net.serenity-bdd/serenity-core

public T second() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_SECOND);
  return parent;
}
origin: net.serenity-bdd/serenity-core

public T minute() {
  clock.pauseFor(duration * MILLISECONDS_IN_A_MINUTE);
  return parent;
}
origin: net.serenity-bdd/core

public T millisecond() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/core

public T milliseconds() {
  clock.pauseFor(duration);
  return parent;
}
origin: net.serenity-bdd/core

public T hour() {
  clock.pauseFor(duration * MILLISECONDS_IN_AN_HOUR);
  return parent;
}
origin: net.serenity-bdd/core

protected void waitABit(final long timeInMilliseconds) {
  getClock().pauseFor(timeInMilliseconds);
}
origin: net.serenity-bdd/core

private void pauseIfRequired() {
  int delay = configuration.getStepDelay();
  if (delay > 0) {
    getClock().pauseFor(delay);
  }
}
origin: net.serenity-bdd/serenity-core

private void pauseIfRequired() {
  int delay = configuration.getStepDelay();
  if (delay > 0) {
    getClock().pauseFor(delay);
  }
}
origin: net.serenity-bdd/serenity-model

public Path to(Path destination) throws IOException {
  try {
    return Files.move(origin,
          destination,
          StandardCopyOption.REPLACE_EXISTING,
          StandardCopyOption.ATOMIC_MOVE
    );
  } catch (IOException e) {
    if (maxRetries == 0) { throw e; }
    clock.pauseFor(DELAY_BETWEEN_FILE_ACCESSES_IN_MS);
    return SafelyMoveFiles.withMaxRetriesOf(maxRetries - 1).from(origin).to(destination);
  }
}
net.serenitybdd.core.timeSystemClockpauseFor

Popular methods of SystemClock

  • getCurrentTime

Popular in Java

  • Start an intent from android
  • putExtra (Intent)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now