Home
last modified time | relevance | path

Searched refs:getattr (Results 1 - 25 of 53) sorted by relevance

123

/test/testfwk/xdevice/src/xdevice/_core/testkit/
H A Djson_parser.py112 return getattr(self.config, "description", "")
115 return getattr(self.config, "kits", [])
118 return getattr(self.config, "environment", [])
121 return getattr(self.config, "driver", {})
124 return getattr(self.config, "module_subsystem", "zzzzzzzz")
127 return getattr(self.config, "module_part", "")
130 driver = getattr(self.config, "driver", {})
134 return getattr(self.config, "testSuiteName", "AppTest")
137 return getattr(self.config, "test_case_list", [])
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Dscheduler.py143 test_type = getattr(task.config, "testtype", [])
144 task_name = getattr(task.config, "task", "")
168 task_info.repeat = getattr(task.config, ConfigConst.repeat, 1)
170 task_info.product_info = getattr(task, "product_info", "")
218 if getattr(driver_request, ConfigConst.product_info, ""):
219 product_info = getattr(driver_request,
247 if not getattr(device, ConfigConst.need_kit_setup, True):
254 for kit in getattr(device, ConfigConst.task_kits, []):
262 error_no = getattr(exception, "error_no", "00000")
274 if not getattr(devic
[all...]
H A Dconcurrent.py142 error_no = getattr(exception, "error_no", "00000")
160 if getattr(config, "reboot_per_module", False):
194 if getattr(self.task.config, "history_report_path", ""):
227 module_kits = getattr(device, ConfigConst.common_module_kits)
238 for kit in getattr(device, ConfigConst.common_module_kits, []):
246 if check_mode(ModeType.decc) or getattr(
254 getattr(driver_request.config, ConfigConst.module_config, None)):
255 module_config_path = getattr(driver_request.config, ConfigConst.module_config, None)
267 if not getattr(device, ConfigConst.need_kit_setup, True):
274 for kit in getattr(devic
[all...]
H A Dsource.py99 if getattr(config, ConfigConst.testcases_path, ""):
106 if getattr(config, ConfigConst.testcases_path, "") and os.path.normcase(
131 if getattr(config, ConfigConst.testdict, "") == "":
173 getattr(config, ConfigConst.component_mapper, dict()).update(
184 getattr(config, ConfigConst.component_base_kit, "") and \
191 if getattr(config, ConfigConst.testlist, ""):
198 if getattr(config, ConfigConst.testfile, ""):
214 if getattr(config, ConfigConst.testcase, ""):
220 if getattr(config, ConfigConst.subsystems, []) or \
221 getattr(confi
[all...]
H A Drequest.py85 if getattr(config, ConfigConst.report_path, "") == "":
101 if getattr(config, "task", ""):
188 getattr(self.config, ConfigConst.component_mapper).pop(ignore_test)
222 return getattr(self.config, key, default)
231 return getattr(self.config.environment, "devices", [])
257 return getattr(self.root, "source", "")
265 return getattr(source, key, default)
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dimpl.py96 int(getattr(options, ConfigConst.auto_retry, 0)) > 0:
97 value = int(getattr(options, ConfigConst.auto_retry, 0))
137 repeat = getattr(task.config, ConfigConst.repeat, 1)
147 error_no = getattr(exception, "error_no", "")
270 if getattr(task.config, ConfigConst.test_environment, ""):
273 elif getattr(task.config, ConfigConst.configfile, ""):
H A Dsingle.py31 return getattr(cls, "_instance")
H A Dcenter.py43 result = getattr(param, attr, None)
H A Dhandler.py85 if task and getattr(task.config, "testdict", ""):
/test/testfwk/xdevice/src/xdevice/_core/
H A Dlogger.py58 log_level = getattr(sys, "log_level", logging.INFO) if hasattr(
115 and getattr(sys, LogMode.name, LogMode.default) != LogMode.no_console:
236 cache = getattr(self.platform_log, "_cache", None)
466 if getattr(logger, "setLevel", None):
468 elif getattr(logger, "set_level", None):
493 base_file_name = getattr(self, "baseFilename", None)
502 should_rollover = getattr(self, "shouldRollover", None)
507 if not getattr(self, "stream", None):
510 stream = getattr(self, "stream", self._open())
547 "ErrorNo={}".format(getattr(erro
[all...]
H A Dplugin.py112 init_func = getattr(cls, "__init__", None)
123 return getattr(cls, _DEFAULT_CONFIG_NAME)
187 params = getattr(plugin, _DEFAULT_CONFIG_NAME)
H A Dvariables.py153 pkg_path = getattr(package, "__path__", "")
154 pkg_name = getattr(package, "__name__", "")
H A Dutils.py567 kit_device_name = getattr(kit, "device_name", None)
583 kit_device_index_list = getattr(kit, "env_index_list", None)
679 module_kits = getattr(device, ConfigConst.module_kits)
690 for kit in getattr(device, ConfigConst.module_kits, []):
706 return getattr(sys, "mode") == mode
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dreporter_helper.py387 if not getattr(case, ReportConstant.result, "") or \
388 getattr(case, ReportConstant.result, "") == ReportConstant.completed:
500 exec_info.platform = getattr(task_info, ReportConstant.platform,
502 exec_info.test_type = getattr(task_info, ReportConstant.test_type,
504 exec_info.device_name = getattr(task_info, ReportConstant.device_name,
520 exec_info.device_label = getattr(task_info,
686 value = self._get_hidden_style_value(getattr(
778 for key in getattr(data_object, "keys", []):
781 result = getattr(data_object, ReportConstant.result, Result())
782 new_str = str(getattr(resul
[all...]
/test/testfwk/xdevice/src/xdevice/_core/environment/
H A Dmanager_env.py200 support_labels = getattr(manager, "support_labels", [])
201 support_types = getattr(manager, "support_types", [])
256 support_labels = getattr(manager, "support_labels", [])
257 support_types = getattr(manager, "support_types", [])
340 if not getattr(device, "task_state", True):
365 subsystems, parts = getattr(device, ConfigConst.support_component)
H A Denv_pool.py157 support_labels = getattr(manager, "support_labels", [])
158 support_types = getattr(manager, "support_types", [])
333 if not getattr(device, "task_state", True):
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dhi_config_parser.py52 #print('execute with exe...') if getattr(sys, 'frozen', False) else print('execute with python...')
63 if getattr(sys, 'frozen', False):
110 if getattr(sys, 'frozen', False):
/test/testfwk/developer_test/src/main/
H A D_init_global_config.py98 pkg_path = getattr(package, "__path__", "")
99 pkg_name = getattr(package, "__name__", "")
/test/testfwk/developer_test/libs/fuzzlib/tools/
H A Dcolored.py117 getattr(Colored, color),
124 getattr(Colored, color),
/test/testfwk/developer_test/src/core/testkit/
H A Dkit_lite.py109 error), error_no=getattr(error, "error_no",
113 error_no=getattr(error, "error_no",
/test/testfwk/xdevice/src/xdevice/_core/command/
H A Dconsole.py443 params = getattr(options, ConfigConst.kits_params, "")
464 history_report_path = getattr(options,
602 report_path = str(getattr(options, ConfigConst.report_path, ""))
793 history_value = getattr(history_options, option_name, "")
794 input_value = getattr(input_options, option_name, "")
817 action_list = getattr(parser, "_actions", [])
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dtest_case.py288 test_funcs.append((test_name, getattr(self, test_name)))
354 if hasattr(self, "tests") and isinstance(getattr(self, "tests", None), list):
683 self.exec_one_testcase(test_name, getattr(self, test_name))
703 self.exec_one_testcase(cat_log_step, getattr(self, cat_log_step))
705 self.exec_one_testcase(reset_test, getattr(self, reset_test))
733 if not hasattr(_ad, "device_id") or not getattr(_ad, "device_id"):
1162 if args and getattr(args[0], "__module__", None):
1166 _device = getattr(_ad, "_device", None)
1168 dev_alias = getattr(_device, "device_id", "")
1171 dev_sn = getattr(_a
[all...]
H A Derror_message.py1193 get_value = getattr(DetailErrorMassage, _attribute)
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib_lite.py196 device_log_file = getattr(sys, "device_log_file", "")
245 if not getattr(exception, "error_no", ""):
251 if not getattr(exception, "error_no", ""):
/test/xts/tools/lite/build/
H A Dsuite.py257 class_def = getattr(this_module, class_name, None)
262 func = getattr(class_obj, action, None)

Completed in 16 milliseconds

123