Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
159 lines (158 sloc) 5.32 KB
{
"apk": {
"name": "com.google.android.apps.docs.editors.slides"
},
"backup_data_uid": "7b2a3cd561248be8",
"ck_to_env": {
"CK_WA_SCRIPTS_PATH": "script:39157fb314f399ae"
},
"clean_dirs": [
"wa_output"
],
"data_name": "WA workload: googleslides",
"deps": {
"wa": {
"env_key": "WA",
"force_target_as_host": "yes",
"local": "yes",
"name": "ARM Workload Automation",
"sort": 10,
"tags": "tool,wa"
}
},
"no_compile": "yes",
"no_target_file": "yes",
"params": {
"check_abi": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, workload will check that the APK matches the target device ABI, otherwise any APK found will be used.",
"mandatory": null,
"type": "boolean"
},
"check_apk": {
"allowed_values": null,
"default": true,
"desc": "When set to True the APK file on the host will be prefered if it is a valid version and ABI, if not it will fall back to the version on the targer. When set to False the target version is prefered.",
"mandatory": null,
"type": "boolean"
},
"clean_assets": {
"allowed_values": null,
"default": false,
"desc": "If ``True`` pushed assets will be deleted at the end of each iteration",
"mandatory": null,
"type": "boolean"
},
"do_text_entry": {
"allowed_values": null,
"default": true,
"desc": "If set to ``True``, will attempt to enter text in the first slide as part of the test. Currently seems to be problematic on some devices, most notably Samsung devices.",
"mandatory": null,
"type": "boolean"
},
"force_install": {
"allowed_values": null,
"default": false,
"desc": "Always re-install the APK, even if matching version is found already installed on the device. Runs ``adb install -r`` to ensure existing APK is replaced. When this is set, check_apk is ignored.",
"mandatory": null,
"type": "boolean"
},
"force_push_assets": {
"allowed_values": null,
"default": false,
"desc": "If ``True`` always push assets on each iteration, even if the assets already exists in the device path",
"mandatory": null,
"type": "boolean"
},
"install_timeout": {
"allowed_values": null,
"default": 300,
"desc": "Timeout for the installation of the apk.",
"mandatory": null,
"type": "integer"
},
"markers_enabled": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, UX_PERF action markers will be emitted to logcat during the test run.",
"mandatory": null,
"type": "boolean"
},
"modules": {
"allowed_values": null,
"default": null,
"desc": "Lists the modules to be loaded by this extension. A module is a plug-in that further extends functionality of an extension.",
"mandatory": null,
"type": "list"
},
"slide_count": {
"allowed_values": null,
"default": 5,
"desc": "Number of slides in aforementioned local file. Determines number of swipe actions when playing slide show.",
"mandatory": null,
"type": "integer"
},
"test_file": {
"allowed_values": null,
"default": "uxperf_test_doc.pptx",
"desc": "If specified, the workload will copy the PowerPoint file to be used for testing onto the device. Otherwise, a file will be created inside the app.",
"mandatory": null,
"type": "str"
},
"test_image": {
"allowed_values": null,
"default": "uxperf_1600x1200.jpg",
"desc": "An image to be copied onto the device that will be embedded in the PowerPoint file as part of the test.",
"mandatory": null,
"type": "str"
},
"uninstall_apk": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, will uninstall workload's APK as part of teardown.",
"mandatory": null,
"type": "boolean"
}
},
"print_files_after_run": [
"tmp-output2.tmp",
"wa_output/status.txt",
"wa_output/googleslides_1_1/result.txt"
],
"process_in_tmp": "yes",
"program": "yes",
"required_device_access_type": [
"wa_android",
"wa_linux"
],
"run_cmds": {
"default": {
"ignore_return_code": "no",
"run_time": {
"fine_grain_timer_file": "tmp-ck-timer.json",
"post_process_cmds": [
"python $<<CK_WA_SCRIPTS_PATH>>$$#dir_sep#$postprocess_workload.py"
],
"post_process_via_ck": "yes",
"pre_process_via_ck": {
"data_uoa": "process-wa",
"module_uoa": "script",
"script_name": "preprocess_workload"
},
"run_cmd_main": "wa run $<<CK_WA_CMD>>$",
"run_cmd_out1": "tmp-output1.tmp",
"run_cmd_out2": "tmp-output2.tmp",
"run_output_files": []
}
}
},
"run_via_third_party": "yes",
"tags": [
"wa",
"workload-automation",
"googleslides"
],
"wa_alias": "googleslides",
"wa_desc": "A workload to perform standard productivity tasks with Google Slides. The workload carries out various tasks, such as creating a new presentation, adding text, images, and shapes, as well as basic editing and playing a slideshow. This workload should be able to run without a network connection"
}