Home
last modified time | relevance | path

Searched defs:cls (Results 1 – 25 of 65) sorted by relevance

123

/test/testfwk/xdevice/src/xdevice/_core/context/
Dupload.py46 def is_enable(cls): argument
52 def get_session(cls): argument
56 def upload_task_result(cls, task, error_message=""): argument
87 def upload_module_result(cls, exec_message): argument
130 def upload_unavailable_result(cls, error_msg, case_id="", report_path=""): argument
138 def upload_case_result(cls, upload_param): argument
153 def upload_report_end(cls): argument
161 def _get_time(cls, testsuite_element): argument
196 def _get_task_result(cls, task_element): argument
212 def _get_report_path(cls, base_path, report=""): argument
[all …]
Dchannel.py29 def append(cls, command): argument
33 def pop(cls, index=-1): argument
37 def get_last(cls): argument
41 def get(cls, index: int): argument
45 def update(cls, index, command): argument
49 def list_history(cls): argument
54 def size(cls): argument
58 def is_empty(cls): argument
Dabs.py78 def __max_command_size__(cls) -> int: argument
82 def terminate_cmd_exec(cls): argument
90 def is_executing(cls): argument
95 def _exec_type_(cls) -> list: argument
116 def _call_terminate(cls): argument
121 def _reset_environment(cls, environment="", config_file=""): argument
129 def is_need_auto_retry(cls): argument
133 def set_need_auto_retry(cls, is_need: bool): argument
137 def get_repeat_index(cls): argument
141 def set_repeat_index(cls, value: int): argument
[all …]
Dimpl.py63 def add_life_stage_listener(cls, listener: ILifeStageListener): argument
67 def notify_stage(cls, stage_event: StageEvent): argument
72 def remove_life_stage_listener(cls): argument
76 def __max_command_size__(cls) -> int: argument
80 def _start_auto_retry(cls): argument
94 def _check_auto_retry(cls, options): argument
101 def _handler_repeat(cls, task) -> list: argument
110 def _construct_repeat_list(cls, task, index): argument
199 def _clear_not_executed(cls, task, test_drivers): argument
234 def __create_listeners__(cls, task) -> list: argument
[all …]
Dtdd.py27 def update_test_type_in_source(cls, key, value): argument
32 def update_ext_type_in_source(cls, key, value): argument
37 def clear_test_dict_source(cls): argument
41 def reset_test_dict_source(cls): argument
/test/testfwk/xdevice/src/xdevice/_core/report/
Dsuite_reporter.py223 def update_attributes(cls, case_result, test_case_attributes, argument
287 def clear_report_result(cls): argument
293 def clear_failed_case_list(cls): argument
299 def append_report_result(cls, report_result): argument
314 def _upload_case_result(cls, result_str): argument
333 def get_report_result(cls): argument
340 def set_suite_list(cls, suite_list): argument
345 def get_suite_list(cls): argument
352 def get_failed_case_list(cls): argument
359 def append_history_result(cls, suite_reports): argument
[all …]
Dresult_reporter.py527 def _check_tests_and_unavailable(cls, child): argument
537 def _get_module_name(cls, data_report, root): argument
602 def _find_module_name(cls, result_path, root): argument
690 def _check_mode(cls, mode): argument
731 def get_task_info_params(cls, history_path): argument
776 def _handle_module_tests(cls, modules, test_suites_attributes): argument
Drepeater_helper.py57 def _update_root_tree(cls, modules, root_tree): argument
105 def _need_update_status(cls, testcase): argument
/test/testfwk/xdevice/src/xdevice/_core/command/
Dconsole.py74 def __new__(cls, *args, **kwargs): argument
86 def handler_terminate_signal(cls, signalnum, frame): argument
396 def _params_pre_processing(cls, para_list): argument
548 def _process_command_help(cls, parser, para_list): argument
559 def _process_command_show(cls, para_list): argument
567 def _process_command_run(cls, command, options): argument
616 def _process_command_quit(cls, command): argument
626 def _process_command_tool(cls, command, para_list, options): argument
680 def _list_history(cls): argument
694 def _list_task_id(cls, task_id): argument
[all …]
/test/xts/acts/arkcompiler/arkts_ani_test_static/entry/src/main/cpp/
DAccessingFiledsOfObjects.h53 ani_class cls = {}; in test_Object_SetProperty_Boolean() local
64 ani_class cls = {}; in test_Object_SetProperty_Char() local
75 ani_class cls = {}; in test_Object_SetProperty_Byte() local
86 ani_class cls = {}; in test_Object_SetProperty_Short() local
97 ani_class cls = {}; in test_Object_SetProperty_Int() local
108 ani_class cls = {}; in test_Object_SetProperty_Long() local
119 ani_class cls = {}; in test_Object_SetProperty_Float() local
130 ani_class cls = {}; in test_Object_SetProperty_Double() local
141 ani_class cls = {}; in test_Object_SetProperty_Ref() local
152 ani_class cls = {}; in test_Object_GetPropertyByName_Boolean() local
[all …]
DClassCallingStaticMethods.h22 ani_class cls = {}; in test_Class_CallStaticMethodByName_Boolean() local
33 ani_class cls = {}; in test_Class_CallStaticMethodByName_Boolean_A() local
45 ani_boolean TestFuncV([[maybe_unused]] ani_env *env_, ani_class cls, const char *name, ani_boolean … in TestFuncV()
58 ani_class cls = {}; in test_Class_CallStaticMethodByName_Boolean_V() local
68 ani_class cls = {}; in test_Class_CallStaticMethodByName_Char() local
80 ani_class cls = {}; in test_Class_CallStaticMethodByName_Char_A() local
92 ani_boolean TestFuncV([[maybe_unused]] ani_env *env, ani_class cls, const char *name, ani_char *val… in TestFuncV()
104 ani_class cls = {}; in test_Class_CallStaticMethodByName_Char_V() local
116 ani_class cls = {}; in test_Class_CallStaticMethodByName_Byte() local
129 ani_class cls = {}; in test_Class_CallStaticMethodByName_Byte_A() local
[all …]
DClassOperations.h22 ani_class cls = {}; in test_FindClass() local
31 ani_class cls = {}; in test_Class_FindStaticMethodBoolean() local
44 ani_class cls = {}; in test_Class_FindStaticMethodInt() local
57 ani_class cls = {}; in test_Class_FindMethod() local
77 ani_class cls = {}; in test_Class_BindNativeMethods() local
90 ani_class cls = nullptr; in test_Type_GetSuperClass() local
/test/testfwk/developer_test/src/core/command/
Drun.py58 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
Dconsole.py61 def __new__(cls, *args, **kwargs): argument
93 def argument_parser(cls, para_list): argument
300 def _params_pre_processing(cls, para_list): argument
314 def _process_command_version(cls, para_list): argument
320 def _process_command_help(cls, para_list): argument
328 def _process_command_show(cls, para_list, productform="phone"): argument
336 def _process_command_gen(cls, command, options): argument
344 def _process_command_run(cls, command, options): argument
352 def _process_command_device(cls, command): argument
361 def _process_command_quit(cls, command): argument
[all …]
Dparameter.py28 def get_valid_test_level_string(cls, test_level): argument
57 def get_testtype_list(cls, type_list): argument
/test/testfwk/xdevice/plugins/devicetest/controllers/tools/
Dscreen_agent.py49 def get_instance(cls, _device): argument
61 def remove_instance(cls, _device): argument
68 def get_screenshot_dir(cls): argument
73 def get_take_picture_path(cls, _device, picture_name, argument
113 def screen_take_picture(cls, args, result, _ta=None, is_raise_exception=True): argument
118 def _do_capture(cls, _device, link, path, title, ext=".png"): argument
139 def __screen_and_save_picture(cls, _device, name, ext=".png", exe_type="takeImage"): argument
150 def capture_step_picture(cls, file_name, step_name, _device, ext=".png"): argument
167 def compress_image(cls, img_path, ratio=0.5, quality=80): argument
181 def get_image_dir_path(cls, _device, name, ext=".png", exe_type="takeImage"): argument
[all …]
/test/testfwk/developer_test/src/core/build/
Dbuild_manager.py42 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
/test/testfwk/xdevice/plugins/devicetest/utils/
Dtime_util.py68 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/xts/tools/ci/
DUtils.py107 def initialization(cls): argument
125 def interface_initialization(cls): argument
141 def get_interface_json_js_data(cls): argument
147 def get_interface_json_c_data(cls): argument
153 def get_interface_json_driver_interface_data(cls): argument
159 def get_interface_path_list(cls): argument
165 def get_exception_path(cls): argument
171 def get_all_com_path(cls): argument
177 def get_skip_judge_build_path(cls): argument
183 def get_temple_list(cls): argument
[all …]
/test/testfwk/xdevice/src/xdevice/_core/executor/
Dscheduler.py201 def __free_environment__(cls, environment): argument
211 def _check_device_spt(cls, kit, driver_request, device): argument
350 def _append_history_result(cls, task, module_name): argument
433 def _do_taskkit_teardown(cls, used_devices, task_unused_env): argument
469 def _get_thread_name(cls, current_driver_threads): argument
476 def _append_used_devices(cls, environment, used_devices): argument
484 def _reset_environment(cls, environment="", config_file=""): argument
490 def _restore_environment(cls): argument
629 def _terminate(cls): argument
634 def upload_report_end(cls): argument
[all …]
Dconcurrent.py64 def executor_callback(cls, worker): argument
70 def concurrent_execute(cls, func, params_list, max_size=8): argument
339 def _get_unpassed_test_params(cls, history_report_path, module_name): argument
362 def _append_unpassed_test_param(cls, history_report_file, unpassed_test_params): argument
482 def _check_testcase_pass(cls, history_testcase_element): argument
496 def _is_empty_report(cls, testsuites_element): argument
523 def _get_real_execute_result(cls, execute_result): argument
538 def _get_real_history_execute_result(cls, history_execute_result, argument
/test/testfwk/developer_test/src/core/testcase/
Dtestcase_manager.py51 def get_valid_suite_file(cls, test_case_out_path, suite_file, options): argument
91 def check_python_test_file(cls, suite_file): argument
99 def check_hap_test_file(cls, hap_file_path): argument
126 def get_hap_test_driver(cls, hap_file_path): argument
143 def get_hap_json(cls, hap_file_path): argument
156 def get_hap_part_json(cls, hap_file_path): argument
169 def get_part_name_test_file(cls, hap_file_path): argument
/test/testfwk/xdevice/src/xdevice/_core/
Dinterface.py69 def __subclasshook__(cls, class_info): argument
109 def __subclasshook__(cls, class_info): argument
125 def check_advance_option(cls, extend_value, **kwargs): argument
136 def __check_failed__(cls, msg): argument
163 def __dry_run_execute__(cls, request): argument
176 def __subclasshook__(cls, class_info): argument
203 def __allocate_environment__(cls, options, test_driver): argument
210 def __free_environment__(cls, environment): argument
216 def __subclasshook__(cls, class_info): argument
268 def __subclasshook__(cls, class_info): argument
[all …]
/test/testfwk/developer_test/aw/python/distributed/common/
Ddevices.py101 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/
Dresource_manager.py85 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

123