| |
- GetBaseDir()
- GetBuildDirectories()
- Yields all combination of Chromium build output directories.
- GetChromiumSrcDir()
- GetPythonPageSetModule(file_path)
- GetSequentialFileName(base_name)
- Returns the next sequential file name based on |base_name| and the
existing files. base_name should not contain extension.
e.g: if base_name is /tmp/test, and /tmp/test_000.json,
/tmp/test_001.mp3 exist, this returns /tmp/test_002. In case no
other sequential file name exist, this will return /tmp/test_000
- GetTelemetryDir()
- GetTelemetryThirdPartyDir()
- GetUnittestDataDir()
- GetUnreservedAvailableLocalPort()
- Returns an available port on the system.
WARNING: This method does not reserve the port it returns, so it may be used
by something else before you get to use it. This can lead to flake.
- IsRunningOnCrosDevice()
- Returns True if we're on a ChromeOS device.
- WaitFor(condition, timeout)
- Waits for up to |timeout| secs for the function |condition| to return True.
Polling frequency is (elapsed_time / 10), with a min of .1s and max of 5s.
Returns:
Result of |condition| function (if present).
|