Lines Matching refs:test_name

630             self.web.AddTestReport(test_record.test_name)
632 def _setUp(self, test_name): argument
639 msg = 'Framework self diagnose didn\'t pass for %s. Marking test as fail.' % test_name
669 def _tearDown(self, test_name): argument
676 self._exec_func(self.systrace.ProcessAndUploadSystrace, test_name)
699 record.test_name, record.result)
706 self.onFail(record.test_name, begin_time)
708 self.DumpBugReport(record.test_name)
710 self.DumpLogcat(record.test_name)
713 def onFail(self, test_name, begin_time): argument
733 record.test_name, record.result)
736 self.onPass(record.test_name, begin_time)
738 def onPass(self, test_name, begin_time): argument
755 record.test_name, record.result)
759 self.onSkip(record.test_name, begin_time)
761 def onSkip(self, test_name, begin_time): argument
779 self.onSilent(record.test_name, begin_time)
781 def onSilent(self, test_name, begin_time): argument
804 self.onException(record.test_name, begin_time)
806 self.DumpBugReport(ecord.test_name)
808 self.DumpLogcat(record.test_name)
811 def onException(self, test_name, begin_time): argument
840 record.test_name, 'RETRY')
853 func.__name__, record.test_name)
868 def filterOneTest(self, test_name, test_filter=None): argument
896 if self._test_filter_retry and not self._test_filter_retry.Filter(test_name):
905 self._filterOneTestThroughTestFilter(test_name, test_filter)
906 self._filterOneTestThroughAbiBitness(test_name)
908 def _filterOneTestThroughTestFilter(self, test_name, test_filter=None): argument
921 if not test_filter.Filter(test_name):
927 def _filterOneTestThroughAbiBitness(self, test_name): argument
940 (test_name.lower().endswith(const.SUFFIX_32BIT) and
942 (test_name.lower().endswith(const.SUFFIX_64BIT) and
945 test_name, self.abi_bitness))
947 def execOneTest(self, test_name, test_func, args, **kwargs): argument
960 if self._test_filter_retry and not self._test_filter_retry.Filter(test_name):
964 tr_record = records.TestResultRecord(test_name, self.test_module_name)
966 logging.info(TEST_CASE_TEMPLATE, self.results.progressStr, test_name)
972 "Setup test entry for %s failed." % test_name)
973 self.filterOneTest(test_name)
978 ret = self._setUp(test_name)
980 "Setup for %s failed." % test_name)
991 self._tearDown(test_name)
1123 test_name = "{} {}".format(tag, setting)
1126 test_name = name_func(setting, *args, **kwargs)
1130 test_name)
1132 if len(test_name) > utils.MAX_FILENAME_LEN:
1133 test_name = test_name[:utils.MAX_FILENAME_LEN]
1135 return test_name
1138 test_name = GenerateTestName(setting)
1140 tr_record = records.TestResultRecord(test_name, self.test_module_name)
1144 test_name = GenerateTestName(setting)
1149 self.execOneTest(test_name, test_func, (setting, ) + args, **kwargs)
1210 for test_name in test_names:
1211 if not hasattr(self, test_name):
1213 self.test_module_name, test_name)
1214 elif (test_name.startswith(STR_TEST) or
1215 test_name.startswith(STR_GENERATE)):
1216 test_funcs.append((test_name, getattr(self, test_name)))
1219 "test*, abort.") % test_name
1316 include_filter = map(lambda item: item.test_name,
1385 for test_name, test_func in tests:
1386 if test_name.startswith(STR_GENERATE):
1389 test_name)
1391 logging.debug("Finished '%s'", test_name)
1395 self.execOneTest(test_name, test_func, None)
1468 records.TestResultRecord(test_name, self.test_module_name)
1469 for test_name,_ in tests if test_name.startswith(STR_TEST)