/test/testfwk/developer_test/local_coverage/interface_coverage/ |
H A D | make_report.py | 98 with os.fdopen(os.open(reportpath, FLAGS_WRITE, MODES), 'w') as report: 99 report.write(HTML_HEAD) 100 report.write(HTML_BODY_START) 108 <h2 style="text-align: center;font-family: 微软雅黑">%s coverage report (%s)</h2> 133 with os.fdopen(os.open(reportpath, FLAGS_ADD, MODES), 'a') as report: 134 report.write(report_title) 169 with os.fdopen(os.open(reportpath, FLAGS_ADD, MODES), 'a') as report: 170 report.write(table_title) 171 report.write(table_start) 172 report [all...] |
/test/testfwk/arkxtest/jsunit/src/module/report/ |
H A D | ReportExtend.js | 31 handleSpecs(specs, report, suiteReport, testsuite) { 33 report.tests++; 49 report.errors++; 62 report.failures++; 72 const report = { 95 this.handleSpecs(specs, report, suiteReport, testsuite); 96 report.children.push(suiteReport); 100 writeXmlReport(report); 104 function writeXmlReport(report) { 105 let reportXml = '<?xml version="1.0" encoding="UTF-8"?>\n' + json2xml(report); [all...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | upload.py | 30 from _core.report.reporter_helper import DataHelper 31 from _core.report.reporter_helper import ReportConstant 60 LOG.info("No need upload summary report") 66 Uploader.upload_unavailable_result(str(error_message) or "summary report not exists", 80 report = Uploader._get_report_path( 83 (task_name, task_result, error_msg, start_time, end_time, report)) 113 "start": start, "end": end, "report": report_path, 121 "report": ""} 156 LOG.info("Upload report end") 211 def _get_report_path(cls, base_path, report [all...] |
H A D | log.py | 24 from _core.report.encrypt import check_pub_key_exist 25 from _core.report.reporter_helper import ReportConstant
|
/test/testfwk/xdevice/src/xdevice/ |
H A D | __init__.py | 98 from _core.report.encrypt import check_pub_key_exist 156 from _core.report.suite_reporter import SuiteReporter 157 from _core.report.suite_reporter import ResultCode 158 from _core.report.reporter_helper import ExecInfo 159 from _core.report.reporter_helper import ReportConstant 160 from _core.report.result_reporter import ResultReporter 161 from _core.report.reporter_helper import DataHelper 162 from _core.report.__main__ import main_report
|
/test/testfwk/xdevice/plugins/devicetest/runner/ |
H A D | test_runner.py | 50 from devicetest.report.generation import add_log_caching_handler 51 from devicetest.report.generation import del_log_caching_handler 52 from devicetest.report.generation import get_caching_logs 53 from devicetest.report.generation import generate_report 313 start_time, error_msg, report, **kwargs): 315 case_name, tests, case_result, start_time, error_msg, report, **kwargs) 329 def record_cls_result(case_name, tests_step, result, start_time, error, report, **kwargs): 337 "report": report 453 suite.report [all...] |
/test/testfwk/xdevice/plugins/devicetest/core/ |
H A D | report.py | 33 report_xml = "report.xml" 47 Log.info("start generate test report.") 88 Log.info("exit generate test report.") 113 report = result_info.get("report", "") 124 testcase.set("report", report) 139 testsuite.set("report", report) 165 report [all...] |
H A D | result_upload.py | 20 from devicetest.core.report import ReportHandler
|
/test/testfwk/developer_test/src/main/ |
H A D | _init_global_config.py | 122 import benchmark.report.benchmark_reporter namespace 123 _iter_module_plugins([core.driver, benchmark.report.benchmark_reporter]) 129 import script.report namespace 130 _iter_module_plugins([script.report])
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | result_reporter.py | 46 from _core.report.encrypt import check_pub_key_exist 47 from _core.report.encrypt import do_rsa_encrypt 48 from _core.report.reporter_helper import DataHelper 49 from _core.report.reporter_helper import ExecInfo 50 from _core.report.reporter_helper import ReportConstant 51 from _core.report.repeater_helper import RepeatHelper 128 # generate data report 187 temp_file_report_html = os.path.join(self.report_path, "report.html") 197 LOG.info(f"Generate test report: file:///{test_report}") 295 module_report, module_time = module.report, modul [all...] |
H A D | suite_reporter.py | 27 from _core.report.encrypt import check_pub_key_exist 28 from _core.report.reporter_helper import DataHelper 29 from _core.report.reporter_helper import ReportConstant 53 Create suite report 56 :param report_name: suite report name 57 :param report_path: suite report path 71 # create empty data report only for single suite 73 LOG.error("Can only create one empty data report once") 106 # generate report 119 # generate report [all...] |
H A D | reporter_helper.py | 27 from _core.report.encrypt import check_pub_key_exist 28 from _core.report.encrypt import do_rsa_encrypt 37 # report name constants 87 report = "report" variable in ReportConstant 119 # report title constants 313 LOG.info("Generate data report: %s", file_name) 364 report = "" variable in Suite 408 report = "" variable in Case 487 "report [all...] |
H A D | repeater_helper.py | 18 from _core.report.reporter_helper import ReportConstant 19 from _core.report.reporter_helper import DataHelper
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | abs.py | 34 from _core.report.suite_reporter import SuiteReporter 35 from _core.report.suite_reporter import ResultCode 181 suite.report = test_result.report 202 test.report = test_result.report 274 test.report = test_result.report
|
H A D | bean.py | 21 from _core.report.suite_reporter import ResultCode 37 report = "" variable in CaseResult 59 report = "" variable in SuiteResult
|
H A D | listener.py | 27 from _core.report.suite_reporter import ResultCode 28 from _core.report.encrypt import check_pub_key_exist 115 @Plugin(type=Plugin.LISTENER, id=ListenerType.report) 133 # generate suite report
|
H A D | concurrent.py | 49 from _core.report.reporter_helper import ReportConstant 50 from _core.report.reporter_helper import DataHelper 51 from _core.report.reporter_helper import Suite 52 from _core.report.reporter_helper import Case 170 # inherit history report under retry mode 341 from _core.report.result_reporter import ResultReporter 403 LOG.info("Empty report no need to inherit history execute" 406 LOG.info("Empty report '%s' no need to inherit history execute" 416 LOG.info("History report '%s' is empty", history_execute_result) 510 from _core.report [all...] |
/test/testfwk/xdevice/plugins/devicetest/core/suite/ |
H A D | test_suite.py | 41 from devicetest.report.generation import add_log_caching_handler 42 from devicetest.report.generation import del_log_caching_handler 43 from devicetest.report.generation import get_caching_logs 44 from devicetest.report.generation import generate_report 153 "report": report_path 169 self.log.info("generate suite report") 357 "run_time": cost, "report": "", "result_content": result_content} 390 base_info["report"] = case_html 396 self.case_result[case_name]["report"] = report_path
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/executor/ |
H A D | listener.py | 155 suite.report = test_result.report
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 47 from _core.report.result_reporter import ResultReporter 203 help="Specify test report path" 507 # get history command, history report path 515 # parse history command, set history report path 604 LOG.error("report path must be specified, you can pass it with option -rp ") 831 from _core.report.__main__ import main_report, export_report 832 for report in report_list: 834 Context.command_queue().append(("", run_command, report)) 835 sys.argv.insert(1, report) 925 Specify test report pat [all...] |
/test/testfwk/developer_test/libs/fuzzlib/ |
H A D | fuzzer_helper.py | 225 def report(args): function 254 'report', help='Report fuzzer log' 266 help="report ID, e.g. empty_fuzzer.20200211184850" 276 elif args.command == 'report': 277 report(args)
|
/test/testfwk/xdevice/src/xdevice/_core/driver/ |
H A D | parser_lite.py | 24 from _core.report.encrypt import check_pub_key_exist
|
/test/testfwk/arkxtest/jsunit/src/ |
H A D | core.js | 39 report: {} 118 this.addService('report', new ReportService({id: 'default'})); 123 this.subscribeEvent('spec', this.getDefaultService('report')); 124 this.subscribeEvent('suite', this.getDefaultService('report')); 125 this.subscribeEvent('task', this.getDefaultService('report'));
|
/test/testfwk/developer_test/src/core/command/ |
H A D | run.py | 401 report = get_plugin(plugin_type=Plugin.REPORTER, plugin_id="ALL")[0]
405 shutil.copytree(os.path.join(report.report_path, "result"), latest_corpus_path)
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | logger.py | 290 from _core.report.encrypt import check_pub_key_exist 517 from _core.report.encrypt import check_pub_key_exist 530 from _core.report.encrypt import do_rsa_encrypt
|