Home
last modified time | relevance | path

Searched refs:kwargs (Results 1 – 24 of 24) sorted by relevance

/test/xts/tools/build/
Dutils.py199 def build_js_hap(**kwargs): argument
202 if "project_path" not in kwargs or "out_put_dir" not in kwargs:
204 project_path = kwargs.get("project_path")
209 if "SIGN_USER_NAME" not in kwargs:
212 gradle_parm_cmd = get_gradle_cmd(**kwargs)
228 out_put_dir = kwargs.get("out_put_dir")
231 hap_name = kwargs.get("hap_name")
244 def get_gradle_cmd(**kwargs): argument
246 if kwargs:
247 kwargs.setdefault("SIGN_USER_NAME", _DEFAULT_USER_NAME)
[all …]
/test/testfwk/xdevice/src/xdevice/_core/executor/
Dlistener.py169 def __ended__(self, lifecycle, test_result, **kwargs): argument
174 del kwargs
195 def __skipped__(lifecycle, test_result, **kwargs): argument
199 del kwargs
208 def __failed__(lifecycle, test_result, **kwargs): argument
273 def __ended__(self, lifecycle, test_result=None, **kwargs): argument
281 is_clear = kwargs.get("is_clear", False)
284 if not kwargs.get("suite_report", False):
305 if not kwargs.get("suite_report", False):
308 suites_name = kwargs.get("suites_name", "")
[all …]
Dscheduler.py1398 def call_life_stage_action(**kwargs): argument
1406 stage = kwargs.get("stage", None)
1411 task = kwargs.get("task", None)
1412 error = kwargs.get("error", "")
1413 unavailable = kwargs.get("unavailable", 0)
1432 case_name = kwargs.get("case_name", "")
1435 case_name = kwargs.get("case_name", "")
1436 case_result = kwargs.get("case_result", "")
1437 error_msg = kwargs.get("error_msg", "")
/test/testfwk/xdevice/src/xdevice/_core/
Dlogger.py184 def info(self, msg, *args, **kwargs): argument
185 additional_output = self._get_additional_output(**kwargs)
193 def debug(self, msg, *args, **kwargs): argument
194 additional_output = self._get_additional_output(**kwargs)
205 def error(self, msg, *args, **kwargs): argument
206 error_no = kwargs.get("error_no", "00000")
207 additional_output = self._get_additional_output(error_no, **kwargs)
216 def warning(self, msg, *args, **kwargs): argument
217 additional_output = self._get_additional_output(**kwargs)
226 def exception(self, msg, *args, **kwargs): argument
[all …]
Dplugin.py92 def __init__(self, *args, **kwargs): argument
93 _param_dict = dict(kwargs)
183 def set_plugin_params(plugin_type, plugin_id=None, **kwargs): argument
198 params.update(kwargs)
Dinterface.py245 def __ended__(self, lifecycle, result, **kwargs): argument
338 def __setup__(self, device, **kwargs): argument
360 def __generate_reports__(self, report_path, **kwargs): argument
Dutils.py416 report_name="", module_name="", **kwargs): argument
447 is_monkey=kwargs.get("is_monkey", False), device_up_info=kwargs.get("device_up_info", None))
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
Ddevice.py81 def device_action(self, *args, **kwargs): argument
87 abort_on_exception = bool(kwargs.get("abort_on_exception", False))
89 result = func(self, *args, **kwargs)
92 tmp = int(kwargs.get("retry", RETRY_ATTEMPTS))
97 result = func(self, *args, **kwargs)
293 def connector_command(self, command, **kwargs): argument
294 timeout = int(kwargs.get("timeout", TIMEOUT)) / 1000
295 error_print = bool(kwargs.get("error_print", True))
296 join_result = bool(kwargs.get("join_result", False))
315 is_print = bool(kwargs.get("is_print", True))
[all …]
Ddevice_lite.py82 def device_action(self, *args, **kwargs): argument
88 tmp = int(kwargs.get("retry", RETRY_ATTEMPTS))
93 result = func(self, *args, **kwargs)
316 timeout=TIMEOUT, **kwargs): argument
332 receiver = kwargs.get("receiver", None)
497 def execute_command_with_timeout(self, **kwargs): argument
501 args = kwargs
557 def execute_command_with_timeout(self, **kwargs): argument
561 return LiteHelper.execute_local_cmd_with_timeout(self.com, **kwargs)
Ddmlib_lite.py263 def execute_local_cmd_with_timeout(com, **kwargs): argument
267 args = kwargs
Ddmlib.py813 receiver=None, **kwargs): argument
834 output_flag = kwargs.get("output_flag", True)
/test/testfwk/developer_test/libs/benchmark/report/
Dbenchmark_reporter.py35 def __generate_reports__(self, report_path, **kwargs): argument
36 del kwargs
/test/testfwk/xdevice/src/xdevice/_core/report/
Dsuite_reporter.py48 def __init__(self, results, report_name, report_path=None, **kwargs): argument
63 self.kwargs = kwargs
164 ReportConstant.product_info: self.kwargs.get(ReportConstant.product_info_, ""),
166 ReportConstant.message: self.kwargs.get(ReportConstant.message, "")
168 module_name = self.kwargs.get(ReportConstant.module_name, "")
253 if self.kwargs.get(ReportConstant.module_name, ""):
254 test_suite_attributes[ReportConstant.module_name] = self.kwargs.get(
Dresult_reporter.py111 def __generate_reports__(self, report_path, **kwargs): argument
118 if self._check_params(report_path, **kwargs):
142 def _check_params(self, report_path, **kwargs): argument
143 task_info = kwargs.get("task_info", "")
Dreporter_helper.py199 def get_summary_result(cls, report_path, file_name, key=None, **kwargs): argument
200 reverse = kwargs.get("reverse", False)
201 file_prefix = kwargs.get("file_prefix", None)
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit_lite.py130 def __setup__(self, device, **kwargs): argument
138 del kwargs
260 def __setup__(self, device, **kwargs): argument
266 request = kwargs.get("request", None)
494 def __setup__(self, device, **kwargs): argument
495 del kwargs
572 def __setup__(self, device, **kwargs): argument
576 request = kwargs.get("request", None)
612 def __setup__(self, device, **kwargs): argument
613 del kwargs
[all …]
Dkit.py80 def __setup__(self, device, **kwargs): argument
81 del kwargs
169 def __setup__(self, device, **kwargs): argument
170 del kwargs
232 def __setup__(self, device, **kwargs): argument
233 self.request = kwargs.get("request")
446 def __setup__(self, device, **kwargs): argument
447 del kwargs
486 def __setup__(self, device, **kwargs): argument
487 del kwargs
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/executor/
Dlistener.py50 def __ended__(self, lifecycle, test_result=None, **kwargs): argument
81 def __ended__(self, lifecycle, test_result=None, **kwargs): argument
/test/testfwk/xdevice/src/xdevice/_core/environment/
Denv_pool.py56 def __new__(cls, *args, **kwargs): argument
60 del args, kwargs
65 def __init__(self, **kwargs): argument
66 EnvPool.report_path = kwargs.get("report_path", "")
73 self._init_log_level(kwargs.get("log_level", "info"))
76 EnvPool.resource_path = kwargs.get("resource_path",
Dmanager_env.py92 def __new__(cls, *args, **kwargs): argument
96 del args, kwargs
/test/testfwk/developer_test/src/core/testkit/
Dkit_lite.py116 def __setup__(self, device, **kwargs): argument
124 args = kwargs
/test/testfwk/xdevice/docs/
DDevice_Auto_Upgrade_Guide.md120 def __init__(self, serial_port, baund_rate, patch_file, burn_tools, **kwargs):
127 self.arg = kwargs
/test/testfwk/developer_test/src/core/command/
Dconsole.py61 def __new__(cls, *args, **kwargs): argument
63 cls.__instance = super(Console, cls).__new__(cls, *args, **kwargs)
/test/testfwk/xdevice/src/xdevice/_core/command/
Dconsole.py68 def __new__(cls, *args, **kwargs): argument
73 cls.__instance = super(Console, cls).__new__(cls, *args, **kwargs)