Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/contrib/py2tf/impl/
Dapi_test.py49 def test_method(self, x, s, a): member in ApiTest.test_decorator_recurses.TestClass
56 x = tc.test_method(
69 def test_method(self, x, s, a): member in ApiTest.test_decorator_does_not_recurse.TestClass
76 x = tc.test_method(
90 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_converted.TestClass
97 x = tc.test_method(
113 def test_method(self, x, s, a): member in ApiTest.test_decorator_calls_decorated.TestClass
120 x = tc.test_method(
135 def test_method(self, x, s, a): member in ApiTest.test_convert_call_site_decorator.TestClass
142 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/antlr/antlr-3.4/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/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/python/util/
Ddecorator_utils_test.py35 def test_method(self): member in GetQualifiedNameTest
38 decorator_utils.get_qualified_name(GetQualifiedNameTest.test_method))
103 def test_method(self): member in ValidateCallableTest
104 decorator_utils.validate_callable(self.test_method, "test")
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_tests.py292 def retry(test_method, instance, *args, **kwargs): argument
304 if _is_successful(_run_method(test_method, test_method.__name__,
309 logging.error('%s failed at the 1st time.', test_method.__name__)
313 logging.info('%s: retry the 2nd time.', test_method.__name__)
316 return _is_successful(_run_method(test_method, test_method.__name__,
324 logging.info('%s: retry the 2nd time.', test_method.__name__)
325 return _is_successful(_run_method(test_method, test_method.__name__,
350 def decorator(test_method): argument
358 @functools.wraps(test_method)
369 test_result = retry(test_method, instance, *args, **kwargs)
[all …]
/external/autotest/server/site_tests/cheets_CTS_N/
Dcheets_CTS_N.py52 test_method=None): argument
78 if test_method is not None:
79 cmd += ['-t', test_class + '#' + test_method]
180 test_method=target_method,
/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-address.cpp31 void test_method() NO_SANITIZE_ADDRESS;
Dattr-no-sanitize-memory.cpp31 void test_method() NO_SANITIZE_MEMORY;
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/clang/test/CodeGenCXX/
Dexceptions-seh-filter-captures.cpp36 void test_method(void);
39 void S::test_method() { in test_method() function in S
/external/antlr/antlr-3.4/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/python/cpython2/Lib/test/
Dtest_docxmlrpc.py35 def test_method(self, arg): member in make_server.TestClass
Dtest_tokenize.py472 def test_method(self): member in TokenizeTest
Dtest_repr.py297 def test_method(self): member in LongReprTest
Dtest_gc.py117 def test_method(self): member in GCTests
Dtest_socket.py133 test_method = getattr(self, '_' + methodname)
135 self.clientRun, (test_method,))
Dtest_urllib2.py1329 def test_method(self): member in RequestTests
/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py35 def test_method(self, arg): member in make_server.TestClass
Dtest_reprlib.py327 def test_method(self): member in LongReprTest
Dtest_gc.py146 def test_method(self): member in GCTests
Dtest_urllib2.py1839 def test_method(self): member in RequestTests
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py456 def test_method(other_self): member in PatchTest.test_patchobject_class_decorator.Foo
466 f.test_method()
478 def test_method(other_self, mock_something): member in PatchTest.test_patch_class_decorator.Foo
487 f.test_method()

12