Tabnine Logo
Stopwatch.started
Code IndexAdd Tabnine to your IDE (free)

How to use
started
method
in
net.serenitybdd.core.time.Stopwatch

Best Java code snippets using net.serenitybdd.core.time.Stopwatch.started (Showing top 3 results out of 315)

origin: serenity-bdd/serenity-cucumber

private SingleRunTestStatistics(String fileName) {
  Stopwatch timer = Stopwatch.started();
  this.fileName = fileName;
  this.headers = new String[]{STORY, TITLE, RESULT, DATE, STABILITY, DURATION};
  this.records = records();
  LOGGER.info("Loaded {} records from {} in {}", records.size(), fileName, timer.executionTimeFormatted());
}
origin: net.serenity-bdd/serenity-cucumber

private SingleRunTestStatistics(String fileName) {
  Stopwatch timer = Stopwatch.started();
  this.fileName = fileName;
  this.headers = new String[]{STORY, TITLE, RESULT, DATE, STABILITY, DURATION};
  this.records = records();
  LOGGER.info("Loaded {} records from {} in {}", records.size(), fileName, timer.executionTimeFormatted());
}
origin: net.serenity-bdd/serenity-model

private static List<File> getResourceDirectories(Path root, EnvironmentVariables environmentVariables) {
  if (RESOURCE_DIRECTORY_CACHE.containsKey(root)) {
    return RESOURCE_DIRECTORY_CACHE.get(root);
  }
  Stopwatch stopwatch = Stopwatch.started();
  List<File> results;
  if (ThucydidesSystemProperty.SERENITY_REQUIREMENTS_DIR.isDefinedIn(environmentVariables)) {
    results = new ArrayList<>();
  } else {
    results = listDirectories(root).parallelStream()
        .filter(path -> path.endsWith("src/test/resources"))
        .map(Path::toFile)
        .collect(Collectors.toList());
  }
  RESOURCE_DIRECTORY_CACHE.put(root,results);
  LOGGER.debug("Resource directories found in {} in {} ms: {}", root, stopwatch.stop(), results);
  return results;
}
net.serenitybdd.core.timeStopwatchstarted

Popular methods of Stopwatch

  • <init>
  • executionTimeFormatted
  • start
  • lapTime
  • lapTimeFormatted
  • stop
  • validateStarted

Popular in Java

  • Updating database using SQL prepared statement
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • JTable (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for WebStorm
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