Name Description Size
.coveragerc 198
.style.yapf 30
boot_device.py Functionalities to reliably reboot the device. 1586
browser_runner.py Executes a browser with devtools enabled on the target. 7078
BUILD.gn 432
bundled_test_runner.py Provides a way to run multiple tests as a bundle. It forwards all the arguments to the run_test.py, but overrides the test runner it uses. Since this class runs in a higher level as the regular run_test.py, it would be more clear to not include it into the run_test.py and avoid cycle-dependency. Use of this test runner may break sharding. 4916
bundled_test_runner_unittests.py Tests of BundledTestRunner. 4079
chrome_driver_wrapper.py Starts a web engine shell on an existing fuchsia device, and returns a ChromeDriver instance to control it. 4200
common.py Common methods and variables used by Cr-Fuchsia testing infrastructure. 18932
common_unittests.py File for testing common.py. 5125
compatible_utils.py Functions used in both v1 and v2 scripts. 4895
compatible_utils_unittests.py File for testing compatible_utils.py. 7321
coveragetest.py Ensure files in the directory are thoroughly tested. 1942
deploy_to_fuchsia.py A script for deploying Chrome binaries to a Fuchsia checkout. 1537
deploy_to_fuchsia_unittests.py File for testing deploy_to_fuchsia.py. 1343
ffx_emulator.py Provide helpers for running Fuchsia's `ffx emu`. 4107
ffx_emulator_unittests.py File for testing ffx_emulator.py. 4093
ffx_integration.py Provide helpers for running Fuchsia's `ffx`. 9157
flash_device.py Implements commands for flashing a Fuchsia device. 6740
flash_device_unittests.py File for testing flash_device.py. 9921
gs_util_wrapper.py A simple wrapper of running gsutil.py from the depot_tools; all the functions in this module are running in a separated process. 1087
isolate_daemon.py Sets up the isolate daemon environment to run test on the bots. 4380
lockfile.py Exclusive filelocking for all supported platforms. Copied from third_party/depot_tools/lockfile.py. 1941
log_manager.py Reads log data from a device. 3605
log_manager_unittests.py File for testing log_manager.py. 3082
modification_waiter.py An AbstractContextManager to wait the modifications to finish during exit. 1615
modification_waiter_unittests.py File for testing modification_waiter.py. 4573
monitors.py The module to provide measurements when it's supported. 1957
monitors_unittests.py File for testing monitors.py. 1850
perf_trace.py Retrieves the system metrics and logs them into the monitors system. 3719
PRESUBMIT.py Top-level presubmit script for build/fuchsia/test. See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for more details about the presubmit API built into depot_tools. 1781
publish_package.py Implements commands for managing Fuchsia repos via the ffx tool. 1703
publish_package_unittests.py File for testing publish_package.py. 2304
pylintrc 535
repeating_log.py Writes logs to indicate a long-run process to avoid being killed by luci. 1296
run_blink_test.py Implements commands for running blink web tests. 993
run_executable_test.py Implements commands for standalone CFv2 test executables. 12219
run_pytype.py Simple helper script to run pytype on //build/fuchsia/test code. 1317
run_telemetry_test.py Implements commands for running GPU tests. 2034
run_test.py Implements commands for running tests E2E on a Fuchsia device. 6990
run_webpage_test.py Implements commands for running webpage tests. 2586
serial_boot_device.py Helpers to reliably reboot the device via serial and fastboot. Note, this file will be executed in docker instance without vpython3, so we use python3 instead. The docker instance runs this file as a symbolic link of dmc via the "main" function. 12329
serial_boot_device_unittests.py File for testing serial_boot_device.py. 7025
serve_repo.py Implements commands for serving a TUF repository. 4166
serve_repo_unittests.py File for testing serve_repo.py. 6410
sshconfig 1489
start_emulator.py Provides a class for managing emulators. 2304
test_connection.py Tests the connection of a target. 2020
test_env_setup.py Provides a way to setup the test environment without running the tests. It covers starting up daemon, starting up emulator or flashing physical device, setting up fuchsia package repository, publishing the packages and resolving the packages on the target. It shares most of the logic with the regular run_test.py, but overriding its _get_test_runner to wait_for_sigterm instead of running tests. So it's blocking until being killed. Since the setup_env does not run the tests, caller should use the pid file to detect when the environment is ready. Killing the process running the setup_env() function would tear down the test environment. 2783
test_env_setup_unittests.py File for testing test_env_setup.py. 3195
test_runner.py Provides a base class for test running. 2668
test_server.py Test server set up. 7941
test_server_unittests.py File for testing test_server.py. 3471
version.py Reads version files from the chromium source code. 2909
version_unittests.py File for testing version.py. 2088