Home
last modified time | relevance | path

Searched refs:ReportConstant (Results 1 – 6 of 6) sorted by relevance

/test/testfwk/xdevice/src/xdevice/_core/report/
Dsuite_reporter.py28 from _core.report.reporter_helper import ReportConstant
78 test_suites_attributes[ReportConstant.unavailable] = 1
87 test_suite_attributes[ReportConstant.unavailable] = 1
88 test_suite_attributes[ReportConstant.message] = suite_result.stacktrace
92 test_suite_attributes[ReportConstant.result] = ReportConstant.false
138 test_suites_attributes[ReportConstant.time] = \
139 round(test_suites_attributes[ReportConstant.time], 3)
154 test_suites_attributes = {ReportConstant.name: self.report_name,
155 ReportConstant.time_stamp: time.strftime(
156 ReportConstant.time_format,
[all …]
Dreporter_helper.py36 class ReportConstant: class
157 return self.initial_element(ReportConstant.test_suites,
161 return self.initial_element(ReportConstant.test_suite,
166 return self.initial_element(ReportConstant.test_case,
172 ReportConstant.time, 0)) + float(
173 case.get(ReportConstant.time, 0)), 3)
174 suite.set(ReportConstant.time, str(update_time))
175 update_tests = str(int(suite.get(ReportConstant.tests, 0))+1)
176 suite.set(ReportConstant.tests, update_tests)
178 update_failures = str(int(suite.get(ReportConstant.failures, 0))+1)
[all …]
Dresult_reporter.py41 from _core.report.reporter_helper import ReportConstant
106 self.report_path, ReportConstant.summary_data_report)
142 if data_report.endswith(ReportConstant.summary_data_report):
145 if module_name == ReportConstant.empty_name:
147 total = int(root.get(ReportConstant.tests, 0))
153 if not child.get(ReportConstant.module_name) or child.get(
154 ReportConstant.module_name) == \
155 ReportConstant.empty_name:
156 child.set(ReportConstant.module_name, module_name)
160 if element.get(ReportConstant.status, "") == \
[all …]
D__main__.py25 from _core.report.reporter_helper import ReportConstant
55 task_info.test_time = time.strftime(ReportConstant.time_format,
/test/testfwk/xdevice/src/xdevice/_core/executor/
Dscheduler.py51 from _core.report.reporter_helper import ReportConstant
951 case_id = model_element.get(ReportConstant.name, "")
964 module_name = testsuite_element.get(ReportConstant.name,
982 disabled = int(model_element.get(ReportConstant.disabled)) if \
983 model_element.get(ReportConstant.disabled, "") else 0
984 failures = int(model_element.get(ReportConstant.failures)) if \
985 model_element.get(ReportConstant.failures, "") else 0
986 errors = int(model_element.get(ReportConstant.errors)) if \
987 model_element.get(ReportConstant.errors, "") else 0
988 unavailable = int(model_element.get(ReportConstant.unavailable)) if \
[all …]
Dconcurrent.py40 from _core.report.reporter_helper import ReportConstant
369 ReportConstant.tests, 0)) + int(
370 history_testsuite_element.get(ReportConstant.tests, 0))
371 testsuites_element.set(ReportConstant.tests,
382 ReportConstant.tests, 0)) + pass_num
383 target_testsuite_element.set(ReportConstant.tests,
386 ReportConstant.tests, 0)) + pass_num
387 testsuites_element.set(ReportConstant.tests, str(inherited_test))
407 case.result = history_testcase_element.get(ReportConstant.result, "")
408 case.status = history_testcase_element.get(ReportConstant.status, "")
[all …]