Home
last modified time | relevance | path

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

123456789

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DChannelSweepTest.py147 def on_fail(self, test_name, begin_time): argument
148 self.dut.take_bug_report(test_name, begin_time)
149 self.dut.get_log(test_name, begin_time)
344 test_name = self.throughput_data['test']
346 log_path = '%s/ChannelSweepTest/%s' % (output_path, test_name)
349 log_file = '%s/%s_%smhz.csv' % (log_path, test_name, channel_bandwidth)
351 (test_name, log_file))
365 test_name = self.throughput_data['test']
368 output_path, test_name, test_name, channel_bandwidth)
515 test_name = settings.get('test_name', self.test_name)
[all …]
DWlanRvrTest.py46 def create_rvr_graph(test_name, graph_path, graph_data): argument
56 output_file('%srvr_throughput_vs_attn_%s.html' % (graph_path, test_name),
57 title=test_name)
64 title="Throughput vs Relative Attenuation (Test Case: %s)" % test_name,
83 def write_csv_rvr_data(test_name, csv_path, csv_data): argument
90 csv_file_name = '%srvr_throughput_vs_attn_%s.csv' % (csv_path, test_name)
211 def on_fail(self, test_name, begin_time): argument
212 super().on_fail(test_name, begin_time)
582 self.test_name,
587 self.test_name,
[all …]
DWlanRebootTest.py76 test_name = 'test_%s_reboot_%s' % (settings['reboot_type'],
79 test_name += '_interrupt'
81 test_name += '_%s' % IPV4
83 test_name += '_%s' % IPV6
84 test_name += '_%s' % settings['band']
86 test_name += '_loops_%s' % settings['loops']
87 return test_name
171 def on_fail(self, test_name, begin_time): argument
172 self.dut.take_bug_report(test_name, begin_time)
173 self.dut.get_log(test_name, begin_time)
[all …]
/tools/test/connectivity/acts/framework/acts/
Dbase_test.py354 def _setup_test(self, test_name): argument
358 self.current_test_name = test_name
378 def _teardown_test(self, test_name): argument
382 self.log.debug('Tearing down test %s' % test_name)
396 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
397 self.on_fail(record.test_name, record.begin_time)
399 def on_fail(self, test_name, begin_time): argument
420 self.log.info(RESULT_LINE_TEMPLATE, record.test_name, record.result)
421 self.on_pass(record.test_name, record.begin_time)
423 def on_pass(self, test_name, begin_time): argument
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveStressTest.py171 def on_fail(self, test_name, begin_time): argument
174 def _take_bug_report(self, test_name, begin_time): argument
175 if self._skip_bug_report(test_name):
178 dst_dir = os.path.join(self.log_path, test_name)
184 "%s_%s" % (test_name, file_name)),
185 "\[Test Case\] %s " % test_name)
186 super()._take_bug_report(test_name, begin_time)
188 def _ad_take_extra_logs(self, ad, test_name, begin_time): argument
191 dst_file = os.path.join(ad.device_log_path, test_name,
192 "%s_%s.logcat" % (ad.serial, test_name))
[all …]
DTelLiveDSDSVoiceTest.py141 def on_fail(self, test_name, begin_time): argument
142 if test_name.startswith('test_stress'):
144 super().on_fail(test_name, begin_time)
1417 self._take_bug_report("%s_IterNo_%s" % (self.test_name, i),
1425 self.test_name, count, failure,
1564 self._take_bug_report("%s_IterNo_%s" % (self.test_name, i),
1572 self.test_name, count, failure,
1743 self._take_bug_report("%s_IterNo_%s" % (self.test_name, i),
1769 self._take_bug_report("%s_IterNo_%s" % (self.test_name, i),
1777 self.test_name, count, failure,
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_base_class_test.py75 self.assertEqual(actual_record.test_name, 'test_func')
95 self.assertEqual(actual_record.test_name, 'test_something')
126 passed_names = [p.test_name for p in bt_cls.results.passed]
147 self.assertEqual(actual_record.test_name, 'test_something')
160 def on_skip(self, test_name, begin_time): argument
166 self.assertEqual(actual_record.test_name, 'test_something')
190 self.assertEqual(actual_record.test_name, self.mock_test_name)
215 self.assertEqual(actual_record.test_name, self.mock_test_name)
241 self.assertEqual(actual_record.test_name, self.mock_test_name)
265 self.assertEqual(actual_record.test_name, self.mock_test_name)
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py101 test_id = "%s:%s:%s" % (self.__class__.__name__, self.test_name,
113 log_string = "[Test Case] RERUN %s" % self.test_name
115 self._teardown_test(self.test_name)
116 self._setup_test(self.test_name)
134 new_crash = ad.check_crash_report(self.test_name,
438 if "wfc" in self.test_name:
454 if getattr(self, "tcpdump_log", False) or "wfc" in self.test_name:
480 def on_fail(self, test_name, begin_time): argument
481 self._take_bug_report(test_name, begin_time)
483 def on_pass(self, test_name, begin_time): argument
[all …]
/tools/tradefederation/core/atest/
Dresult_reporter_unittest.py34 test_name='someClassName#sostName',
48 test_name='someClassName#sostName',
62 test_name='someClassName#sostName',
76 test_name='someClassName2#sestName2',
90 test_name='someClassName#sostName',
104 test_name=None,
118 test_name='someClassName#sostName',
132 test_name='someClassName#sostName',
155 test_name='somePerfClass01#perfName01',
169 test_name='somePerfClass01#perfName02',
[all …]
Dresult_reporter.py99 benchmark_info['test_name'] = test.test_name
382 for test_name in self.failed_tests:
383 print('%s' % test_name)
447 self.failed_tests.append(test.test_name)
490 if test.test_name:
496 test.test_name,
507 test.test_name, au.colorize(
513 test.test_name, au.colorize(
519 test.test_name, au.colorize(
/tools/asuite/atest/
Dresult_reporter_unittest.py35 test_name='someClassName#sostName',
49 test_name='someClassName#sostName',
63 test_name='someClassName#sostName',
77 test_name='someClassName2#sestName2',
91 test_name='someClassName#sostName',
105 test_name=None,
119 test_name='someClassName#sostName',
133 test_name='someClassName#sostName',
156 test_name='somePerfClass01#perfName01',
170 test_name='somePerfClass01#perfName02',
[all …]
/tools/tradefederation/core/atest/test_runners/
Devent_handler_unittest.py147 test_name='someClassName#someTestName',
160 test_name='someClassName2#someTestName2',
179 test_name='someClassName#someTestName',
198 test_name=None,
217 test_name='someClassName#someTestName',
237 test_name='someClassName#someTestName',
270 test_name='someClassName#someTestName',
283 test_name='someClassName2#someTestName2',
302 test_name='someClassName#someTestName',
318 test_name='someClassName2#someTestName2',
[all …]
Datest_tf_test_runner.py515 key = lambda x: x.test_name
544 test_info.TestInfo(test_name=module,
610 args.extend([constants.TF_INCLUDE_FILTER, info.test_name])
616 test_name=info.test_name, test_filter=test_filter)
622 test_name=info.test_name, option_value=option[1]))
627 test_name=info.test_name, option_value=option[1]))
632 test_name=info.test_name, option_name=option[0],
/tools/asuite/atest/test_runners/
Devent_handler_unittest.py151 test_name='someClassName#someTestName',
164 test_name='someClassName2#someTestName2',
183 test_name='someClassName#someTestName',
202 test_name=None,
221 test_name='someClassName#someTestName',
241 test_name='someClassName#someTestName',
274 test_name='someClassName#someTestName',
287 test_name='someClassName2#someTestName2',
306 test_name='someClassName#someTestName',
322 test_name='someClassName2#someTestName2',
[all …]
Datest_tf_test_runner.py553 key = lambda x: x.test_name
584 test_info.TestInfo(test_name=module,
646 args.extend([constants.TF_INCLUDE_FILTER, info.test_name])
652 test_name=info.test_name, test_filter=test_filter)
658 test_name=info.test_name, option_value=option[1]))
663 test_name=info.test_name, option_value=option[1]))
668 test_name=info.test_name, option_name=option[0],
/tools/asuite/atest/test_finders/
Dmodule_finder.py125 test.build_targets.add(test.test_name)
138 test.test_name = self.module_info.get_robolectric_test_name(test.test_name)
154 module_name = test.test_name
162 if self._is_vts_module(test.test_name):
164 if self.module_info.is_robolectric_test(test.test_name):
323 test_name=mname,
352 test_name=module_name,
383 test_name=module_name,
467 class_name, module_info.test_name,
478 class_name, module_info.test_name,
[all …]
Dsuite_plan_finder_unittest.py63 want_info = test_info.TestInfo(test_name=suite_plan,
72 want_info = test_info.TestInfo(test_name=suite_plan,
106 want_info = test_info.TestInfo(test_name=suite_name,
122 want_info = test_info.TestInfo(test_name=suite_name,
158 want_info = test_info.TestInfo(test_name=suite_int_name,
169 want_info = test_info.TestInfo(test_name=suite_int_name,
180 want_info = test_info.TestInfo(test_name=suite_int_name,
/tools/tradefederation/core/atest/test_finders/
Dmodule_finder.py123 test.build_targets.add(test.test_name)
136 test.test_name = self.module_info.get_robolectric_test_name(test.test_name)
152 module_name = test.test_name
160 if self._is_vts_module(test.test_name):
162 elif self.module_info.is_robolectric_test(test.test_name):
321 test_name=mname,
349 test_name=module_name,
378 test_name=module_name,
456 class_name, module_info.test_name,
467 class_name, module_info.test_name,
[all …]
Dsuite_plan_finder_unittest.py59 want_info = test_info.TestInfo(test_name=suite_plan,
68 want_info = test_info.TestInfo(test_name=suite_plan,
102 want_info = test_info.TestInfo(test_name=suite_name,
118 want_info = test_info.TestInfo(test_name=suite_name,
154 want_info = test_info.TestInfo(test_name=suite_int_name,
165 want_info = test_info.TestInfo(test_name=suite_int_name,
176 want_info = test_info.TestInfo(test_name=suite_int_name,
/tools/test/connectivity/acts_tests/tests/google/net/
DSocketKeepaliveTest.py101 self.test_name.startswith("test_tcp") and \
106 if self.test_name.endswith("_lte"):
113 self.tcpdump_pid = start_tcpdump(self.dut, self.test_name)
117 stop_tcpdump(self.dut, self.tcpdump_pid, self.test_name)
121 if "_on_data_" in self.test_name:
140 def on_fail(self, test_name, begin_time): argument
141 self.dut.take_bug_report(test_name, begin_time)
366 tcp_keepalive = True if "_tcp_" in self.test_name else False
374 ad, self.test_name, port, self.remote_server)
448 self.dut, self.test_name, TCP_SERVER_PORT, host)
[all …]
DApfCountersTest.py81 if 'RTT' not in self.test_name:
82 self.tcpdump_pid = start_tcpdump(self.dut, self.test_name)
85 if 'RTT' not in self.test_name:
86 stop_tcpdump(self.dut, self.tcpdump_pid, self.test_name)
88 def on_fail(self, test_name, begin_time): argument
89 self.dut.take_bug_report(test_name, begin_time)
90 self.dut.cat_adb_log(test_name, begin_time)
215 tcpdump_pid = start_tcpdump(self.dut, self.test_name)
223 pcap_file = stop_tcpdump(self.dut, tcpdump_pid, self.test_name)
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerBaseTest.py216 if self.threshold and self.test_name in self.threshold:
217 avg_current_threshold = self.threshold[self.test_name]
242 self.dut.take_bug_report(self.test_name, begin_time)
257 def on_fail(self, test_name, begin_time): argument
260 def on_pass(self, test_name, begin_time): argument
360 if not self.threshold or self.test_name not in self.threshold:
362 "the configuration file.".format(self.test_name))
365 current_threshold = self.threshold[self.test_name]
372 self.test_name, average_current, current_threshold,
377 self.test_name, average_current, current_threshold,
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py319 def take_bug_reports(ads, test_name, begin_time): argument
333 def take_br(test_name, begin_time, ad): argument
334 ad.take_bug_report(test_name, begin_time)
336 args = [(test_name, begin_time, ad) for ad in ads]
926 def take_bug_report(self, test_name, begin_time): argument
953 self.log.info("Taking bugreport for %s.", test_name)
965 self.log.info("Bugreport for %s taken at %s.", test_name,
1017 test_name=None, argument
1043 test_name = test_name or time.strftime("%Y-%m-%d-%Y-%H-%M-%S")
1044 crash_log_path = os.path.join(self.log_path, test_name,
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dwlan_device.py76 def take_bug_report(self, test_name, begin_time): argument
83 def get_log(self, test_name, begin_time): argument
176 def take_bug_report(self, test_name, begin_time): argument
177 self.device.take_bug_report(test_name, begin_time)
179 def get_log(self, test_name, begin_time): argument
180 self.device.cat_adb_log(test_name, begin_time)
276 def take_bug_report(self, test_name, begin_time): argument
280 def get_log(self, test_name, begin_time): argument
/tools/test/connectivity/acts/tests/google/wifi/
DWifiMacRandomizationTest.py118 def on_fail(self, test_name, begin_time): argument
119 self.dut.cat_adb_log(test_name, begin_time)
120 self.dut.take_bug_report(test_name, begin_time)
121 self.dut_client.take_bug_report(test_name, begin_time)
275 self.packet_capture, 'dual', self.test_name)
465 self.packet_capture, 'dual', self.test_name)
525 self.packet_capture, 'dual', self.test_name)
552 self.packet_capture, 'dual', self.test_name)

123456789