Home
last modified time | relevance | path

Searched refs:test_class (Results 1 – 18 of 18) sorted by relevance

/tools/test/connectivity/acts/framework/tests/
Dacts_context_test.py59 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_tests/acts_contrib/test_utils/wifi/
Dwifi_power_test_utils.py280 def create_pkt_config(test_class): argument
290 if test_class.ipv6_src_type == 'LINK_LOCAL' else
293 mac_dst = test_class.mac_dst
294 if GET_FROM_PHONE in test_class.mac_dst:
295 mac_dst = get_phone_mac(test_class.dut)
297 ipv4_dst = test_class.ipv4_dst
298 if GET_FROM_PHONE in test_class.ipv4_dst:
299 ipv4_dst = get_phone_ip(test_class.dut)
301 ipv6_dst = test_class.ipv6_dst
302 if GET_FROM_PHONE in test_class.ipv6_dst:
[all …]
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dbounded_metrics_test.py63 self.assertEqual(result.test_class, 'Class')
86 self.assertEqual(result.test_class, 'Class')
102 test_class = PropertyMock()
104 type(result).test_class = test_class
115 test_class.assert_called_with('AwesomeClass')
124 test_class = PropertyMock()
126 type(result).test_class = test_class
135 test_class.assert_called_with('BestClass')
172 def run_acts_test(self, test_class, importlib, utils): argument
179 setattr(mock_module, test_class.__name__, test_class)
[all …]
Dblackbox_test.py173 def run_acts_test(self, test_class, importlib, utils, sys): argument
180 setattr(mock_module, test_class.__name__, test_class)
184 test_class.__name__,
/tools/test/connectivity/acts/framework/acts/event/
Devent.py33 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/asuite/atest-py2/
Dunittest_utils.py24 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/
Dunittest_utils.py24 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/
Dcontext.py75 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__
Dtest_runner.py65 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
231 def run(self, test_class=None): argument
249 if test_class:
250 self.test_classes = {test_class.__name__: test_class}
317 for test_class, test_cases in self.run_list:
318 f.write('%s:\n%s' % (test_class, ',\n'.join(test_cases)))
Dbase_test.py54 test_instance = event.test_class
78 test_instance = event.test_class
101 test_instance = event.test_class
118 test_instance = event.test_class
Drecords.py123 d[TestResultEnums.RECORD_CLASS] = self.test_class
/tools/test/connectivity/acts/framework/tests/libs/
Dversion_selector_test.py125 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/tests/google/wifi/rtt/
DREADME.md17 `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/
DREADME.md24 1. Individual test(s): `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/
DWifiP2pRvrTest.py488 test_class=self.__class__.__name__
489 if hasattr(self, "uuid_list") and test_name in self.uuid_list[test_class]:
490 …test_case = test_tracker_info(uuid=self.uuid_list[test_class][test_name])(partial(self._test_p2p_r…
/tools/test/connectivity/acts/framework/acts/metrics/loggers/protos/
Dmetrics.proto10 optional string test_class = 1; field
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dbounded_metrics.py56 bounded_metric.test_class = self.get_class()
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_server.py586 _AndroidDeviceBridge._test_class = event.test_class