Home
last modified time | relevance | path

Searched refs:__name__ (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/tools/test/connectivity/acts_tests/tests/google/fuchsia/wlan/
DWlanSecurityComplianceABGTest.py71 security = re.search(r'sec(.*?)ptk_(.*)', test_func.__name__)
95 if 'max_length_password' in test_func.__name__:
98 elif 'max_length_psk' in test_func.__name__:
101 elif 'wep_5_chars' in test_func.__name__:
103 elif 'wep_13_chars' in test_func.__name__:
105 elif 'wep_10_hex' in test_func.__name__:
107 elif 'wep_26_hex' in test_func.__name__:
109 elif 'utf8' in test_func.__name__:
110 if 'french' in test_func.__name__:
112 elif 'german' in test_func.__name__:
[all …]
/tools/test/connectivity/acts/framework/tests/
Dacts_context_test.py193 self.assertEqual(context.test_class_name, TestClass.__name__)
201 self.assertEqual(context._get_default_context_dir(), TestClass.__name__)
209 self.assertEqual(context.identifier, TestClass.__name__)
228 self.assertEqual(context.test_class_name, TestClass.__name__)
234 context_dir = TestClass.__name__ + '/' + TEST_CASE
241 identifier = TestClass.__name__ + '.' + TEST_CASE
245 if __name__ == '__main__':
Dacts_test_decorators_test.py160 self.assertEqual(test_func.__name__, "test_func")
197 cls.MOCK_TEST_RUN_LIST = [(MockTest.__name__,
314 if __name__ == '__main__':
/tools/test/connectivity/acts/framework/tests/libs/ota/ota_tools/
Dota_tool_factory_test.py32 MockOtaTool.__name__: lambda command: MockOtaTool(command),
34 ret = ota_tool_factory.create(MockOtaTool.__name__, 'command')
41 ota_tool_factory.create(MockOtaTool.__name__, 'command')
45 MockOtaTool.__name__: lambda command: MockOtaTool(command),
47 ret_a = ota_tool_factory.create(MockOtaTool.__name__, 'command')
48 ret_b = ota_tool_factory.create(MockOtaTool.__name__, 'command')
/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py78 if not func.__name__.startswith('test_'):
104 i, func.__name__)))
150 self.__name__ = func.__name__
258 self.__name__ = target.__name__
Dbase_test.py249 return a_module.__name__.split('.')[-1]
501 func.__name__, self.current_test_name)
502 tr_record.add_error(func.__name__, e)
515 class_name = self.__class__.__name__
720 func.__name__, self.TAG)
813 if any([substr in self.__class__.__name__ for substr in
879 class_name = self.__class__.__name__
Dtest_runner.py60 [t.__name__ for t in test_classes])
207 pkg_iter = pkgutil.iter_modules(module.__path__, module.__name__ + '.')
274 self.test_classes = {test_class.__name__: test_class}
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dusage_metadata_logger_test.py62 '%s.%s' % (HurloWorld.__name__, test_case))
63 class_key = UsageMetadataKey(joined_name, YerAHarryWizard.__name__)
91 '%s.%s' %(HurlowWorld.__name__, test_case))
111 key = UsageMetadataKey(joined_name, YerAHarryWizard.__name__)
170 if __name__ == '__main__':
Dblackbox_test.py166 setattr(mock_module, test_class.__name__, test_class)
170 test_class.__name__,
287 self.assertEqual(metric.data.test_identifier, MyTest.__name__)
296 if __name__ == '__main__':
Dbounded_metrics_test.py175 setattr(mock_module, test_class.__name__, test_class)
179 test_class.__name__,
273 if __name__ == '__main__':
/tools/test/connectivity/acts/framework/acts/libs/
Dversion_selector.py83 func_name = func.__name__
162 def __name__(self): member in _VersionSelector
164 return self.entry_list[0].func.__name__
165 return '%s<%s>' % (self.__class__.__name__, self.get_version.__name__)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py2469 ad.log.info("Call is in %s state", call_func.__name__)
2472 call_func.__name__,
2491 call_func.__name__, time_message,
2497 call_func.__name__, time_message)
2862 ad.log.info("Call is in %s state", call_func.__name__)
2864 ad.log.error("Call is in %s state", call_func.__name__)
2869 call_func.__name__,
2907 call_func.__name__, time_message,
2913 call_func.__name__, time_message)
2916 call_func.__name__, time_message)
[all …]
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveStressTest.py483 call_verification_func.__name__,
485 if call_verification_func.__name__ == "is_phone_in_call_iwlan":
498 call_verification_func.__name__,
958 msg = "%s setup %s failed" % (self.test_name, setup_func.__name__)
961 setup_func.__name__),
1074 self.log.error("Test setup %s failed", setup_func.__name__)
/tools/acloud/setup/
Dbase_task_runner.py30 logger = logging.getLogger(__name__)
64 logger.debug("No welcome message for %s", self.__class__.__name__)
101 logger.info("Skipping setup step: %s", self.__class__.__name__)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/loggers/
Dbluetooth_metric_logger.py81 data = {'device_class': device.__class__.__name__}
83 if device.__class__.__name__ == 'AndroidDevice':
94 if device.__class__.__name__ == 'ParentDevice':
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/
Dbase_test_actions.py37 func_name = self._convert_default_action_name(method.__name__)
39 func_name = method.__name__
187 if __name__ == '__main__':
/tools/test/connectivity/acts_tests/tests/google/experimental/
DBluetoothThroughputTest.py135 self.__class__.__name__,
169 self.__class__.__name__,
203 self.__class__.__name__,
/tools/acloud/internal/lib/
Dota_tools_test.py172 self.fail(expected_error.__name__ + " is not raised.")
251 self.fail(expected_error.__name__ + " is not raised.")
285 if __name__ == "__main__":
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_handsfree_abstract_device.py43 controller.__class__.__name__,
53 controller_func.__qualname__, controller_func.__name__,
335 class_name = controller.__class__.__name__
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBluetoothBaseTest.py78 test_id = "{}:{}:{}".format(self.__class__.__name__, fn.__name__,
177 self.android_devices, self.__class__.__name__)
/tools/asuite/aidegen/lib/
Dcommon_util.py93 func.__module__, func.__name__, timestamp))
526 func.__module__, func.__name__, err))
550 fname = func.__name__
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dota_tool_factory.py21 AdbSideloadOtaTool.__name__: lambda command: AdbSideloadOtaTool(command),
22 UpdateDeviceOtaTool.__name__: lambda command: UpdateDeviceOtaTool(command),
/tools/test/connectivity/acts/framework/acts/libs/test_binding/
Dbinding.py38 self.__name__ = inner.__name__
/tools/repohooks/rh/
Dshell_unittest.py54 self._assertEqual(functor.__name__, test_input, test_output, result)
138 if __name__ == '__main__':
/tools/test/connectivity/acts_tests/tests/google/bt/
Drelay_tool.py156 if len(e.args) == 1 and func.__name__ in e.args[0]:
174 if __name__ == '__main__':

12345678910>>...14