| /test/testfwk/xdevice/plugins/devicetest/core/suite/ |
| D | test_suite.py | 58 def __init__(self, configs, path): argument 101 def __enter__(self): argument 104 def __exit__(self, *args): argument 107 def _device_close(self): argument 113 def run(self): argument 196 def setup(self): argument 202 def setup_start(self): argument 209 def setup_end(self): argument 216 def teardown(self): argument 223 def teardown_start(self): argument [all …]
|
| /test/testfwk/xdevice/plugins/devicetest/core/ |
| D | exception.py | 24 def __init__(self, error_msg): argument 28 def __str__(self): argument 33 def __init__(self, error_msg): argument 37 def __str__(self): argument 44 def __init__(self, error_msg): argument 48 def __str__(self): argument 53 def __init__(self, error_msg): argument 57 def __str__(self): argument 62 def __init__(self, error_msg): argument 66 def __str__(self): argument [all …]
|
| D | variables.py | 70 def __init__(self, _log): argument 126 def set_step_screen(self): argument 133 def testcase(self): argument 137 def testsuite(self): argument 140 def set_case_instance(self, instance): argument 145 def set_suite_instance(self, instance): argument 150 def set_error_msg(self, error_msg): argument 154 def set_run_section(self, run_section): argument 158 def set_case_result(self, case_result): argument 163 def set_step_total(self, step_total): argument [all …]
|
| /test/testfwk/developer_test/src/core/driver/ |
| D | openharmony.py | 88 def __init__(self, config): argument 100 def dry_run(self): argument 115 def run(self, listener): argument 121 def notify_finished(self): argument 126 def get_oh_test_runner_path(self): argument 132 def add_arg(self, name, value): argument 137 def remove_arg(self, name): argument 143 def get_args_command(self): argument 152 def _get_shell_handler(self, listener): argument 167 def _get_run_command(self): argument [all …]
|
| D | lite_driver.py | 82 def __check_failed__(self, msg): argument 86 def __check_environment__(self, device_options): argument 89 def __check_config__(self, config): argument 99 def __execute__(self, request): argument 127 def __result__(self): argument 130 def show_help_info(self): argument 137 def show_driver_info(self): argument 144 def _mount_nfs_server(self): argument 171 def _before_execute_test(self): argument 195 def _execute_test(self, request): argument [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
| D | oh_jsunit_driver.py | 81 def __init__(self): argument 99 def __check_environment__(self, device_options): argument 102 def __check_config__(self, config): argument 105 def __execute__(self, request): argument 168 def __dry_run_execute__(self, request): argument 180 def _dry_run_oh_jsunit(self, config_file, request): argument 207 def _run_oh_jsunit(self, config_file, request): argument 243 def _get_driver_config(self, json_config): argument 275 def _get_runner_config(self, json_config): argument 290 def _do_test_run(self, listeners): argument [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/parser/ |
| D | oh_jsunit_parser.py | 53 def __init__(self): argument 71 def get_suite_name(self): argument 74 def get_listeners(self): argument 77 def __process__(self, lines): argument 83 def parse(self, line): argument 103 def _handle_coverage_path_msg(self, line): argument 107 def handle_sum_line(self, line): argument 111 def handle_status_line(self, line): argument 138 def submit_current_key_value(self): argument 153 def parse_key(self, line, key_start_pos): argument [all …]
|
| D | cpp_parser_lite.py | 41 def __init__(self): argument 48 def get_suite_name(self): argument 51 def get_listeners(self): argument 54 def __process__(self, lines): argument 62 def __done__(self): argument 95 def _process_informational_line(self, line): argument 103 def _process_test_run_line(self, line): argument 109 def parse(self, line): argument 126 def process_test(self, line): argument 166 def handle_test_started_tag(self, message): argument [all …]
|
| D | jsunit_parser.py | 42 def __init__(self): argument 51 def get_listeners(self): argument 54 def __process__(self, lines): argument 60 def __done__(self): argument 63 def parse(self, line): argument 80 def parse_test_description(self, message): argument 109 def handle_suites_started_tag(self): argument 118 def handle_suites_ended_tag(self): argument 127 def handle_one_test_tag(self, message): argument 169 def fake_run_marker(self, message): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/config/ |
| D | config_manager.py | 38 def wrapper(self, *args, **kwargs): argument 53 def __init__(self, config_file="", env=""): argument 88 def environment(self): argument 131 def testcases(self): argument 136 def resource(self): argument 141 def devicelog(self): argument 189 def loglevel(self): argument 201 def taskargs(self): argument 225 def custom(self): argument 233 def cluster(self): argument [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
| D | manager_device.py | 71 def __init__(self): argument 84 def init_environment(self, environment: str = "", user_config_file: str = "") -> bool: argument 87 def env_stop(self): argument 90 def _start_device_monitor(self, environment: str = "", user_config_file: str = "") -> bool: argument 123 def _stop_device_monitor(self): argument 130 def apply_device(self, device_option, timeout=3): argument 147 def allocate_device_option(self, device_option): argument 172 def release_device(self, device): argument 186 def lock_device(self, device): argument 200 def reset_device(self, device): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/context/ |
| D | life_stage.py | 32 def __init__(self): argument 37 def _covert_data(self): argument 40 def get_data(self): argument 45 def _get_data(self): argument 51 def _stage_name(self) -> str: argument 58 def __init__(self, action: str): argument 62 def _stage_name(self) -> str: argument 65 def _covert_data(self) -> dict: argument 77 def __init__(self, report_path, unavailable, error_msg): argument 83 def _stage_name(self) -> str: argument [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
| D | kit.py | 70 def __init__(self): argument 75 def __check_config__(self, config): argument 80 def __setup__(self, device, **kwargs): argument 90 def __teardown__(self, device): argument 99 def _run_command(self, command, device): argument 155 def __init__(self): argument 159 def __check_config__(self, config): argument 165 def __setup__(self, device, **kwargs): argument 191 def __teardown__(self, device): argument 197 def __init__(self): argument [all …]
|
| /test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
| D | device.py | 102 def device_action(self, *args, **kwargs): argument 266 def __init__(self): argument 276 def __eq__(self, other): argument 281 def init_description(self): argument 295 def __set_serial__(self, device_sn=""): argument 299 def __get_serial__(self): argument 302 def extend_device_props(self): argument 322 def get(self, key=None, default=None): argument 331 def recover_device(self): argument 342 def _get_device_platform(self): argument [all …]
|
| D | device_lite.py | 84 def device_action(self, *args, **kwargs): argument 123 def __init__(self): argument 137 def init_description(self): argument 150 def __set_serial__(self, device=None): argument 160 def __get_serial__(self): argument 163 def get(self, key=None, default=None): argument 172 def update_device_props(self, props): argument 177 def __set_device_kernel__(self, kernel_type=""): argument 180 def __get_device_kernel__(self): argument 235 def __check_config__(self, device=None): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/environment/ |
| D | env_pool.py | 65 def __init__(self, **kwargs): argument 84 def _load_managers(self): argument 102 def _unload_manager(self): argument 111 def get_device(self, selector, timeout=10): argument 123 def init_pool(self, node): argument 139 def shutdown(self): argument 149 def _apply_device(self, selector, timeout=3): argument 207 def __init__(self): argument 212 def __on_root_attrib__(self, attrib_dict): argument 215 def add_element_string(self, element_str=""): argument [all …]
|
| D | manager_env.py | 51 def __init__(self): argument 58 def __get_serial__(self): argument 64 def get_devices(self): argument 67 def get_description(self): argument 76 def check_serial(self): argument 81 def add_device(self, device, index=None): argument 119 def __init__(self, environment="", user_config_file=""): argument 130 def env_start(self, environment="", user_config_file=""): argument 156 def env_stop(self): argument 164 def apply_environment(self, device_options): argument [all …]
|
| /test/testfwk/xdevice/plugins/devicetest/runner/ |
| D | test_runner.py | 65 def __init__(self): argument 82 def init_pipeline_runner(self, run_list, configs, devices, upload_result_handler): argument 98 def init_case_runner(self, run_list: Union[BaseCase, list]): argument 104 def __init_project_variables(self): argument 120 def get_local_resource_path(self): argument 125 def get_local_aw_path(self): argument 130 def __flash_run_list(self, testargs): argument 144 def parse_retry_test_list(self, retry_test_list): argument 172 def parse_config(self, test_configs): argument 175 def add_value_to_configs(self): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/report/ |
| D | result_reporter.py | 62 def __init__(self): argument 75 def get_data(self): argument 93 def get_devices(self): argument 96 def add_module(self, name): argument 105 def __init__(self): argument 120 def __generate_reports__(self, report_path, **kwargs): argument 152 def _check_params(self, report_path, **kwargs): argument 173 def _generate_test_report(self): argument 201 def _get_summary_data(self): argument 221 def _get_exec_info(self): argument [all …]
|
| /test/xts/tools/ci/ |
| D | ci_manager.py | 32 def get_targets_from_change(self, change_list: list): argument 35 def write_result(self, target_path_set: set, target_set: set): argument 55 def __init__(self, xts_root_dir, code_root_dir): argument 61 def get_targets_from_change(self, change_list): argument 69 def getTargetsPaths(self, change_file_entity: ChangeFileEntity): argument 84 def getBundleName(self, path) -> str: argument 93 def __init__(self, xts_root_dir, code_root_dir): argument 100 def get_targets_from_change(self, change_list): argument 117 def getTargetsPaths(self, changeFileEntity: ChangeFileEntity): argument 160 def __init__(self, xts_root_dir, code_root_dir): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/ |
| D | exception.py | 21 def __init__(self, error_msg, error_no=""): argument 26 def __str__(self): argument 31 def __init__(self, error_msg, error_no=""): argument 36 def __str__(self): argument 41 def __init__(self, error_msg="ExecuteTerminate", error_no=""): argument 46 def __str__(self): argument 56 def __init__(self, error_msg="ReportException", error_no=""): argument 61 def __str__(self): argument 66 def __init__(self, error_msg, error_no=""): argument 71 def __str__(self): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/executor/ |
| D | request.py | 45 def __init__(self, uuid=None, name=None, source=None, container=False, error=None): argument 55 def get_container(self): argument 58 def get_unique_id(self): argument 71 def __init__(self, root=None, drivers=None, config=None): argument 76 def init(self, config): argument 115 def _get_task_dir(self, task_file): argument 134 def _load_task(self, task_dir, file_name): argument 145 def set_root_descriptor(self, root): argument 154 def _init_driver(self, test_descriptor): argument 206 def __init__(self, uuid=None, root=None, listeners=None, config=None): argument [all …]
|
| D | abs.py | 44 def _get_suite_result(self, test_result, create=False): argument 48 def _get_test_result(self, test_result, create=False): argument 51 def __started__(self, lifecycle, result): argument 59 def __ended__(self, lifecycle, test_result, **kwargs): argument 69 def __skipped__(self, lifecycle, result): argument 73 def __failed__(self, lifecycle, test_result): argument 80 def _handle_test_suites_start(self, test_result): argument 84 def _handle_testsuite_start(self, test_result): argument 88 def _handle_case_start(self, test_result): argument 92 def _handle_testsuite_end(self, test_result, kwargs): argument [all …]
|
| /test/testfwk/developer_test/src/core/config/ |
| D | config_manager.py | 36 def __init__(self, filepath=""): argument 45 def get_framework_config(self, target_name): argument 70 def get_test_category_info(self, target_name="test_category"): argument 90 def get_all_category_info(self, target_name="all_category"): argument 96 def __init__(self, filepath=""): argument 106 def get_filtering_list(self, target_name, product_form): argument 127 def get_filter_config_path(self): argument 133 def __init__(self, filepath=""): argument 143 def get_resource_config(self): argument 160 def get_resource_config_path(self): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/testkit/ |
| D | json_parser.py | 57 def __init__(self, path_or_content): argument 64 def _do_parse(self, path_or_content): argument 93 def _check_config(self, json_content): argument 108 def get_config(self): argument 111 def get_description(self): argument 114 def get_kits(self): argument 117 def get_environment(self): argument 120 def get_driver(self): argument 123 def get_module_subsystem(self): argument 126 def get_module_part(self): argument [all …]
|