/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/test_utils/wifi/ |
D | wifi_power_test_utils.py | 302 def create_pkt_config(test_class): argument 312 if test_class.ipv6_src_type == 'LINK_LOCAL' else 315 mac_dst = test_class.mac_dst 316 if GET_FROM_PHONE in test_class.mac_dst: 317 mac_dst = get_phone_mac(test_class.dut) 319 ipv4_dst = test_class.ipv4_dst 320 if GET_FROM_PHONE in test_class.ipv4_dst: 321 ipv4_dst = get_phone_ip(test_class.dut) 323 ipv6_dst = test_class.ipv6_dst 324 if GET_FROM_PHONE in test_class.ipv6_dst: [all …]
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | bounded_metrics_test.py | 66 self.assertEqual(result.test_class, 'Class') 88 self.assertEqual(result.test_class, 'Class') 103 test_class = PropertyMock() 105 type(result).test_class = test_class 116 test_class.assert_called_with('AwesomeClass') 125 test_class = PropertyMock() 127 type(result).test_class = test_class 136 test_class.assert_called_with('BestClass') 168 def run_acts_test(self, test_class, importlib, utils, sys): argument 175 setattr(mock_module, test_class.__name__, test_class) [all …]
|
D | blackbox_test.py | 159 def run_acts_test(self, test_class, importlib, utils, sys): argument 166 setattr(mock_module, test_class.__name__, test_class) 170 test_class.__name__,
|
/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 | test_runner.py | 65 def execute_one_test_class(test_class, test_config, test_identifier): argument 86 tr.run(test_class) 188 test_class = getattr(module, member_name) 189 if inspect.isclass(test_class): 190 test_classes[member_name] = test_class 255 def run(self, test_class=None): argument 273 if test_class: 274 self.test_classes = {test_class.__name__: test_class} 341 for test_class, test_cases in self.run_list: 342 f.write('%s:\n%s' % (test_class, ',\n'.join(test_cases)))
|
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 | base_test.py | 54 test_instance = event.test_class 78 test_instance = event.test_class 101 test_instance = event.test_class 118 test_instance = event.test_class
|
D | records.py | 123 d[TestResultEnums.RECORD_CLASS] = self.test_class
|
/tools/test/connectivity/acts/framework/tests/libs/ |
D | version_selector_test.py | 125 test_class = VersionedTestClass(test_run_config) 126 test_class.run(['test_1', 'test_2']) 128 self.assertIn('Executed 2', test_class.results.summary_str(), 132 test_class.results.executed[0].extras['test_tracker_uuid'], 136 test_class.results.executed[1].extras['test_tracker_uuid'],
|
/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/tests/google/wifi/rtt/ |
D | README.md | 17 `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/ |
D | metrics.proto | 10 optional string test_class = 1; field
|
/tools/test/connectivity/acts/framework/acts/metrics/loggers/ |
D | bounded_metrics.py | 56 bounded_metric.test_class = self.get_class()
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | iperf_server.py | 622 _AndroidDeviceBridge._test_class = event.test_class
|