Home
last modified time | relevance | path

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

12

/test/vts/utils/python/fuzzer/
Dcorpus_manager.py113 def FetchCorpusSeed(self, test_name, local_temp_dir): argument
127 logging.debug('Attempting to fetch corpus seed for %s.', test_name)
133 test_name, local_temp_dir, 'corpus_seed')
138 test_name, local_temp_dir, CORPUS_PRIORITY)
144 self._GetDirPaths('corpus_lock', test_name)):
148 self.add_lock(test_name, local_temp_dir)
149 self._FetchCorpusSeedDirectory(test_name, local_temp_dir)
152 def _FetchCorpusSeedFromPriority(self, test_name, local_temp_dir, argument
171 corpus_seed_dir = self._GetDirPaths(CORPUS_PRIORITY, test_name)
183 inuse_seed = self._GetFilePaths('corpus_inuse', test_name,
[all …]
/test/vts/runners/host/
Dbase_test.py630 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
[all …]
Drecords.py67 self.test_name = t_name
80 return '%s.%s' % (self.test_class, self.test_name)
179 return "%s %s %s" % (t, self.test_name, self.result)
188 d[TestResultEnums.RECORD_NAME] = self.test_name
Dconfig_parser.py39 def GetDefaultConfig(test_name): argument
43 keys.ConfigKeys.KEY_TESTBED_NAME] = test_name
/test/vts/testcases/template/binary_test/
Dbinary_test_case.py60 test_name, argument
72 self.test_name = test_name
114 self.test_suite, self.test_name)
115 if self.test_suite else self.test_name)
157 def test_name(self): member in BinaryTestCase
161 @test_name.setter
162 def test_name(self, test_name): member in BinaryTestCase
164 self._test_name = _SafeStrip(test_name)
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing_test.py59 job.test_name = schedule.test_name
97 (parent_schedule.test_name == job.test_name) and
120 schedule = self.GenerateScheduleModel(test_name=str(num + 1))
129 for _ in xrange(int(schedule.test_name)):
132 job.test_name = schedule.test_name
170 (parent_schedule.test_name == job.test_name) and
Dindexing.py113 model.ScheduleModel.test_name == entity.test_name,
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker_test.py97 test_name=high_priority_schedule_test_name)
104 test_name=medium_priority_schedule_test_name)
113 self.assertEqual(schedules[0].test_name,
134 test_name=high_priority_schedule_test_name,
143 test_name=medium_priority_schedule_test_name,
160 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
173 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
191 self.assertEqual(jobs[0].test_name, medium_priority_schedule_test_name)
256 any([job.test_name == schedule2_h.test_name for job in jobs]))
258 any([job.test_name == schedule2_m.test_name for job in jobs]))
[all …]
/test/vts/utils/native/trace_processor/
DVtsTraceProcessor.h126 std::string test_name; member
140 TraceSummary(std::string test_name, std::string package, int version_major, in TraceSummary()
143 : test_name(test_name), in TraceSummary()
161 const std::string& test_name,
DVtsTraceProcessor.cpp558 test_list[it->first].insert(summary.test_name); in GetTestListForHal()
577 obj["Test_name"] = summary.test_name; in GetTestListForHal()
589 return (trace_summary.test_name == test); in GetTestListForHal()
592 fout << found->test_name << "(" << found->unique_api_count << "/" in GetTestListForHal()
614 string test_name = test_dir->d_name; in GetHalTraceMapping() local
615 cout << "Processing test: " << test_name << endl; in GetHalTraceMapping()
620 trace_file_dir_name += test_name; in GetHalTraceMapping()
627 GetHalTraceSummary(trace_file_name, test_name, &trace_summaries); in GetHalTraceMapping()
635 string test_name = trace_summary.test_name; in GetHalTraceMapping() local
659 const string& trace_file, const string& test_name, in GetHalTraceSummary() argument
[all …]
/test/vts/testcases/template/param_test/
Dparam_test.py97 tests = [(str(test_name + self.getParamTag(param)), test_func)
98 for (test_name, test_func) in original_tests]
101 records.TestResultRecord(test_name, self.test_module_name)
102 for test_name, _ in tests
/test/vts/testcases/template/gtest_binary_test/
Dgtest_test_case.py41 test_name=None, argument
59 if not test_name:
60 test_name = self.full_name
62 gtest_filter_flag = ('--gtest_filter={test}').format(test=test_name)
Dgtest_binary_test.py120 test_name = line.split('#')[0].strip()
122 if re.match('UninstantiatedParamaterizedTestSuite<(.*)>', test_name):
125 test_suite, test_name, path, tag, self.PutTag,
/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue_test.py116 test_name=response.jobs[0].test_name,
136 test_name=response.jobs[0].test_name,
Djob_queue.py97 model.JobModel.test_name == request.test_name,
110 request.build_target, request.test_name, request.serial))
124 job.hostname, job.test_name, job.timestamp))
Dschedule_info_test.py49 test_name=self.GetRandomString(),
94 test_name=self.GetRandomString(),
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py401 test_name = name_func(test_case, *args)
405 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
416 self.InternalResultReportMultiThread(test_name, asserts.skipIf,
441 test_name, self.CheckResult,
444 def InternalResultReportMultiThread(self, test_name, function, args, argument
459 tr_record = records.TestResultRecord(test_name, self.test_module_name)
462 self.execOneTest(test_name, function, args, **kwargs)
/test/vts/runners/target/gtest/
Dgtest_main.cpp179 void AppendTest(const char* test_name) { in AppendTest() argument
180 test_list_.push_back(Test(test_name)); in AppendTest()
625 const std::string& test_name) { in ChildProcessFn() argument
629 char* filter_arg = new char[test_name.size() + 20]; in ChildProcessFn()
631 strcat(filter_arg, test_name.c_str()); in ChildProcessFn()
641 static ChildProcInfo RunChildProcess(const std::string& test_name, in RunChildProcess() argument
668 ChildProcessFn(argc, argv, test_name); in RunChildProcess()
678 child_proc.start_time_ns + GetDeadlineInfo(test_name) * 1000000LL; in RunChildProcess()
693 std::string test_name = in HandleSignals() local
699 printf(" %s (%" PRId64 " ms)\n", test_name.c_str(), run_time_ms); in HandleSignals()
[all …]
/test/vts/utils/python/controllers/
Dandroid_device.py329 def takeBugReports(ads, test_name, begin_time): argument
344 def take_br(test_name, begin_time, ad): argument
345 ad.takeBugReport(test_name, begin_time)
347 args = [(test_name, begin_time, ad) for ad in ads]
832 def takeBugReport(self, test_name, begin_time): argument
843 out_name = test_name[:test_name_len] + base_name
845 self.log.info("Taking bugreport for %s on %s", test_name, self.serial)
847 self.log.info("Bugreport for %s taken at %s", test_name, full_out_path)
/test/vts/utils/python/systrace/
Dsystrace_utils.py89 def ProcessAndUploadSystrace(self, test_name): argument
118 test=test_name, process=process, time=time)
/test/vti/test_serving/gae/webapp/src/proto/
Dmodel.py83 test_name = ndb.StringProperty() variable in ScheduleModel
145 test_name = messages.StringField(3) variable in ScheduleInfoMessage
256 test_name = ndb.StringProperty() variable in JobModel
313 test_name = messages.StringField(3) variable in JobMessage
/test/vts/utils/python/web/
Dweb_utils.py139 def AddTestReport(self, test_name): argument
150 self.current_test_report_msg.name = test_name
438 msg.name = test.test_name
/test/vti/test_serving/gae/frontend/src/app/model/
Djob.ts21 test_name: string = void 0; property in Job
Dschedule.ts42 test_name: string = void 0; property in Schedule
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py123 test_case.test_name = "replay_test_" + trace_file_name
173 self._current_record.test_name.replace('/', '_'))

12