Home
last modified time | relevance | path

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

/third_party/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__,)
/third_party/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),
/third_party/python/Lib/idlelib/idle_test/
Dtkinter_testing_utils.py30 def decorator(test_method): argument
31 @functools.wraps(test_method)
33 test_generator = test_method(self)
/third_party/python/Modules/_decimal/tests/
Ddeccheck.py930 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework.py326 getattr(self.test, test_method)(test_status)
327 for test_method in get_all_test_methods(self.test.__class__)
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dspirv_test_framework.py326 getattr(self.test, test_method)(test_status)
327 for test_method in get_all_test_methods(self.test.__class__)
/third_party/spirv-tools/test/tools/
Dspirv_test_framework.py326 getattr(self.test, test_method)(test_status)
327 for test_method in get_all_test_methods(self.test.__class__)
/third_party/python/Lib/test/
Dtest_docxmlrpc.py35 def test_method(self, arg): member in make_server.TestClass
Dtest_reprlib.py328 def test_method(self): member in LongReprTest
Dtest_gc.py159 def test_method(self): member in GCTests
Dtest_functools.py1739 def test_method(self, x): member in TestLRU.test_lru_cache_weakrefable.A
1748 weakref.ref(A.test_method),
Dtest_urllib2.py1894 def test_method(self): member in RequestTests
Dtest_socket.py358 test_method = getattr(self, '_' + methodname)
360 self.clientRun, (test_method,))
/third_party/python/Lib/unittest/test/testmock/
Dtestpatch.py451 def test_method(other_self): member in PatchTest.test_patchobject_class_decorator.Foo
461 f.test_method()
476 def test_method(other_self, mock_something): member in PatchTest.test_patch_class_decorator.Foo
485 f.test_method()
/third_party/python/Doc/library/
Dunittest.rst165 python -m unittest test_module.TestClass.test_method