/test/vts/utils/python/fuzzer/ |
D | corpus_manager.py | 113 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/framework/harnesses/host_controller/campaigns/ |
D | campaign_test.py | 35 test_name = "vts/vts" 37 **default_testcase.GenerateInputData(test_name)) 39 default_testcase.GenerateOutputData(test_name), results) 43 test_name = "vts/cts-on-gsi" 45 **default_testcase.GenerateInputData(test_name)) 47 default_testcase.GenerateOutputData(test_name), results) 51 test_name = "cts/cts" 53 **default_testcase.GenerateInputData(test_name)) 55 default_testcase.GenerateOutputData(test_name), results) 59 test_name = "gts/gts" [all …]
|
/test/vts/runners/host/ |
D | base_test.py | 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 [all …]
|
D | records.py | 67 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
|
/test/vts/script/ |
D | create-test-project.py | 51 def __init__(self, test_name, test_plan, test_dir_under_testcases, argument 67 if not self.IsUpperCamel(test_name): 70 self.test_name = test_name 165 test_name=self.test_name, 188 test_name=self.test_name, 193 test_case_file_without_extension=self.test_name)) 197 target = os.path.join(self.test_dir, '%s.py' % self.test_name) 203 f.write(TEST_CASE_PY_TEMPLATE.format(test_name=self.test_name)) 230 test_case_creater = TestCaseCreator(args.test_name, args.test_plan,
|
/test/vts/testcases/template/binary_test/ |
D | binary_test_case.py | 59 test_name, argument 71 self.test_name = test_name 112 self.test_suite, self.test_name) 113 if self.test_suite else self.test_name) 155 def test_name(self): member in BinaryTestCase 159 @test_name.setter 160 def test_name(self, test_name): member in BinaryTestCase 162 self._test_name = _SafeStrip(test_name)
|
/test/vti/test_serving/gae/webapp/src/tasks/ |
D | indexing_test.py | 59 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
|
/test/vti/test_serving/gae/webapp/src/scheduler/ |
D | schedule_worker_test.py | 97 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/framework/harnesses/host_controller/campaigns/testdata/ |
D | default_testcase.py | 100 def GenerateInputData(test_name): argument 103 new_data["test_name"] = test_name 107 def GenerateOutputData(test_name): argument 109 test_suite, test_plan = test_name.split("/")
|
/test/vts/utils/native/trace_processor/ |
D | VtsTraceProcessor.h | 126 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,
|
D | VtsTraceProcessor.cpp | 558 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/ |
D | param_test.py | 98 for idx, (test_name, test_func) in enumerate(tests): 99 param_test_name = str(test_name + self.getParamTag(param)) 103 records.TestResultRecord(test_name, self.test_module_name) 104 for test_name, _ in tests
|
/test/vts/testcases/template/gtest_binary_test/ |
D | gtest_test_case.py | 41 test_name=None, argument 59 if not test_name: 60 test_name = self.full_name 64 test = test_name,
|
/test/vts-testcase/kernel/api/libcutils/ |
D | VtsKernelLibcutilsTest.py | 35 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-testcase/fuzz/script/config/ |
D | config_gen.py | 151 test_name = 'VtsHal' 152 test_name += ''.join(map(lambda x: x.title(), hal_name.split('.'))) 153 test_name += self._utils.HalVerDir(hal_version) 154 test_name += self._FuzzerTypeCamel(fuzzer_type) 155 return test_name
|
/test/vts-testcase/fuzz/template/libfuzzer_test/ |
D | libfuzzer_test.py | 188 test_case.test_name) 249 test_case.test_name, crash_report) 270 test_case.test_name) 276 asserts.fail('%s failed normally.' % test_case.test_name) 278 asserts.fail('%s failed abnormally.' % test_case.test_name) 294 name_func=lambda x: x.test_name)
|
D | libfuzzer_test_case.py | 94 def test_name(self): member in LibFuzzerTestCase 98 @test_name.setter 99 def test_name(self, name): member in LibFuzzerTestCase
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
D | job_queue_test.py | 116 test_name=response.jobs[0].test_name, 136 test_name=response.jobs[0].test_name,
|
D | job_queue.py | 97 model.JobModel.test_name == request.test_name, 110 request.build_target, request.test_name, request.serial)) 124 job.hostname, job.test_name, job.timestamp))
|
/test/vts-testcase/kernel/ltp/ |
D | KernelLtpTest.py | 396 test_name = name_func(test_case, *args) 400 self.InternalResultReportMultiThread(test_name, asserts.skipIf, 411 self.InternalResultReportMultiThread(test_name, asserts.skipIf, 436 test_name, self.CheckResult, 439 def InternalResultReportMultiThread(self, test_name, function, args, argument 454 tr_record = records.TestResultRecord(test_name, self.test_module_name) 457 self.execOneTest(test_name, function, args, **kwargs)
|
/test/vts/runners/target/gtest/ |
D | gtest_main.cpp | 179 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/ |
D | android_device.py | 316 def takeBugReports(ads, test_name, begin_time): argument 331 def take_br(test_name, begin_time, ad): argument 332 ad.takeBugReport(test_name, begin_time) 334 args = [(test_name, begin_time, ad) for ad in ads] 809 def takeBugReport(self, test_name, begin_time): argument 820 out_name = test_name[:test_name_len] + base_name 822 self.log.info("Taking bugreport for %s on %s", test_name, self.serial) 824 self.log.info("Bugreport for %s taken at %s", test_name, full_out_path)
|
/test/framework/harnesses/host_controller/utils/parser/ |
D | result_utils.py | 128 test_name = test.attrib.get(common._NAME_ATTR_KEY, "") 129 return bitness, module_name, testcase_name, test_name
|
/test/vts-testcase/fuzz/kernel/syzkaller/ |
D | syzkaller_test_case.py | 59 test_name = '%s_%s_%d' % (time.strftime('%Y-%m-%d'), self._device_code, 61 return str(test_name)
|
/test/vts/utils/python/systrace/ |
D | systrace_utils.py | 89 def ProcessAndUploadSystrace(self, test_name): argument 118 test=test_name, process=process, time=time)
|