/tools/test/connectivity/acts/framework/tests/ |
D | acts_context_test.py | 59 event.test_class = Mock() 64 self.assertEqual(context.test_class, event.test_class) 69 event.test_class = Mock() 73 self.assertEqual(context.test_class, event.test_class) 82 event.test_class = Mock() 90 event.test_class = Mock() 92 event2.test_class = Mock() 102 event.test_class = Mock() 104 event2.test_class = Mock() 115 event.test_class = Mock() [all …]
|
/tools/test/connectivity/acts/framework/acts/event/ |
D | event.py | 33 def __init__(self, test_class, test_case): argument 35 self.test_class = test_class 44 return self.test_class.__class__.__name__ 50 def __init__(self, test_class, test_case, test_signal): argument 51 super().__init__(test_class, test_case) 78 def __init__(self, test_class): argument 80 self.test_class = test_class 90 def __init__(self, test_class, result): argument 91 super().__init__(test_class)
|
/tools/tradefederation/core/atest/ |
D | unittest_utils.py | 24 def assert_strict_equal(test_class, first, second): argument 30 test_class.assertEqual(first, second) 34 test_class.assertIsInstance(first, type(second)) 35 test_class.assertIsInstance(second, type(first)) 40 assert_strict_equal(test_class, getattr(first, f), 43 def assert_equal_testinfos(test_class, test_info_a, test_info_b): argument 47 test_class.assertEqual(test_info_a, test_info_b) 53 test_class.assertEqual(test_info_a_attr, test_info_b_attr, 57 def assert_equal_testinfo_sets(test_class, test_info_set_a, test_info_set_b): argument 59 test_class.assertEqual(len(test_info_set_a), len(test_info_set_b), [all …]
|
/tools/asuite/atest/ |
D | unittest_utils.py | 24 def assert_strict_equal(test_class, first, second): argument 34 test_class.assertEqual(first, second) 38 test_class.assertIsInstance(first, type(second)) 39 test_class.assertIsInstance(second, type(first)) 44 assert_strict_equal(test_class, getattr(first, f), 47 def assert_equal_testinfos(test_class, test_info_a, test_info_b): argument 51 test_class.assertEqual(test_info_a, test_info_b) 57 test_class.assertEqual(test_info_a_attr, test_info_b_attr, 61 def assert_equal_testinfo_sets(test_class, test_info_set_a, test_info_set_b): argument 63 test_class.assertEqual(len(test_info_set_a), len(test_info_set_b), [all …]
|
/tools/test/connectivity/acts/framework/acts/ |
D | context.py | 75 return TestCaseContext(event.test_class, event.test_case) 80 return TestClassContext(event.test_class) 284 def __init__(self, test_class): argument 291 self.test_class = test_class 295 return self.test_class.__class__.__name__ 318 def __init__(self, test_class, test_case): argument 326 self.test_class = test_class 335 return self.test_class.__class__.__name__
|
D | test_runner.py | 64 def execute_one_test_class(test_class, test_config, test_identifier): argument 85 tr.run(test_class) 185 test_class = getattr(module, member_name) 186 if inspect.isclass(test_class): 187 test_classes[member_name] = test_class 252 def run(self, test_class=None): argument 270 if test_class: 271 self.test_classes = {test_class.__name__: test_class} 337 for test_class, test_cases in self.run_list: 338 f.write('%s:\n%s' % (test_class, ',\n'.join(test_cases)))
|
D | records.py | 123 d[TestResultEnums.RECORD_CLASS] = self.test_class
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_power_test_utils.py | 514 def create_pkt_config(test_class): argument 524 if test_class.ipv6_src_type == 'LINK_LOCAL' else 527 mac_dst = test_class.mac_dst 528 if GET_FROM_PHONE in test_class.mac_dst: 529 mac_dst = get_phone_mac(test_class.dut) 531 ipv4_dst = test_class.ipv4_dst 532 if GET_FROM_PHONE in test_class.ipv4_dst: 533 ipv4_dst = get_phone_ip(test_class.dut) 535 ipv6_dst = test_class.ipv6_dst 536 if GET_FROM_PHONE in test_class.ipv6_dst: [all …]
|
/tools/test/connectivity/acts/framework/tests/libs/ |
D | version_selector_test.py | 110 test_class = VersionedTestClass(test_run_config) 111 test_class.run(['test_1', 'test_2']) 113 self.assertIn('Executed 2', test_class.results.summary_str(), 117 test_class.results.executed[0].extras['test_tracker_uuid'], 121 test_class.results.executed[1].extras['test_tracker_uuid'],
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | blackbox_test.py | 177 def run_acts_test(self, test_class, importlib, utils, sys): argument 184 setattr(mock_module, test_class.__name__, test_class) 188 test_class.__name__,
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/ |
D | README.md | 17 `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
|
/tools/test/connectivity/acts/tests/google/wifi/aware/ |
D | README.md | 24 1. Individual test(s): `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_server.py | 552 _AndroidDeviceBridge._test_class = event.test_class
|