| /external/autotest/server/site_tests/bluetooth_AdapterQRHealth/ |
| D | bluetooth_AdapterQRHealth.py | 28 test_method, 77 test_method() 100 test_method = lambda: self.qr_a2dp(device, test_profile) function 102 self.run_test_method(device, test_method, test_profile) 113 test_method = lambda: self.qr_power_cycle_a2dp(device, test_profile) function 115 self.run_test_method(device, test_method, test_profile) 126 test_method = lambda: self.qr_hfp_dut_as_src(device, test_profile) function 128 self.run_test_method(device, test_method, test_profile) 139 test_method = lambda: self.qr_hfp_dut_as_src(device, test_profile) function 141 self.run_test_method(device, test_method, test_profile) [all …]
|
| /external/python/absl-py/absl/testing/ |
| D | parameterized.py | 275 def __init__(self, test_method, testcases, naming_type, original_name=None): argument 294 self._test_method = test_method 298 original_name = test_method.__name__ 311 test_method = self._test_method 315 @functools.wraps(test_method) 318 return test_method(self, **testcase_params) 320 return test_method(self, *testcase_params) 322 return test_method(self, testcase_params) 375 if test_method.__doc__: 376 bound_param_test.__doc__ += '\n%s' % (test_method.__doc__,) [all …]
|
| /external/pigweed/pw_rpc/public/pw_rpc/internal/ |
| D | test_method.h | 69 const auto& test_method = static_cast<const TestMethod&>(context.method()); in InvokeForTest() local 70 test_method.last_channel_id_ = context.channel_id(); in InvokeForTest() 71 test_method.last_request_ = request; in InvokeForTest() 72 test_method.invocations_ += 1; in InvokeForTest() 79 if (test_method.move_to_call_ != nullptr) { in InvokeForTest() 80 *test_method.move_to_call_ = std::move(fake_call); in InvokeForTest() 114 constexpr const TestMethod& test_method() const { return impl_.test; } in test_method() function
|
| /external/antlr/runtime/Python/unittests/ |
| D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
| /external/antlr/runtime/Python3/unittests/ |
| D | testbase.py | 13 def wrapper(test_method): argument 16 test_method(*args, **kwargs) 20 raise BrokenTest(test_method.__name__, reason) 21 replacement.__doc__ = test_method.__doc__ 22 replacement.__name__ = 'XXX_' + test_method.__name__
|
| /external/protobuf/benchmarks/python/ |
| D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
| /external/cronet/third_party/protobuf/python/google/protobuf/internal/ |
| D | _parameterized.py | 195 def __init__(self, test_method, testcases, naming_type): argument 209 self._test_method = test_method 220 test_method = self._test_method 224 @functools.wraps(test_method) 227 test_method(self, **testcase_params) 229 test_method(self, *testcase_params) 231 test_method(self, testcase_params) 251 if test_method.__doc__: 252 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
| /external/cronet/third_party/protobuf/benchmarks/python/ |
| D | py_benchmark.py | 109 def __init__(self, module=None, test_method=None, argument 113 self.test_method = test_method 117 def set_test_method(self, test_method): argument 118 self.test_method = test_method 122 setup_code += "from %s import %s\n" % (self.module, self.test_method) 128 return timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args), 138 t = timeit.timeit(stmt="%s(%s)" % (self.test_method, test_method_args),
|
| /external/protobuf/python/google/protobuf/internal/ |
| D | _parameterized.py | 195 def __init__(self, test_method, testcases, naming_type): argument 209 self._test_method = test_method 220 test_method = self._test_method 224 @functools.wraps(test_method) 227 test_method(self, **testcase_params) 229 test_method(self, *testcase_params) 231 test_method(self, testcase_params) 251 if test_method.__doc__: 252 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
|
| /external/tensorflow/tensorflow/python/autograph/impl/ |
| D | api_test.py | 147 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass 153 x = tc.test_method( 167 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass 173 x = tc.test_method( 188 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert.TestClass 194 x = tc.test_method( 211 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass 217 x = tc.test_method( 226 def test_method(self, a): member in ApiTest.test_decorator_preserves_argspec.TestClass 231 test_method_converted = api.convert()(test_method) [all …]
|
| /external/python/mobly/mobly/ |
| D | base_test.py | 668 def _exec_one_test_with_retry(self, test_name, test_method, max_count): argument 686 previous_record = self.exec_one_test(test_name, test_method) 695 previous_record = self.exec_one_test(retry_name, test_method, new_record) 699 def _exec_one_test_with_repeat(self, test_name, test_method, repeat_count, argument 725 record = self.exec_one_test(new_test_name, test_method) 740 def exec_one_test(self, test_name, test_method, record=None): argument 762 tr_record.uid = getattr(test_method, 'uid', None) 777 test_method() 965 test_method = getattr(self, test_name) 967 test_method = self._generated_test_table[test_name] [all …]
|
| /external/tensorflow/tensorflow/python/framework/ |
| D | test_combinations.py | 269 for name, test_method in class_object.__dict__.copy().items(): 271 isinstance(test_method, types.FunctionType)): 278 test_method, test_combinations=test_combinations), 285 test_method = _augment_with_special_arguments( 287 return parameterized.named_parameters(*named_combinations)(test_method) 292 def _augment_with_special_arguments(test_method, test_combinations): argument 317 requested_parameters = tf_inspect.getfullargspec(test_method).args 343 test_method(**kwargs_to_pass)
|
| /external/smali/examples/BracketedMemberNames/ |
| D | BracketedMemberNames.smali | 10 invoke-static {}, LBracketedMemberNames;->test_method()V 15 .method public static test_method()V 27 .method public static <test_method>()V 37 invoke-static {}, LBracketedMemberNames;-><test_method>()V
|
| /external/google-smali/examples/BracketedMemberNames/ |
| D | BracketedMemberNames.smali | 10 invoke-static {}, LBracketedMemberNames;->test_method()V 15 .method public static test_method()V 27 .method public static <test_method>()V 37 invoke-static {}, LBracketedMemberNames;-><test_method>()V
|
| /external/python/cpython3/Lib/idlelib/idle_test/ |
| D | tkinter_testing_utils.py | 30 def decorator(test_method): argument 31 @functools.wraps(test_method) 33 test_generator = test_method(self)
|
| /external/rust/crates/grpcio-sys/grpc/test/core/security/ |
| D | credentials_test.cc | 142 static const char test_method[] = "ThisIsNotAMethod"; variable 513 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_google_iam_creds() 526 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_access_token_creds() 581 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_oauth2_google_iam_composite_creds() 725 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_success() 761 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_failure() 823 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_success() 862 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_failure() 1068 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_sts_creds_success() 1115 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_sts_creds_token_file_not_found() [all …]
|
| /external/autotest/client/common_lib/cros/bluetooth/ |
| D | bluetooth_quick_tests_base.py | 151 def decorator(test_method): argument 159 @functools.wraps(test_method) 203 test_method(self) 206 test_method.__name__, str(e)) 211 test_method.__name__, str(e)) 216 test_method.__name__, str(e)) 221 test_method.__name__, str(e))
|
| /external/tensorflow/tensorflow/examples/speech_commands/ |
| D | train_test.py | 28 def requires_contrib(test_method): argument 32 test_method = unittest.skip( 34 test_method) 36 return test_method
|
| /external/tensorflow/tensorflow/python/util/ |
| D | decorator_utils_test.py | 31 def test_method(self): member in GetQualifiedNameTest 34 decorator_utils.get_qualified_name(GetQualifiedNameTest.test_method)) 100 def test_method(self): member in ValidateCallableTest 101 decorator_utils.validate_callable(self.test_method, "test")
|
| /external/autotest/server/site_tests/bluetooth_AdapterAUHealth/ |
| D | bluetooth_AdapterAUHealth.py | 31 def au_run_method(self, device, test_method, test_profile): argument 46 test_method() 146 def au_hfp_run_method(self, device, test_method, test_profile): argument 184 device, lambda: test_method(device, test_profile), test_profile) 310 def au_run_avrcp_method(self, device, test_method): argument 322 test_method(device)
|
| /external/clang/test/CodeGenCXX/ |
| D | exceptions-seh-filter-captures.cpp | 36 void test_method(void); 39 void S::test_method() { in test_method() function in S
|
| /external/tensorflow/tensorflow/python/distribute/ |
| D | combinations.py | 396 for name, test_method in six.iteritems(class_object.__dict__.copy()): 398 isinstance(test_method, types.FunctionType)): 399 setattr(class_object, name, _multi_worker_test(test_method)) 524 def _multi_worker_test(test_method): argument 559 test_method(self, **kwargs) 610 argspec = tf_inspect.getfullargspec(test_method) 616 test_method, decorator, decorator_argspec=decorator_argspec)
|
| /external/grpc-grpc/test/core/security/ |
| D | credentials_test.cc | 123 static const char test_method[] = "ThisIsNotAMethod"; variable 399 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_google_iam_creds() 412 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_access_token_creds() 459 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_oauth2_google_iam_composite_creds() 586 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_success() 615 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_compute_engine_creds_failure() 673 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_success() 704 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_refresh_token_creds_failure() 803 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_jwt_creds_success() 845 grpc_auth_metadata_context auth_md_ctx = {test_service_url, test_method, in test_jwt_creds_signing_failure() [all …]
|
| /external/clang/test/SemaCXX/ |
| D | warn-thread-safety-parsing.cpp | 123 void test_method() NO_THREAD_SAFETY_ANALYSIS; 247 void test_method() LOCKABLE; // \ 287 void test_method() SCOPED_LOCKABLE; // \ 591 void test_method() EXCLUSIVE_LOCK_FUNCTION(); 666 void test_method() SHARED_LOCK_FUNCTION(); 739 void test_method() EXCLUSIVE_TRYLOCK_FUNCTION(1); 816 void test_method() SHARED_TRYLOCK_FUNCTION(1); 882 void test_method() UNLOCK_FUNCTION(); 961 void test_method() LOCK_RETURNED(mu1); 1028 void test_method() LOCKS_EXCLUDED(mu1); [all …]
|
| /external/tensorflow/tensorflow/python/autograph/operators/ |
| D | py_builtins_test.py | 508 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_unary_call.TestSubclass 516 self.assertEqual(tc.test_method(), 21) 526 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_binary_call.TestSubclass 533 self.assertEqual(tc.test_method(), 21) 543 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_niladic_call.TestSubclass 549 self.assertEqual(tc.test_method(), 21) 559 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_caller_with_locals.TestSubclass 567 self.assertEqual(tc.test_method(1), 21) 577 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_function.TestSubclass 591 self.assertEqual(tc.test_method(1), 21) [all …]
|