Home
last modified time | relevance | path

Searched refs:test_name (Results 1 - 25 of 37) sorted by relevance

12

/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Dlistener.py38 def __init__(self, class_name, test_name):
40 self.test_name = test_name
44 self.test_name == other.test_name
71 .format(test_result.test_class, test_result.test_name))
86 .format(test_result.test_class, test_result.test_name))
91 test_result.test_class, test_result.test_name, ret))
95 test_result.test_class, test_result.test_name, ret))
108 test_result.test_name))
[all...]
H A Dabs.py156 test.test_name = test_result.test_name
293 temp = "{}_{}=".format(result.test_class, result.test_name)
299 split_str = "{}_{}".format(result.test_class, result.test_name)
303 test_name = '"{}"'.format(result.test_name)
315 elif test_class in line and test_name in line:
H A Dbean.py30 test_name = None variable in CaseResult
45 return self.test_name is not None and not self.is_completed
H A Drequest.py164 LOG.error(ErrorMessage.Common.Code_0101017.format(source.test_name))
170 error_message = ErrorMessage.Common.Code_0101018.format(source.test_name, plugin_id)
186 LOG.error(ErrorMessage.Common.Code_0101019.format(source.test_name, plugin_id))
240 return self._get_source_value("test_name")
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dcpp_parser.py158 test_class, test_name, _ = self.parse_test_description(
162 test_result.test_name = test_name
173 test_class, test_name = matcher.group(1).rsplit(".", 1)
176 test_class, test_name = message.rsplit(".", 1)
177 return test_class, test_name, run_time
180 test_class, test_name, run_time = self.parse_test_description(
198 if test_result.test_name != test_name:
200 "Expected test: {} but got: {}".format(test_result.test_name,
[all...]
H A Dcpp_parser_lite.py167 test_class, test_name, _ = self.parse_test_description(message)
170 test_result.test_name = test_name
180 test_class, test_name = matcher.group(1).rsplit(".", 1)
183 test_class, test_name = message.rsplit(".", 1)
184 return test_class.split(" ")[-1], test_name.split(" ")[0], run_time
187 test_class, test_name, run_time = self.parse_test_description(
204 if test_result.test_name != test_name:
206 "Expected test: {} but got: {}".format(test_result.test_name,
[all...]
H A Doh_jsunit_parser.py145 test_info.test_name = status_value
165 self.check_legality(test_info.test_name):
172 if not test_info.test_name or not test_info.test_class:
223 if not test_info.test_name or not test_info.test_class:
224 LOG.warning("Test case name or class is invalid. test_name: {}, test_class: {}"
225 .format(test_info.test_name, test_info.test_class))
302 if case.test_name == test_des.test_name:
308 test_result.test_name = test_des.test_name
[all...]
H A Djsunit_parser.py99 test_name = filter_message[status_end_index:
102 test_name = filter_message[status_end_index:]
107 return test_name.strip(), status, run_time
128 test_name, status, run_time = \
132 qualified_name = "{}#{}".format(test_suite.suite_name, test_name)
139 test_result.test_name = test_name
226 test_name_list.append(item_test.test_name)
230 if "{}#{}".format(suite.suite_name, test.test_name) \
234 if test.test_name no
[all...]
H A Djunit_parser.py114 self.check_legality(test_info.test_name):
128 test_info.test_name = status_value
141 if not test_info.test_name or not test_info.test_class:
229 test_info.test_name = test.test_name
240 test_info.test_name = test.test_name
H A Dopensource_parser_lite.py35 self.test_name = ""
59 test_index=self.test_name)
62 test_result.test_name = self.test_name
H A Dbuild_only_parser_lite.py35 self.test_name = ""
56 self.test_name = str(line).split('compile')[0].strip()
60 test_result.test_name = self.test_name
H A Djsunit_parser_lite.py91 test_name = filter_message[status_end_index:]
95 return test_name, status, run_time
115 test_name, status, run_time = \
120 test_result.test_name = test_name
H A Dc_parser_lite.py190 test_name, status = message_list[1].strip(), message_list[2].strip()
194 details = (test_class, test_name, status, run_time)
199 test_class, test_name, status, run_time = \
202 test_class, test_name, status, run_time = \
206 test_result.test_name = test_name
H A Doh_yara_parser.py75 test_name = message[0]
82 test_result.test_name = test_name
H A Doh_rust_parser.py82 self.stdout_list[0][0] == test_result.test_name:
107 test_result.test_name = matcher.group(1)
/test/testfwk/xdevice/plugins/ohos/src/ohos/executor/
H A Dlistener.py48 if not test_result.test_class or not test_result.test_name:
51 test_result.test_name)
63 if not test_result.test_class or not test_result.test_name:
66 test_result.test_name)
88 if not test_result.test_class or not test_result.test_name:
93 test_result.test_name)
98 test_result.test_class, test_result.test_name))
134 test.test_name = test_result.test_name
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dreport.py54 test_name = test_runner.configs.get("test_name")
55 if test_name is not None:
56 testsuites.set("name", test_name)
63 tests_total, tests_error = self.report_normal_type(testsuites, test_results, test_name)
96 def report_normal_type(self, testsuites, test_results, test_name):
131 testsuite.set("modulename", test_name)
H A Dtest_case.py175 def exec_one_testcase(self, test_name, test_func):
178 test_name: Name of the test.
184 self.log.error("Setup for {} failed, skipping.".format(test_name))
224 self.print_case_result(test_name, RunResult.PASSED)
285 for test_name in self.tests:
287 validate_test_name(test_name)
288 test_funcs.append((test_name, getattr(self, test_name)))
292 self.TAG, test_name)
356 for test_name, test_fun
[all...]
/test/testfwk/xdevice/src/xdevice/_core/context/
H A Dhandler.py80 test_name = test.source.test_name
86 report_file = os.path.join(get_sub_path(test.source.source_file), "%s.xml" % test_name)
91 report_name = test_name if not test_name.startswith("{") else "report"
H A Dupload.py92 test_name = request.root.source.test_name
94 LOG.error("%s result not exists", test_name, error_no="00200")
98 cls.get_session().task_name = test_name
119 case = {"caseid": test_name, "result": "Finish", "error": "",
/test/testfwk/xdevice/plugins/devicetest/driver/
H A Dwindows.py95 test_name = request.get_module_name()
96 self.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name)
163 configs["test_name"] = request.get_module_name()
176 report_name = request.root.source.test_name if \
177 not request.root.source.test_name.startswith("{") \
196 request.root.source.test_name)
H A Ddevice_test.py118 test_name = request.get_module_name()
119 driver_obj.result = os.path.join(request.config.report_path, "result", "%s.xml" % test_name)
224 configs["test_name"] = request.get_module_name()
253 report_name = request.root.source.test_name if \
254 not request.root.source.test_name.startswith("{") \
384 configs["test_name"] = request.get_module_name()
404 report_name = request.root.source.test_name if \
405 not request.root.source.test_name.startswith("{") \
/test/testfwk/developer_test/src/core/driver/
H A Dparser.py36 test_name = None variable in CaseResult
43 return self.test_name is not None and not self.is_completed
H A Dlite_driver.py364 if request.root.source.test_name.startswith("{"):
368 request.root.source.test_name)[0]
517 test_name.startswith("{") else get_filename_extension(
518 request.root.source.test_name)[0]
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
H A Dcpp_driver.py67 "result", request.root.source.test_name)
131 self.runner.suite_name = request.root.source.test_name
197 tests.append("%s.%s" % (test.class_name, test.test_name))
213 "gtest_filter", "%s.%s" % (test.class_name, test.test_name))

Completed in 11 milliseconds

12