Home
last modified time | relevance | path

Searched refs:test_method (Results 1 – 25 of 58) sorted by relevance

123

/external/antlr/runtime/Python/unittests/
Dtestbase.py13 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/
Dtestbase.py13 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/
Dpy_benchmark.py109 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.py200 def __init__(self, test_method, testcases, naming_type): argument
214 self._test_method = test_method
225 test_method = self._test_method
229 @functools.wraps(test_method)
232 test_method(self, **testcase_params)
234 test_method(self, *testcase_params)
236 test_method(self, testcase_params)
256 if test_method.__doc__:
257 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi_test.py149 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass
155 x = tc.test_method(
169 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass
175 x = tc.test_method(
190 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert.TestClass
196 x = tc.test_method(
213 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass
219 x = tc.test_method(
228 def test_method(self, a): member in ApiTest.test_decorator_preserves_argspec.TestClass
233 test_method_converted = api.convert()(test_method)
[all …]
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dtest_method.h45 const auto& test_method = static_cast<const TestMethod&>(method); in InvokeForTest() local
46 test_method.last_channel_id_ = call.channel().id(); in InvokeForTest()
47 test_method.last_request_ = request; in InvokeForTest()
65 constexpr const TestMethod& test_method() const { return impl_.test; } in test_method() function
/external/tensorflow/tensorflow/python/framework/
Dtest_combinations.py275 for name, test_method in six.iteritems(class_object.__dict__.copy()):
277 isinstance(test_method, types.FunctionType)):
284 test_method, test_combinations=test_combinations),
291 test_method = _augment_with_special_arguments(
293 return parameterized.named_parameters(*named_combinations)(test_method)
298 def _augment_with_special_arguments(test_method, test_combinations): argument
323 requested_parameters = tf_inspect.getfullargspec(test_method).args
349 test_method(**kwargs_to_pass)
/external/smali/examples/BracketedMemberNames/
DBracketedMemberNames.smali10 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/autotest/server/site_tests/bluetooth_AdapterAUHealth/
Dbluetooth_AdapterAUHealth.py26 def au_run_method(self, device, test_method, test_profile): argument
41 test_method()
85 def au_hfp_run_method(self, device, test_method, test_profile): argument
123 device, lambda: test_method(device, test_profile), test_profile)
197 def au_run_avrcp_method(self, device, test_method): argument
209 test_method(device)
/external/tensorflow/tensorflow/python/util/
Ddecorator_utils_test.py35 def test_method(self): member in GetQualifiedNameTest
38 decorator_utils.get_qualified_name(GetQualifiedNameTest.test_method))
104 def test_method(self): member in ValidateCallableTest
105 decorator_utils.validate_callable(self.test_method, "test")
/external/tensorflow/tensorflow/examples/speech_commands/
Dtrain_test.py32 def requires_contrib(test_method): argument
36 test_method = unittest.skip(
38 test_method)
40 return test_method
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dcredentials_test.cc142 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/tensorflow/tensorflow/python/distribute/
Dcombinations.py359 for name, test_method in six.iteritems(class_object.__dict__.copy()):
361 isinstance(test_method, types.FunctionType)):
362 setattr(class_object, name, _multi_worker_test(test_method))
466 def _multi_worker_test(test_method): argument
496 test_method(self, **kwargs)
541 argspec = tf_inspect.getfullargspec(test_method)
545 test_method, decorator, decorator_argspec=decorator_argspec)
/external/llvm-project/clang/test/CodeGenCXX/
Dexceptions-seh-filter-captures.cpp35 void test_method(void);
38 void S::test_method() { in test_method() function in S
/external/clang/test/CodeGenCXX/
Dexceptions-seh-filter-captures.cpp36 void test_method(void);
39 void S::test_method() { in test_method() function in S
/external/grpc-grpc/test/core/security/
Dcredentials_test.cc123 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/
Dwarn-thread-safety-parsing.cpp123 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/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp125 void test_method() NO_THREAD_SAFETY_ANALYSIS;
249 void test_method() LOCKABLE; // \
289 void test_method() SCOPED_LOCKABLE; // \
594 void test_method() EXCLUSIVE_LOCK_FUNCTION(); // \
670 void test_method() SHARED_LOCK_FUNCTION(); // \
746 void test_method() EXCLUSIVE_TRYLOCK_FUNCTION(1); // \
827 void test_method() SHARED_TRYLOCK_FUNCTION(1); // \
898 void test_method() UNLOCK_FUNCTION(); // \
978 void test_method() LOCK_RETURNED(mu1);
1045 void test_method() LOCKS_EXCLUDED(mu1);
[all …]
/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins_test.py467 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_unary_call.TestSubclass
475 self.assertEqual(tc.test_method(), 21)
485 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_binary_call.TestSubclass
492 self.assertEqual(tc.test_method(), 21)
502 def test_method(self): member in PyBuiltinsTest.test_super_in_original_context_niladic_call.TestSubclass
508 self.assertEqual(tc.test_method(), 21)
518 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_caller_with_locals.TestSubclass
526 self.assertEqual(tc.test_method(1), 21)
536 def test_method(self, x): member in PyBuiltinsTest.test_super_in_original_context_inner_function.TestSubclass
550 self.assertEqual(tc.test_method(1), 21)
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py240 def test_method(self, a): member in CallTreesTest.test_class_method.TestClass
244 tr, mock = self._transform_with_mock(TestClass.test_method)
256 def test_method(self, a): member in CallTreesTest.test_object_method.TestClass
260 tr, mock = self._transform_with_mock(tc.test_method)
/external/antlr/runtime/Python/tests/
Dtestbase.py45 def wrapper(test_method): argument
48 test_method(*args, **kwargs)
52 raise BrokenTest(test_method.__name__, reason)
53 replacement.__doc__ = test_method.__doc__
54 replacement.__name__ = 'XXX_' + test_method.__name__
/external/antlr/runtime/Python3/tests/
Dtestbase.py46 def wrapper(test_method): argument
49 test_method(*args, **kwargs)
53 raise BrokenTest(test_method.__name__, reason)
54 replacement.__doc__ = test_method.__doc__
55 replacement.__name__ = 'XXX_' + test_method.__name__
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Dtest_result.py144 test_method = getattr(test, test._testMethodName)
145 if test_method is not None and hasattr(test_method, "categories"):
146 test_categories.extend(test_method.categories)
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py926 def test_method(method, testspecs, testfunc): function
1251 do_single(method, lambda: test_method(method, testspecs, test_unary))
1254 do_single(method, lambda: test_method(method, testspecs, test_binary))
1258 do_single(name, lambda: test_method(method, testspecs, test_ternary))
1260 do_single('__format__', lambda: test_method('__format__', testspecs, test_format))
1261 do_single('__round__', lambda: test_method('__round__', testspecs, test_round))
1262 do_single('from_float', lambda: test_method('from_float', testspecs, test_from_float))
1263 do_single('quantize_api', lambda: test_method('quantize', testspecs, test_quantize_api))
1267 do_single(method, lambda: test_method(method, testspecs, test_unary))
1270 do_single(method, lambda: test_method(method, testspecs, test_binary))
[all …]
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_quick_tests.py241 def decorator(test_method): argument
282 @functools.wraps(test_method)
314 test_method(self)
317 test_method.__name__, str(e)))
321 test_method.__name__, str(e)))
326 test_method.__name__, str(e)))

123