Home
last modified time | relevance | path

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

12

/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/tensorflow/tensorflow/python/autograph/impl/
Dapi_test.py65 def test_method(self, x, s, a): member in ApiTest.test_decorator_recursive.TestClass
72 x = tc.test_method(
86 def test_method(self, x, s, a): member in ApiTest.test_decorator_not_recursive.TestClass
93 x = tc.test_method(
108 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert_graph.TestClass
114 x = tc.test_method(
130 def test_method(self, x, s, a): member in ApiTest.test_convert_then_do_not_convert_py_func.TestClass
140 x = tc.test_method(
157 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass
164 x = tc.test_method(
[all …]
/external/protobuf/python/google/protobuf/internal/
D_parameterized.py194 def __init__(self, test_method, testcases, naming_type): argument
208 self._test_method = test_method
219 test_method = self._test_method
223 @functools.wraps(test_method)
226 test_method(self, **testcase_params)
228 test_method(self, *testcase_params)
230 test_method(self, testcase_params)
250 if test_method.__doc__:
251 BoundParamTest.__doc__ += '\n%s' % (test_method.__doc__,)
/external/tensorflow/tensorflow/python/autograph/converters/
Dcall_trees_test.py91 def test_method(self, a): member in CallTreesTest.test_class_method.TestClass
95 with self.converted(TestClass.test_method, call_trees, {}) as result:
97 result.test_method(tc, 1))
104 def test_method(self, a): member in CallTreesTest.test_object_method.TestClass
108 with self.converted(tc.test_method, call_trees, {}) as result:
110 result.test_method(tc, 1))
Dfunction_scopes_test.py82 def test_method(self): member in FunctionBodyTransformerTest
/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/tensorflow/tensorflow/contrib/distribute/python/
Dcombinations.py130 for name, test_method in six.iteritems(class_object.__dict__.copy()):
132 isinstance(test_method, types.FunctionType)):
138 _augment_with_special_arguments(test_method),
145 test_method = _augment_with_special_arguments(test_method_or_class)
146 return parameterized.named_parameters(*named_combinations)(test_method)
151 def _augment_with_special_arguments(test_method): argument
186 requested_arguments = tf_inspect.getfullargspec(test_method).args
204 test_method(**kwargs_to_pass)
209 test_method(**kwargs_to_pass)
/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/python/autograph/pyct/
Dtransformer_test.py62 def test_method(self): member in TransformerTest.test_entity_scope_tracking.test_function.TestClass
76 test_method = test_class.body[0]
77 inner_function = test_method.body[1]
81 b = test_method.body[0]
87 self.assertEqual((test_function_node, test_class, test_method),
90 (test_function_node, test_class, test_method, inner_function),
92 self.assertEqual((test_function_node, test_class, test_method,
/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/CodeGenCXX/
Dexceptions-seh-filter-captures.cpp36 void test_method(void);
39 void S::test_method() { in test_method() function in S
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_tests.py295 def retry(test_method, instance, *args, **kwargs): argument
307 if _is_successful(_run_method(test_method, test_method.__name__,
312 logging.error('%s failed at the 1st time.', test_method.__name__)
316 logging.info('%s: retry the 2nd time.', test_method.__name__)
319 return _is_successful(_run_method(test_method, test_method.__name__,
327 logging.info('%s: retry the 2nd time.', test_method.__name__)
328 return _is_successful(_run_method(test_method, test_method.__name__,
353 def decorator(test_method): argument
361 @functools.wraps(test_method)
372 test_result = retry(test_method, instance, *args, **kwargs)
[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 …]
Dattr-no-sanitize-memory.cpp31 void test_method() NO_SANITIZE_MEMORY;
Dattr-no-sanitize-address.cpp31 void test_method() NO_SANITIZE_ADDRESS;
Dattr-no-sanitize-thread.cpp31 void test_method() NO_SANITIZE_THREAD;
/external/python/cpython3/Modules/_decimal/tests/
Ddeccheck.py782 def test_method(method, testspecs, testfunc): function
1074 test_method(method, testspecs, test_unary)
1077 test_method(method, testspecs, test_binary)
1080 test_method(method, testspecs, test_ternary)
1082 test_method('__format__', testspecs, test_format)
1083 test_method('__round__', testspecs, test_round)
1084 test_method('from_float', testspecs, test_from_float)
1085 test_method('quantize', testspecs, test_quantize_api)
1089 test_method(method, testspecs, test_unary)
1092 test_method(method, testspecs, test_binary)
[all …]
/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/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/deqp-deps/SPIRV-Tools/test/tools/
Dspirv_test_framework.py307 getattr(self.test, test_method)(test_status)
308 for test_method in get_all_test_methods(self.test.__class__)
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py307 getattr(self.test, test_method)(test_status)
308 for test_method in get_all_test_methods(self.test.__class__)
/external/python/cpython2/Lib/test/
Dtest_docxmlrpc.py35 def test_method(self, arg): member in make_server.TestClass
Dtest_tokenize.py494 def test_method(self): member in TokenizeTest
/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py35 def test_method(self, arg): member in make_server.TestClass

12