| /test/testfwk/xdevice/src/xdevice/_core/executor/ |
| D | scheduler.py | 347 def _create_listeners(cls, task): argument 425 def get_device_options(cls, options, test_source): argument 463 def _check_device_spt(cls, kit, driver_request, device): argument 643 def _append_history_result(cls, task, module_name): argument 703 def _clear_not_executed(cls, task, test_drivers): argument 716 def report_not_executed(cls, report_path, test_drivers, error_message, argument 756 def _do_taskkit_teardown(cls, used_devices, task_unused_env): argument 792 def _get_thread_id(cls, current_driver_threads): argument 799 def _append_used_devices(cls, environment, used_devices): argument 855 def _reset_environment(cls, environment="", config_file=""): argument [all …]
|
| D | concurrent.py | 60 def executor_callback(cls, worker): argument 66 def concurrent_execute(cls, func, params_list, max_size=8): argument 358 def _get_unpassed_test_params(cls, history_report_path, module_name): argument 381 def _append_unpassed_test_param(cls, history_report_file, argument 503 def _check_testcase_pass(cls, history_testcase_element): argument 517 def _is_empty_report(cls, testsuites_element): argument 544 def _get_real_execute_result(cls, execute_result): argument 559 def _get_real_history_execute_result(cls, history_execute_result, argument
|
| /test/testfwk/xdevice/src/xdevice/_core/command/ |
| D | console.py | 68 def __new__(cls, *args, **kwargs): argument 80 def handler_terminate_signal(cls, signalnum, frame): argument 361 def _params_pre_processing(cls, para_list): argument 497 def _process_command_help(cls, parser, para_list): argument 508 def _process_command_show(cls, para_list): argument 516 def _process_command_run(cls, command, options): argument 546 def _process_command_quit(cls, command): argument 555 def _process_command_tool(cls, command, para_list, options): argument 584 def _list_history(cls): argument 598 def _list_task_id(cls, task_id): argument [all …]
|
| /test/testfwk/xdevice/src/xdevice/_core/report/ |
| D | suite_reporter.py | 218 def update_attributes(cls, case_result, test_case_attributes, argument 277 def clear_report_result(cls): argument 283 def clear_failed_case_list(cls): argument 289 def append_report_result(cls, report_result): argument 304 def _upload_case_result(cls, result_str): argument 325 def get_report_result(cls): argument 332 def set_suite_list(cls, suite_list): argument 337 def get_suite_list(cls): argument 344 def get_failed_case_list(cls): argument 351 def append_history_result(cls, suite_reports): argument [all …]
|
| D | result_reporter.py | 488 def _check_tests_and_unavailable(cls, child): argument 498 def _append_product_info(cls, test_suites_attributes, root): argument 526 def _get_module_name(cls, data_report, root): argument 682 def _find_module_name(cls, result_path, root): argument 818 def _check_mode(cls, mode): argument 904 def get_task_info_params(cls, history_path): argument 937 def set_summary_report_result(cls, summary_data_path, result_xml): argument 942 def get_result_of_summary_report(cls): argument 948 def summary_report_result_exists(cls): argument 952 def get_path_of_summary_report(cls): argument [all …]
|
| D | reporter_helper.py | 169 def initial_element(cls, tag, tail, text): argument 189 def update_suite_result(cls, suite, case): argument 201 def get_summary_result(cls, report_path, file_name, key=None, **kwargs): argument 248 def _get_data_reports(cls, report_path, file_prefix=None): argument 262 def _update_attributes(cls, summary_element, data_element, argument 515 def get_execute_time(cls, second_time): argument 614 def _render_devices(cls, file_context, devices): argument 659 def _render_key(cls, prefix, key, new_str, update_context): argument 914 def _get_suites_title(cls): argument 1226 def _get_pass_case_td_context(cls, index, case, suite_name, result): argument [all …]
|
| D | repeater_helper.py | 57 def _update_root_tree(cls, modules, root_tree): argument 105 def _need_update_status(cls, testcase): argument
|
| /test/testfwk/xdevice/plugins/devicetest/controllers/tools/ |
| D | screen_agent.py | 48 def get_instance(cls, _device): argument 60 def remove_instance(cls, _device): argument 67 def get_screenshot_dir(cls): argument 72 def get_take_picture_path(cls, _device, picture_name, argument 112 def screen_take_picture(cls, args, result, _ta=None, is_raise_exception=True): argument 117 def _do_capture(cls, _device, link, path, ext=".png"): argument 144 def __screen_and_save_picture(cls, _device, name, ext=".png", exe_type="takeImage"): argument 159 def capture_step_picture(cls, _device, name, ext=".png"): argument 168 def compress_image(cls, img_path, ratio=0.5, quality=80): argument 182 def get_image_dir_path(cls, _device, name, ext=".png", exe_type="takeImage"): argument [all …]
|
| /test/testfwk/developer_test/src/core/command/ |
| D | run.py | 58 def get_target_out_path(cls, product_form): argument 69 def _build_test_cases(cls, options): argument 85 def _check_test_dictionary(cls, test_dictionary): argument 96 def get_tests_out_path(cls, product_form): argument 116 def get_xts_tests_out_path(cls, product_form, testtype): argument 128 def get_external_deps_out_path(cls, product_form): argument 137 def get_coverage_outpath(cls, options): argument 149 def get_part_deps_list(cls, productform, testpart): argument
|
| D | console.py | 61 def __new__(cls, *args, **kwargs): argument 93 def argument_parser(cls, para_list): argument 286 def _params_pre_processing(cls, para_list): argument 300 def _process_command_version(cls, para_list): argument 306 def _process_command_help(cls, para_list): argument 314 def _process_command_show(cls, para_list, productform="phone"): argument 322 def _process_command_gen(cls, command, options): argument 330 def _process_command_run(cls, command, options): argument 338 def _process_command_device(cls, command): argument 347 def _process_command_quit(cls, command): argument [all …]
|
| D | parameter.py | 28 def get_valid_test_level_string(cls, test_level): argument 57 def get_testtype_list(cls, type_list): argument
|
| D | gen.py | 34 def fuzz_dir_generation(cls, options): argument
|
| /test/testfwk/developer_test/src/core/build/ |
| D | build_manager.py | 42 def build_version(cls, project_root_path, product_form): argument 52 def build_gn_file(cls, project_root_path, product_form): argument 62 def _make_gn_file(cls, filepath, target_list): argument 83 def _compile_test_cases_by_target(cls, project_root_path, product_form, argument 99 def _compile_deps_files(cls, project_root_path, para): argument 110 def _compile_part_deps(cls, project_root_path, para): argument 123 def _compile_xts_test_cases(cls, project_root_path, para): argument 133 def _compile_fuzz_test_case(cls, project_root_path, para): argument
|
| D | build_testcases.py | 61 def _copy_folder(cls, source_dir, target_dir): argument 75 def _get_testcase_outname_by_productform(cls, productform): argument 102 def _delete_xts_testcase_dir(cls, para): argument
|
| D | select_targets.py | 37 def _get_mlf_data_from_file(cls, filepath): argument 48 def _get_part_path_data(cls, productform): argument
|
| /test/testfwk/xdevice/plugins/devicetest/utils/ |
| D | time_util.py | 68 def get_formated_datetime(cls, time_value=None): argument 88 def get_formated_datetime_name(cls, time_val=None): argument 108 def convert_formated_name(cls, convert_time, argument 119 def get_now_datetime(cls, time_format="%Y%m%d%H%M%S%f"): argument 130 def get_timeout_value(cls): argument 140 def get_formated_time(cls, time_format='%Y-%m-%d %H:%M:%S'): argument 149 def get_interval_timestamp(cls, start_format_time, end_format_time, argument
|
| /test/testfwk/developer_test/src/core/testcase/ |
| D | testcase_manager.py | 51 def get_valid_suite_file(cls, test_case_out_path, suite_file, options): argument 92 def check_python_test_file(cls, suite_file): argument 100 def check_hap_test_file(cls, hap_file_path): argument 127 def get_hap_test_driver(cls, hap_file_path): argument 144 def get_hap_json(cls, hap_file_path): argument 157 def get_hap_part_json(cls, hap_file_path): argument 170 def get_part_name_test_file(cls, hap_file_path): argument
|
| /test/testfwk/xdevice/plugins/devicetest/log/ |
| D | logger.py | 32 def set_log(cls, log_obj): argument 38 def error(cls, content, error_no=None, is_traceback=False): argument 49 def warn(cls, content): argument 53 def warning(cls, content): argument 57 def info(cls, content): argument 61 def debug(cls, content): argument 65 def exception(cls, content, error_no=None): argument
|
| /test/testfwk/xdevice/src/xdevice/_core/ |
| D | interface.py | 69 def __subclasshook__(cls, class_info): argument 109 def __subclasshook__(cls, class_info): argument 132 def __check_failed__(cls, msg): argument 159 def __dry_run_execute__(cls, request): argument 172 def __subclasshook__(cls, class_info): argument 199 def __allocate_environment__(cls, options, test_driver): argument 206 def __free_environment__(cls, environment): argument 212 def __subclasshook__(cls, class_info): argument 264 def __subclasshook__(cls, class_info): argument 290 def __subclasshook__(cls, class_info): argument [all …]
|
| /test/testfwk/developer_test/aw/python/distributed/common/ |
| D | devices.py | 101 def get_device_para(cls, remote_ip="", remote_port="", argument 117 def get_device_hdc_para(cls, device_sn=""): argument 126 def execute_command(cls, command, print_flag=True, timeout=900): argument 139 def execute_command_with_output(cls, command, print_flag=True): argument 159 def check_path_legal(cls, path): argument
|
| /test/testfwk/developer_test/src/core/config/ |
| D | resource_manager.py | 85 def _get_file_name_extension(cls, filepath): argument 92 def get_dir_name(cls, dir_path): argument 101 def get_env_data(cls, environment_list): argument 129 def get_nodeattrib_data(cls, data_dic): argument
|
| D | config_manager.py | 179 def content_strip(cls, content): argument 183 def _verify_duplicate(cls, items): argument
|
| /test/testfwk/xdevice/src/xdevice/ |
| D | variables.py | 122 def get_plugin_type(cls): argument 126 def get_plugin_id(cls): argument
|
| /test/testfwk/xdevice/src/xdevice/_core/environment/ |
| D | env_pool.py | 56 def __new__(cls, *args, **kwargs): argument 174 def _init_log_level(cls, level): argument 181 def _start_task_log(cls): argument 193 def _stop_task_log(cls): argument 216 def create_node(cls, tag): argument
|
| /test/testfwk/xdevice/plugins/devicetest/core/ |
| D | variables.py | 477 def set_project_obj(cls, project_obj): argument 482 def set_cur_case_obj(cls, cur_case_obj): argument 488 def cur_case(cls): argument 493 def __cur_case_key(cls): argument 497 def reset(cls): argument
|