/test/testfwk/xdevice/src/xdevice/_core/ |
D | interface.py | 38 for cls in mro: 39 if method in cls.__dict__: 40 if cls.__dict__[method] is None: 69 def __subclasshook__(cls, class_info): argument 70 if cls is IDevice: 109 def __subclasshook__(cls, class_info): argument 110 if cls is IDevice: 132 def __check_failed__(cls, msg): argument 159 def __dry_run_execute__(cls, request): argument 172 def __subclasshook__(cls, class_info): argument [all …]
|
D | plugin.py | 109 def __call__(self, cls): argument 110 if hasattr(cls, _DEFAULT_CONFIG_NAME): 113 _DEFAULT_CONFIG_NAME, cls.__name__)) 114 setattr(cls, _DEFAULT_CONFIG_NAME, Config(self.params)) 116 init_func = getattr(cls, "__init__", None) 122 cls.__name__)) 124 if hasattr(cls, "get_plugin_config"): 127 "get_plugin_config", cls.__name__)) 131 return getattr(cls, _DEFAULT_CONFIG_NAME) 133 setattr(cls, "get_plugin_config", get_plugin_config) [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 280 cls.suite_report_result.clear() 283 def clear_failed_case_list(cls): argument 286 cls.failed_case_list.clear() 289 def append_report_result(cls, report_result): argument 295 for index, exist_result in enumerate(cls.suite_report_result): 298 cls.suite_report_result[index] = report_result 300 cls.suite_report_result.append(report_result) 301 cls._upload_case_result(report_result[1]) [all …]
|
D | reporter_helper.py | 167 def initial_element(cls, tag, tail, text): argument 187 def update_suite_result(cls, suite, case): argument 199 def get_summary_result(cls, report_path, file_name, key=None, **kwargs): argument 202 data_reports = cls._get_data_reports(report_path, file_prefix) 213 data_report_element = cls.parse_data_report(data_report) 242 cls.generate_report(summary_result, file_name) 246 def _get_data_reports(cls, report_path, file_prefix=None): argument 252 if not file_name.endswith(cls.DATA_REPORT_SUFFIX): 260 def _update_attributes(cls, summary_element, data_element, argument 513 def get_execute_time(cls, second_time): 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 906 if check_pub_key_exist() and not cls._check_mode(ModeType.decc): 937 def set_summary_report_result(cls, summary_data_path, result_xml): argument 938 cls.summary_report_result.clear() 939 cls.summary_report_result.append((summary_data_path, result_xml)) [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/developer_test/src/core/command/ |
D | console.py | 61 def __new__(cls, *args, **kwargs): argument 62 if cls.__instance is None: 63 cls.__instance = super(Console, cls).__new__(cls, *args, **kwargs) 64 return cls.__instance 134 def argument_parser(cls, para_list): argument 306 cls._params_pre_processing(para_list) 308 cls._params_post_processing(options) 370 def _params_pre_processing(cls, para_list): argument 400 def _process_command_version(cls, para_list): argument 406 def _process_command_help(cls, para_list): 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 | run.py | 331 def get_target_out_path(cls, product_form): argument 342 def _build_test_cases(cls, options): argument 358 def _check_test_dictionary(cls, test_dictionary): argument 369 def get_tests_out_path(cls, product_form): argument 389 def get_xts_tests_out_path(cls, product_form, testtype): argument 401 def get_external_deps_out_path(cls, product_form): argument 410 def get_coverage_outpath(cls, options): argument 422 def get_part_deps_list(cls, productform, testpart): argument 424 external_deps_path = cls.get_external_deps_out_path(productform)
|
D | gen.py | 57 def fuzz_dir_generation(cls, options): argument
|
/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 434 device_options = cls._find_device_options( 439 device_options = cls._find_device_options( 442 device_options = cls._calculate_device_options( 463 def _check_device_spt(cls, kit, driver_request, device): argument 464 kit_spt = cls._parse_property_value(ConfigConst.spt, 643 def _append_history_result(cls, task, module_name): argument 703 def _clear_not_executed(cls, task, test_drivers): argument 711 cls.report_not_executed(task.config.report_path, test_drivers, [all …]
|
D | source.py | 510 def reset(cls): argument 511 cls.test_type = copy.deepcopy(TEST_TYPE_DICT) 512 cls.exe_type = copy.deepcopy(EXT_TYPE_DICT) 515 def clear(cls): argument 516 cls.test_type.clear() 517 cls.exe_type.clear()
|
D | concurrent.py | 58 def executor_callback(cls, worker): argument 64 def concurrent_execute(cls, func, params_list, max_size=8): argument 77 future.add_done_callback(cls.executor_callback) 338 def _get_unpassed_test_params(cls, history_report_path, module_name): argument 361 def _append_unpassed_test_param(cls, history_report_file, argument 483 def _check_testcase_pass(cls, history_testcase_element): argument 497 def _is_empty_report(cls, testsuites_element): argument 524 def _get_real_execute_result(cls, execute_result): argument 539 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 72 if cls.__instance is None: 73 cls.__instance = super(Console, cls).__new__(cls, *args, **kwargs) 74 return cls.__instance 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 500 cls.display_help_command_info(para_list[1]) 508 def _process_command_show(cls, para_list): argument 516 def _process_command_run(cls, command, options): argument [all …]
|
/test/testfwk/developer_test/src/core/build/ |
D | build_manager.py | 43 def _make_gn_file(cls, filepath, target_list): argument 64 def _compile_test_cases_by_target(cls, project_root_path, product_form, argument 80 def _compile_deps_files(cls, project_root_path, para): argument 91 def _compile_part_deps(cls, project_root_path, para): argument 104 def _compile_xts_test_cases(cls, project_root_path, para): argument 114 def _compile_fuzz_test_case(cls, project_root_path, para): argument 195 def build_version(cls, project_root_path, product_form): argument 205 def build_gn_file(cls, project_root_path, product_form): argument
|
D | select_targets.py | 37 def _get_mlf_data_from_file(cls, filepath): argument 48 def _get_part_path_data(cls, productform): 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
|
/test/testfwk/developer_test/src/core/testcase/ |
D | testcase_manager.py | 224 def get_valid_suite_file(cls, test_case_out_path, suite_file, options): argument 265 def check_python_test_file(cls, suite_file): argument 273 def check_hap_test_file(cls, hap_file_path): argument 300 def get_hap_test_driver(cls, hap_file_path): argument 301 data_dic = cls.get_hap_json(hap_file_path) 317 def get_hap_json(cls, hap_file_path): argument 330 def get_hap_part_json(cls, hap_file_path): argument 343 def get_part_name_test_file(cls, hap_file_path): argument 344 data_dic = cls.get_hap_part_json(hap_file_path)
|
/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 189 def execute_command(cls, command, print_flag=True, timeout=900): argument 210 def execute_command_with_output(cls, command, print_flag=True): argument 230 def check_path_legal(cls, path): argument
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
D | env_pool.py | 56 def __new__(cls, *args, **kwargs): argument 61 if cls.instance is None: 62 cls.instance = super(EnvPool, cls).__new__(cls) 63 return cls.instance 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
|
D | manager_env.py | 92 def __new__(cls, *args, **kwargs): argument 97 if cls.__instance is None: 98 cls.__instance = super(EnvironmentManager, cls).__new__(cls) 99 return cls.__instance
|
/test/testfwk/developer_test/src/core/config/ |
D | resource_manager.py | 116 def _get_file_name_extension(cls, filepath): argument 123 def get_dir_name(cls, dir_path): argument 191 def get_env_data(cls, environment_list): argument 248 def get_nodeattrib_data(cls, data_dic): argument
|
/test/xts/acts/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/resources/base/media/ |
D | play.svg | 1 …图层 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><defs><style>.cls-1{fill:#1a1a1a;}</s…
|
/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/testkit/ |
D | json_parser.py | 98 def _check_type_key_exist(cls, key, value): argument
|