Home
last modified time | relevance | path

Searched refs:test_class (Results 1 – 13 of 13) 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/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/tradefederation/core/atest/
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.py64 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)))
Drecords.py123 d[TestResultEnums.RECORD_CLASS] = self.test_class
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py514 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/
Dversion_selector_test.py110 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/
Dblackbox_test.py177 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/
DREADME.md17 `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
/tools/test/connectivity/acts/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/framework/acts/controllers/
Diperf_server.py552 _AndroidDeviceBridge._test_class = event.test_class