Home
last modified time | relevance | path

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

/test/vts/runners/host/
Dbase_test.py331 self.web.AddTestReport(test_record.test_name)
333 def _setUp(self, test_name): argument
356 def _tearDown(self, test_name): argument
361 self.systrace.ProcessAndUploadSystrace(test_name)
378 logging.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
381 self.onFail(record.test_name, begin_time)
383 self.CatchBugReport('%s-%s' % (self.TAG, record.test_name))
385 def onFail(self, test_name, begin_time): argument
400 test_name = record.test_name
405 logging.info(RESULT_LINE_TEMPLATE, test_name, record.result)
[all …]
Drecords.py66 self.test_name = t_name
171 return "%s %s %s" % (t, self.test_name, self.result)
180 d[TestResultEnums.RECORD_NAME] = self.test_name
292 if (requested.test_name == executed.test_name and
320 if (l[idx].test_name == record.test_name and
Dconfig_parser.py39 def GetDefaultConfig(test_name): argument
43 keys.ConfigKeys.KEY_TESTBED_NAME] = test_name
/test/vts-testcase/kernel/api/libcutils/
DVtsKernelLibcutilsTest.py35 def filterOneTest(self, test_name): argument
58 super(VtsKernelLibcutilsTest, self).filterOneTest(test_name)
60 test_name.split('.')[0] not in self.include_test_suite,
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py56 test_name, argument
67 self.test_name = test_name
90 self.test_suite, self.test_name)
91 if self.test_suite else self.test_name)
133 def test_name(self): member in BinaryTestCase
137 @test_name.setter
138 def test_name(self, test_name): argument
140 self._test_name = _SafeStrip(test_name)
/test/vts/script/
Dcreate-test-project.py50 def __init__(self, test_name, test_dir_under_testcases, test_type): argument
64 if not self.IsUpperCamel(test_name):
67 self.test_name = test_name
157 test_name=self.test_name,
180 test_name=self.test_name,
184 test_case_file_without_extension=self.test_name))
188 target = os.path.join(self.test_dir, '%s.py' % self.test_name)
194 f.write(TEST_CASE_PY_TEMPLATE.format(test_name=self.test_name))
216 test_case_creater = TestCaseCreator(args.test_name, args.test_dir,
/test/vts/testcases/template/gtest_binary_test/
Dgtest_test_case.py39 def GetRunCommand(self, output_file_path=None, test_name=None): argument
50 if not test_name:
51 test_name = self.full_name
55 test=test_name,
Dgtest_binary_test.py111 test_name = line.split('#')[0].strip()
113 test_suite, test_name, path, tag, self.PutTag,
/test/vts-testcase/fuzz/template/libfuzzer_test/
Dlibfuzzer_test_case.py81 def test_name(self): member in LibFuzzerTestCase
85 @test_name.setter
86 def test_name(self, name): member in LibFuzzerTestCase
Dlibfuzzer_test.py128 test_case.test_name, crash_report)
149 test_case.test_name)
154 asserts.fail('%s failed normally.' % test_case.test_name)
156 asserts.fail('%s failed abnormally.' % test_case.test_name)
163 name_func=lambda x: x.test_name)
/test/vts-testcase/fuzz/script/config/
Dconfig_gen.py114 test_name = 'VtsHal'
115 test_name += ''.join(map(lambda x: x.title(), hal_name.split('.')))
116 test_name += self._utils.HalVerDir(hal_version)
117 test_name += self._FuzzerTypeCamel(fuzzer_type)
118 return test_name
/test/vts-testcase/hal/wifi/V1_0/host/
DVtsHalWifiV1_0TestCase.py34 self).GetRunCommand(test_name=self.test_suite),
DVtsHalWifiV1_0HostTest.py66 self._nan_on, gtest_case.full_name, gtest_case.test_name, path)
/test/vts-testcase/hal/media/omx/V1_0/host/
DVtsHalMediaOmxV1_0HostTest.py119 test_name = component + '_' + role
123 component, role, instance_name, test_suite, test_name,
DVtsHalMediaOmxV1_0TestCase.py42 self).GetRunCommand(test_name=self.test_suite),
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py103 test_name = "replay_test_" + trace_file_name
105 test_name += "_" + service_name
110 test_name,
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py384 test_name = name_func(test_case, *args)
388 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
399 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
423 test_name, self.CheckResult, (cmd_results, result, note))
425 def InternalResultReportMultiThread(self, test_name, function, args, argument
440 tr_record = records.TestResultRecord(test_name, self.TAG)
443 self.execOneTest(test_name, function, args, **kwargs)
/test/vts/utils/python/systrace/
Dsystrace_utils.py87 def ProcessAndUploadSystrace(self, test_name): argument
116 test=test_name,
/test/vts/testcases/vts_selftest/test_framework/base_test/
DVtsSelfTestBaseTestFilter.py44 def filterOneTest(self, test_name, test_filter=None): argument
/test/vts/utils/python/web/
Dweb_utils.py128 def AddTestReport(self, test_name): argument
139 self.current_test_report_msg.name = test_name
389 if (executed and executed[-1].test_name == "setup_class"):
398 msg.name = test.test_name
/test/vts/utils/python/controllers/
Dandroid_device.py296 def takeBugReports(ads, test_name, begin_time): argument
311 def take_br(test_name, begin_time, ad): argument
312 ad.takeBugReport(test_name, begin_time)
314 args = [(test_name, begin_time, ad) for ad in ads]
538 def takeBugReport(self, test_name, begin_time): argument
549 out_name = test_name[:test_name_len] + base_name
551 self.log.info("Taking bugreport for %s on %s", test_name, self.serial)
553 self.log.info("Bugreport for %s taken at %s", test_name, full_out_path)
/test/vts-testcase/hal/script/configure/
Dtest_case_creator.py208 test_name=self._test_name,
365 test_name=self._test_module_name + 'Test')
371 test_name=self._test_module_name + 'Test')
393 test_name=self._test_module_name + 'Test')
/test/vts/runners/target/gtest/
Dgtest_main.cpp156 void AppendTest(const char* test_name) { in AppendTest() argument
157 test_list_.push_back(Test(test_name)); in AppendTest()
602 const std::string& test_name) { in ChildProcessFn() argument
606 char* filter_arg = new char[test_name.size() + 20]; in ChildProcessFn()
608 strcat(filter_arg, test_name.c_str()); in ChildProcessFn()
618 static ChildProcInfo RunChildProcess(const std::string& test_name, in RunChildProcess() argument
645 ChildProcessFn(argc, argv, test_name); in RunChildProcess()
655 child_proc.start_time_ns + GetDeadlineInfo(test_name) * 1000000LL; in RunChildProcess()
670 std::string test_name = in HandleSignals() local
676 printf(" %s (%" PRId64 " ms)\n", test_name.c_str(), run_time_ms); in HandleSignals()
[all …]
/test/vts-testcase/fuzz/template/func_fuzzer_test/
Dfunc_fuzzer_test.py103 test_case.test_name = api.name
/test/vts-testcase/fuzz/template/iface_fuzzer_test/
Diface_fuzzer_test.py121 test_case.test_name = iface