Home
last modified time | relevance | path

Searched refs:test_class (Results 1 – 21 of 21) 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/asuite/atest/
Dunittest_utils.py23 def assert_strict_equal(test_class, first, second): argument
33 test_class.assertEqual(first, second)
36 test_class.assertIsInstance(first, type(second))
37 test_class.assertIsInstance(second, type(first))
42 assert_strict_equal(test_class, getattr(first, f), getattr(second, f))
45 def assert_equal_testinfos(test_class, test_info_a, test_info_b): argument
49 test_class.assertEqual(test_info_a, test_info_b)
55 test_class.assertEqual(
65 def assert_equal_testinfo_sets(test_class, test_info_set_a, test_info_set_b): argument
67 test_class.assertEqual(
[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/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/
Dwifi_power_test_utils.py382 def create_pkt_config(test_class): argument
392 if test_class.ipv6_src_type == 'LINK_LOCAL' else
395 mac_dst = test_class.mac_dst
396 if GET_FROM_PHONE in test_class.mac_dst:
397 mac_dst = get_phone_mac(test_class.dut)
399 ipv4_dst = test_class.ipv4_dst
400 if GET_FROM_PHONE in test_class.ipv4_dst:
401 ipv4_dst = get_phone_ip(test_class.dut)
403 ipv6_dst = test_class.ipv6_dst
404 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/
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)
189 test_class = getattr(module, member_name)
190 if inspect.isclass(test_class):
191 test_classes[member_name] = test_class
232 def run(self, test_class=None): argument
250 if test_class:
251 self.test_classes = {test_class.__name__: test_class}
318 for test_class, test_cases in self.run_list:
319 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.py126 test_class = VersionedTestClass(test_run_config)
127 test_class.run(['test_1', 'test_2'])
129 self.assertIn('Executed 2', test_class.results.summary_str(),
133 test_class.results.executed[0].extras['test_tracker_uuid'],
137 test_class.results.executed[1].extras['test_tracker_uuid'],
/tools/asuite/atest/test_finders/
Dtest_finder_utils_unittest.py891 test_class = 'myClass'
898 self.assertEqual(test_class, result['pkg_class_name'])
903 test_class = 'myClass'
909 self.assertEqual(test_class, result['pkg_class_name'])
914 test_class = 'myClass'
921 self.assertEqual(test_class, result['pkg_class_name'])
926 test_class = 'myClass'
933 self.assertEqual(test_class, result['pkg_class_name'])
937 test_class = 'myClass'
947 test_class = 'BR/EI/ZH'
[all …]
/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/framework/acts/metrics/loggers/protos/
Dmetrics.proto10 optional string test_class = 1; field
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTdlsRvrTest.py307 test_class = self.__class__.__name__
310 test_class][test_name]
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dbounded_metrics.py56 bounded_metric.test_class = self.get_class()
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/
DWifiAwareRvrTest.py439 test_class = self.__class__.__name__
442 test_class][test_name]
/tools/test/mobly_extensions/tools/results_uploader/src/
Dmobly_result_converter.py223 test_class = entry[records.TestResultEnums.RECORD_CLASS]
225 test_class,
/tools/test/connectivity/acts_tests/tests/google/wifi/p2p/performance/
DWifiP2pRvrTest.py500 test_class = self.__class__.__name__
503 test_class][test_name]
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_server.py596 _AndroidDeviceBridge._test_class = event.test_class