/test/testfwk/xdevice/src/xdevice/_core/report/ |
D | __main__.py | 38 report_path = input("report path >>> ") 40 report_path = args[1] 43 if not os.path.isabs(report_path): 44 report_path = os.path.abspath(os.path.join(exec_dir, report_path)) 46 if not os.path.exists(report_path): 47 LOG.error("Report path %s not exists", report_path) 50 LOG.info("Report path: %s", report_path) 58 result_report.__generate_reports__(report_path, task_info=task_info)
|
D | result_reporter.py | 95 self.report_path = None 111 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 144 if not report_path: 146 ReportPath=report_path) 153 os.makedirs(report_path, exist_ok=True) 154 self.report_path = report_path 157 self.report_path, ReportConstant.summary_data_report) 161 self.vision_helper.report_path = report_path [all …]
|
D | suite_reporter.py | 48 def __init__(self, results, report_name, report_path=None, **kwargs): argument 59 self.report_path = report_path 61 self.report_path, "%s%s" % ( 356 for report_path, report_result in suite_reports: 357 module_name = get_filename_extension(report_path)[0] 359 append((module_name, report_path, report_result)) 372 for module_name, report_path, report_result in \ 375 return report_path, report_result
|
D | repeater_helper.py | 24 def __init__(self, report_path): argument 26 self.report_path = report_path 53 file_name = r"{}\repeated.xml".format(self.report_path)
|
D | reporter_helper.py | 201 def get_summary_result(cls, report_path, file_name, key=None, **kwargs): argument 204 data_reports = cls._get_data_reports(report_path, file_prefix) 248 def _get_data_reports(cls, report_path, file_prefix=None): argument 249 if not os.path.isdir(report_path): 252 for root, _, files in os.walk(report_path): 465 self.report_path = "" 469 def parse_element_data(self, summary_element, report_path, task_info): argument 471 exec_info = self._set_exec_info(report_path, task_info) 478 def _set_exec_info(self, report_path, task_info): argument 503 exec_info.log_path = os.path.abspath(os.path.join(report_path, "log")) [all …]
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
D | request.py | 81 if getattr(config, ConfigConst.report_path, "") == "": 84 Variables.task_name = config.report_path 87 report_path = os.path.join(Variables.exec_dir, 90 os.makedirs(report_path, exist_ok=True) 91 self._check_report_path(report_path) 93 log_path = os.path.join(report_path, Variables.report_vars.log_dir) 104 self.config.report_path = report_path 109 LOG.info("Report path: %s", report_path) 178 Scheduler.report_not_executed(self.config.report_path, [ 202 def _check_report_path(cls, report_path): argument [all …]
|
D | scheduler.py | 135 task.config.report_path)) 305 "Removing report_path: {}".format(task.config.report_path)) 309 shutil.rmtree(task.config.report_path) 359 task.config.report_path) 613 self.report_not_executed(task.config.report_path, 676 os.path.join(task.config.report_path, "result") 679 task.config.report_path, "result", file_name) 696 self.report_not_executed(task.config.report_path, [test_drivers[0]], 711 cls.report_not_executed(task.config.report_path, test_drivers, 716 def report_not_executed(cls, report_path, test_drivers, error_message, argument [all …]
|
/test/testfwk/xdevice/plugins/devicetest/core/ |
D | report.py | 37 def __init__(self, report_path): argument 38 self.report_path = report_path 42 if os.path.exists(self.report_path): 43 dom = xml.dom.minidom.parse(self.report_path) 45 return self.report_path, result_node.toxml() 77 if not os.path.exists(os.path.dirname(self.report_path)): 78 os.makedirs(os.path.dirname(self.report_path)) 79 with open(self.report_path, mode='w', 83 return self.report_path, result_node.toxml()
|
D | result_upload.py | 28 def __init__(self, report_path): argument 33 self.report_handler = ReportHandler(report_path)
|
/test/testfwk/developer_test/libs/benchmark/report/ |
D | benchmark_reporter.py | 35 def __generate_reports__(self, report_path, **kwargs): argument 37 LOG.info("report_path = %s" % report_path) 38 self._make_benchmark_report(report_path)
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/ |
D | drivers_lite.py | 139 request.config.report_path, 208 report_path = "/%s/%s/" % ("reports", self.execute_bin.split(".")[0]) 209 self.config.device_xml_path = (self.linux_directory + report_path). \ 211 self.config.device_report_path = execute_dir + report_path 259 request.config.report_path, self.result, self.error_message, 335 report_path = os.path.join(self.config.report_path, "result") 337 report_path, self.result, key=sort_by_length, 341 os.path.join(report_path, "%s.xml" % execute_bin), 354 self.result = "%s.xml" % os.path.join(request.config.report_path, 452 def download_nfs_xml(self, request, report_path): argument [all …]
|
D | openharmony.py | 128 os.path.join(request.config.report_path, 131 request.config.report_path, 137 request.config.report_path, 166 request.config.report_path, self.result, self.error_message) 288 request.config.report_path, "result", 301 self.config.device.set_device_report_path(request.config.report_path) 303 request.config.report_path, 331 request.config.report_path, self.result, self.error_message) 749 os.path.join(request.config.report_path, 751 self.config.device.set_device_report_path(request.config.report_path) [all …]
|
D | drivers.py | 256 os.path.join(request.config.report_path, 260 request.config.report_path, 266 request.config.report_path, 297 request.config.report_path, self.result, self.error_message) 730 request.config.report_path, "result", 751 self.config.device.set_device_report_path(request.config.report_path) 772 request.config.report_path, self.result, self.error_message) 791 request.config.report_path, 901 request.config.report_path, "result", 934 request.config.report_path, self.result, self.error_message) [all …]
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
D | console.py | 192 dest=ConfigConst.report_path, 561 if options.report_path: 562 report_list = str(options.report_path).split(";") 589 command, report_path = command_info[1], command_info[2] 592 if len(report_path) > MAX_VISIBLE_LENGTH: 593 report_path = "%s..." % report_path[:MAX_RESERVED_LENGTH] 595 command_info[0], command, report_path)) 600 task_id, command, report_path = task_id, "", "" 604 task_id, command, report_path = command_info 608 print("{0:<16}{1:<100}".format("ReportPath:", report_path)) [all …]
|
/test/testfwk/developer_test/localCoverage/interfaceCoverage/ |
D | interfaceCoverage_gcov_lcov.py | 395 report_path = os.path.join(output_path, "coverage_summary_file.xml") 397 if os.path.exists(report_path): 398 os.remove(report_path) 399 with os.fdopen(os.open(report_path, FLAGS, MODES), 'w') as fd: 412 report_path = os.path.join(output_path, "ohos_interfaceCoverage.html") 413 make_report.create_html_start(report_path) 414 make_report.create_title(report_path, title_name, summary_list) 415 make_report.create_summary(report_path, summary_list) 423 report_path, subsystem_name, data_list, len(data_list), count) 424 make_report.create_html_ended(report_path)
|
/test/testfwk/xdevice/plugins/devicetest/driver/ |
D | windows.py | 93 self.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name) 160 configs["report_path"] = request.config.report_path 178 request.config.report_path, self.result, self.error_message, 182 if self.result not in [report_path for report_path, _ in tmp_list]: 186 request.config.report_path, self.result,
|
D | device_test.py | 114 self.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name) 193 configs["report_path"] = request.config.report_path 208 request.config.report_path, self.result, self.error_message, 312 self.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name) 384 configs["report_path"] = request.config.report_path 400 request.config.report_path, self.result, self.error_message,
|
/test/testfwk/developer_test/localCoverage/keyword_registration/ |
D | keyword_filter.py | 38 def __init__(self, report_path): argument 39 self.report_path = report_path 45 for root_path, _, files in os.walk(self.report_path): 57 for root_path, _, files in os.walk(self.report_path): 84 os.path.normcase(os.path.join(self.report_path, file_name)) 92 def __init__(self, report_path): argument 93 self.report_path = report_path 487 index_path_list = CoverageReportPath(self.report_path).get_statistic_path(file_path) 499 judge_item = file_dir.replace(self.report_path + "\\", "") 502 judge_item = file_dir.replace(self.report_path + "/", "") [all …]
|
/test/testfwk/developer_test/src/core/driver/ |
D | lite_driver.py | 224 report_path = request.config.report_path 225 test_result = os.path.join(report_path, "result") 363 self.result = check_result_report(request.config.report_path, 386 self.result = "%s.xml" % os.path.join(request.config.report_path, 400 device_log_file = get_device_log_file(request.config.report_path, 503 request.config.report_path, "result", self.file_name) 531 request.config.report_path, self.result, self.error_message, 556 device_log_file = get_device_log_file(request.config.report_path,
|
D | drivers.py | 126 def get_device_log_file(report_path, serial=None, log_name="device_log"): argument 128 log_path = os.path.join(report_path, Variables.report_vars.log_dir) 320 self.result_rootpath = self.config.report_path 576 self.config.device.set_device_report_path(request.config.report_path) 851 result_save_path = get_result_savepath(suite_file, self.config.report_path) 874 request.config.report_path, 891 request.config.report_path, "result", 1195 result_save_path = get_result_savepath(suite_file, self.config.report_path) 1197 self.config.device.set_device_report_path(request.config.report_path) 1214 request.config.report_path, "result", [all …]
|
/test/testfwk/xdevice/plugins/devicetest/runner/ |
D | test_runner.py | 105 report_path = configs.get("report_path") 106 if report_path and isinstance(report_path, str): 107 report_dir_path = report_path.split(os.sep.join(["", "temp", "task"]))[0] 111 self.log.debug("report path:{}".format(report_path)) 284 report_path = os.path.join("details", case_name + ".html") 285 to_path = os.path.join(self.project.task_report_dir, report_path) 291 case_name, tests, case_result, start_time, error_msg, report_path)
|
/test/testfwk/xdevice/plugins/devicetest/core/suite/ |
D | test_suite.py | 162 report_path = os.path.join("details", self.suite_name, self.suite_name + ".html") 163 to_file = os.path.join(self.get_case_report_path(), report_path) 168 self.suite_report_path = report_path 354 report_path = os.path.join("details", self.suite_name, case_html) 355 to_path = os.path.join(self.configs.get("report_path"), report_path) 363 self.case_result[case_name]["report"] = report_path
|
/test/testfwk/xdevice/src/xdevice/_core/ |
D | constants.py | 251 report_path = "report_path" variable in ConfigConst 310 report_path = "report_path" variable in ReportConst
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/ |
D | kit_lite.py | 503 report_path = self._get_report_dir() 504 if report_path and os.path.exists(report_path): 523 hash_file_path = os.path.join(report_path, hash_file_name) 534 % report_path 545 report_path = os.path.join(Variables.exec_dir, 548 return report_path
|
/test/testfwk/xdevice/src/xdevice/_core/environment/ |
D | env_pool.py | 53 report_path = None variable in EnvPool 66 EnvPool.report_path = kwargs.get("report_path", "") 182 report_folder_path = EnvPool.report_path 189 EnvPool.report_path = report_folder_path
|