/dports/www/mediawiki136/mediawiki-1.36.3/extensions/Scribunto/tests/phpunit/engines/LuaCommon/ |
H A D | LanguageLibraryTests.lua | 16 local function test_method( func, ... ) function 162 { name = 'lang:getCode', func = test_method, 182 { name = 'lang:isRTL', func = test_method, 192 { name = 'lang:lc', func = test_method, 202 { name = 'lang:lcfirst', func = test_method, 212 { name = 'lang:uc', func = test_method, 222 { name = 'lang:ucfirst', func = test_method, 232 { name = 'lang:caseFold', func = test_method, 242 { name = 'lang:formatNum', func = test_method, 282 { name = 'lang:formatDate', func = test_method, [all …]
|
/dports/www/mediawiki137/mediawiki-1.37.1/extensions/Scribunto/tests/phpunit/engines/LuaCommon/ |
H A D | LanguageLibraryTests.lua | 16 local function test_method( func, ... ) function 162 { name = 'lang:getCode', func = test_method, 182 { name = 'lang:isRTL', func = test_method, 192 { name = 'lang:lc', func = test_method, 202 { name = 'lang:lcfirst', func = test_method, 212 { name = 'lang:uc', func = test_method, 222 { name = 'lang:ucfirst', func = test_method, 232 { name = 'lang:caseFold', func = test_method, 242 { name = 'lang:formatNum', func = test_method, 282 { name = 'lang:formatDate', func = test_method, [all …]
|
/dports/www/mediawiki135/mediawiki-1.35.5/extensions/Scribunto/tests/phpunit/engines/LuaCommon/ |
H A D | LanguageLibraryTests.lua | 16 local function test_method( func, ... ) function 162 { name = 'lang:getCode', func = test_method, 182 { name = 'lang:isRTL', func = test_method, 192 { name = 'lang:lc', func = test_method, 202 { name = 'lang:lcfirst', func = test_method, 212 { name = 'lang:uc', func = test_method, 222 { name = 'lang:ucfirst', func = test_method, 232 { name = 'lang:caseFold', func = test_method, 242 { name = 'lang:formatNum', func = test_method, 252 { name = 'lang:formatDate', func = test_method, [all …]
|
/dports/devel/py-openstacksdk/openstacksdk-0.60.0/openstack/tests/unit/ |
H A D | test_proxy_base.py | 24 self, mock_method, test_method, *, argument 80 self, test_method, resource_type, base_path=None, *, argument 97 test_method, 119 test_method, 143 test_method, 174 test_method, 196 test_method, 224 test_method, 249 test_method, 257 self, test_method, argument [all …]
|
/dports/devel/py-genty/genty-1.3.2/genty/ |
H A D | genty_dataset.py | 36 def wrap(test_method): argument 39 if not hasattr(test_method, 'genty_dataproviders'): 40 test_method.genty_dataproviders = [] 42 test_method.genty_dataproviders.append( 46 return test_method 139 def wrap(test_method): argument 142 if not hasattr(test_method, 'genty_datasets'): 143 test_method.genty_datasets = OrderedDict() 145 test_method.genty_datasets.update(datasets) 147 return test_method
|
/dports/lang/parrot/parrot-8.1.0/t/pmc/ |
H A D | float.t | 1025 test_method('cos', 0.0, 1.0) 1030 test_method('asec', 1.0, 0.0) 1035 test_method('asin', 0.0, 0.0) 1040 test_method('atan', 0.0, 0.0) 1056 test_method('cosh', 0.0, 1.0) 1061 test_method('exp', 0.0, 1.0) 1066 test_method('ln', 1.0, 0.0) 1082 test_method('sec', 0.0, 1.0) 1092 test_method('sech', 0.0, 1.0) 1097 test_method('sin', 0.0, 0.0) [all …]
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/solvers/tests/checks/ |
H A D | test_pickle.py | 160 test_method = create_test_method(model, solver, io, value, True) variable 161 if test_method is not None: 162 test_method = unittest.category('smoke','nightly',solver)(test_method) variable 163 setattr(cls, test_name, test_method) 164 test_method = None variable 168 test_method = create_test_method(model, solver, io, value, False) variable 169 if test_method is not None: 170 test_method = unittest.category('smoke','nightly',solver)(test_method) variable 171 setattr(cls, test_name, test_method) 172 test_method = None variable
|
H A D | test_writers.py | 177 test_method = create_test_method(model, solver, io, value, True) variable 178 if test_method is not None: 179 test_method = unittest.category('smoke','nightly',solver)(test_method) variable 180 setattr(cls, test_name, test_method) 181 test_method = None variable 185 test_method = create_test_method(model, solver, io, value, False) variable 186 if test_method is not None: 187 test_method = unittest.category('smoke','nightly',solver)(test_method) variable 188 setattr(cls, test_name, test_method) 189 test_method = None variable
|
/dports/x11-fonts/py-glyphsLib/glyphsLib-3.1.4/tests/ |
H A D | run_various_tests_on_various_files.py | 34 def test_method(self, filename=filename): function 44 test_method.__name__ = test_name 45 setattr(cls, test_name, test_method) 56 def test_method(self, filename=filename): function 68 test_method.__name__ = test_name 69 setattr(cls, test_name, test_method) 80 def test_method(self, filename=filename): function 89 test_method.__name__ = test_name 90 setattr(cls, test_name, test_method)
|
/dports/devel/p5-Test-Mini/Test-Mini-v1.1.3/t/ |
H A D | 01-Test-Mini.t | 36 *{'Mock::TestCase::test_method'} = sub { $tests_called++ }; 40 is $tests_called, 1, 'test_method called'; 51 *{'Mock::TestCase::test_method'} = sub { 58 is $tests_called, 1, 'test_method called'; 69 *{'Mock::TestCase::test_method'} = sub { 76 is $tests_called, 1, 'test_method called'; 87 *{'Mock::TestCase::test_method'} = sub { 94 is $tests_called, 1, 'test_method called'; 105 *{'Mock::TestCase::test_method'} = sub { 113 is $tests_called, 1, 'test_method called';
|
/dports/www/p5-HTML-Tree/HTML-Tree-5.07/t/ |
H A D | parents.t | 30 sub test_method { 84 test_method( 89 test_method( 94 test_method( 100 test_method( preinsert => $base_tree, '0.1.5', [ p => 'P5.5' ] ); 102 test_method( postinsert => $base_tree, '0.1.3', [ p => 'P4.5' ] );
|
/dports/devel/py-absl/absl-py-0.7.1/absl/testing/ |
H A D | parameterized.py | 218 def __init__(self, test_method, testcases, naming_type, original_name=None): argument 237 self._test_method = test_method 241 original_name = test_method.__name__ 254 test_method = self._test_method 259 @functools.wraps(test_method) 262 test_method(self, **testcase_params) 264 test_method(self, *testcase_params) 266 test_method(self, testcase_params) 318 if test_method.__doc__: 319 bound_param_test.__doc__ += '\n%s' % (test_method.__doc__,) [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/src/tests/utils/ |
H A D | auto_parameterized.hpp | 35 { void test_method(const type_name&); }; \ 42 t.test_method(param_name); \ 54 void test_name::test_method(const type_name& param_name) \ 59 { void test_method(const type_name&); }; \ 66 t.test_method(param_name); \ 76 void test_name::test_method(const type_name& param_name) \
|
/dports/www/yt-dlp/yt-dlp-2021.12.27/test/ |
H A D | test_download.py | 269 test_method = generator(test_case, tname) variable 270 test_method.__name__ = str(tname) 272 test_method.add_ie = ie_list and ','.join(ie_list) 273 setattr(TestDownload, test_method.__name__, test_method) 274 del test_method 287 test_method = batch_generator(name, num_tests) variable 288 test_method.__name__ = f'test_{name}_all' 289 test_method.add_ie = '' 290 setattr(TestDownload, test_method.__name__, test_method) 291 del test_method
|
/dports/devel/py-absl-py/absl-py-0.15.0/absl/testing/ |
H A D | parameterized.py | 290 self._test_method = test_method 294 original_name = test_method.__name__ 307 test_method = self._test_method 311 @functools.wraps(test_method) 314 return test_method(self, **testcase_params) 316 return test_method(self, *testcase_params) 318 return test_method(self, testcase_params) 370 if test_method.__doc__: 371 bound_param_test.__doc__ += '\n%s' % (test_method.__doc__,) 373 _parameterized_async.iscoroutinefunction(test_method)): [all …]
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/google/protobuf/internal/ |
H A D | _parameterized.py | 200 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__,)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/swarming_client/third_party/google/protobuf/internal/ |
H A D | _parameterized.py | 200 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__,)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/python/google/protobuf/internal/ |
H A D | _parameterized.py | 200 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__,)
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/benchmarks/python/ |
H A 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),
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gae_ts_mon/gae_ts_mon/protobuf/google/protobuf/internal/ |
H A D | _parameterized.py | 194 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__,)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/benchmarks/python/ |
H A 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),
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/python/google/protobuf/internal/ |
H A D | _parameterized.py | 200 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__,)
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/test/doc/examples/ |
H A D | example08.run-fail.cpp | 20 void test_method( double d ) in test_method() function in test_class 30 boost::function<void (double)> test_method = bind( &test_class::test_method, &tester, _1); in init_unit_test() local 33 add( BOOST_PARAM_TEST_CASE( test_method, params, params+5 ) ); in init_unit_test()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/test/doc/examples/ |
H A D | example08.run-fail.cpp | 20 void test_method( double d ) in test_method() function in test_class 30 boost::function<void (double)> test_method = bind( &test_class::test_method, &tester, _1); in init_unit_test() local 33 add( BOOST_PARAM_TEST_CASE( test_method, params, params+5 ) ); in init_unit_test()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/test/doc/examples/ |
H A D | example08.run-fail.cpp | 20 void test_method( double d ) in test_method() function in test_class 30 boost::function<void (double)> test_method = bind( &test_class::test_method, &tester, _1); in init_unit_test() local 33 add( BOOST_PARAM_TEST_CASE( test_method, params, params+5 ) ); in init_unit_test()
|