Home
last modified time | relevance | path

Searched refs:_test (Results 1 - 25 of 51) sorted by relevance

123

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatRoundTripTest.java55 _test(fmt); in TestNumberFormatRoundTrip()
59 _test(fmt); in TestNumberFormatRoundTrip()
63 _test(fmt); in TestNumberFormatRoundTrip()
77 _test(fmt); in TestNumberFormatRoundTrip()
80 _test(fmt); in TestNumberFormatRoundTrip()
83 _test(fmt); in TestNumberFormatRoundTrip()
100 private void _test(NumberFormat fmt) { in _test() method in NumberFormatRoundTripTest
102 _test(fmt, Double.NaN); in _test()
103 _test(fmt, Double.POSITIVE_INFINITY); in _test()
104 _test(fm in _test()
152 private void _test(NumberFormat fmt, double value) { _test() method in NumberFormatRoundTripTest
156 private void _test(NumberFormat fmt, long value) { _test() method in NumberFormatRoundTripTest
160 private void _test(NumberFormat fmt, Number value) { _test() method in NumberFormatRoundTripTest
[all...]
H A DDateFormatRoundTripTest.java74 _test(loc); in TestDateFormatRoundTrip()
77 _test(Locale.getDefault()); in TestDateFormatRoundTrip()
79 _test(avail[i]); in TestDateFormatRoundTrip()
99 private void _test(Locale loc) { in _test() method in DateFormatRoundTripTest
127 _test(df, false); in _test()
135 _test(df, true); in _test()
144 _test(df, false); in _test()
150 private void _test(DateFormat fmt, boolean timeOnly) { in _test() method in DateFormatRoundTripTest
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatRoundTripTest.java52 _test(fmt); in TestNumberFormatRoundTrip()
56 _test(fmt); in TestNumberFormatRoundTrip()
60 _test(fmt); in TestNumberFormatRoundTrip()
74 _test(fmt); in TestNumberFormatRoundTrip()
77 _test(fmt); in TestNumberFormatRoundTrip()
80 _test(fmt); in TestNumberFormatRoundTrip()
97 private void _test(NumberFormat fmt) { in _test() method in NumberFormatRoundTripTest
99 _test(fmt, Double.NaN); in _test()
100 _test(fmt, Double.POSITIVE_INFINITY); in _test()
101 _test(fm in _test()
149 private void _test(NumberFormat fmt, double value) { _test() method in NumberFormatRoundTripTest
153 private void _test(NumberFormat fmt, long value) { _test() method in NumberFormatRoundTripTest
157 private void _test(NumberFormat fmt, Number value) { _test() method in NumberFormatRoundTripTest
[all...]
H A DDateFormatRoundTripTest.java71 _test(loc); in TestDateFormatRoundTrip()
74 _test(Locale.getDefault()); in TestDateFormatRoundTrip()
76 _test(avail[i]); in TestDateFormatRoundTrip()
96 private void _test(Locale loc) { in _test() method in DateFormatRoundTripTest
124 _test(df, false); in _test()
132 _test(df, true); in _test()
141 _test(df, false); in _test()
147 private void _test(DateFormat fmt, boolean timeOnly) { in _test() method in DateFormatRoundTripTest
/third_party/python/Lib/test/test_email/
H A Dtest__encoded_words.py9 def _test(self, source, ex_result, ex_defects=[]): member in TestDecodeQ
15 self._test(b'foobar', b'foobar')
18 self._test(b'foo=20bar=20', b'foo bar ')
19 self._test(b'foo_bar_', b'foo bar ')
22 self._test(b'foo=20=20=21=2Cbar', b'foo !,bar')
27 def _test(self, source, ex_result, ex_defects=[]): member in TestDecodeB
33 self._test(b'Zm9v', b'foo')
37 self._test(b'dmk', b'vi', [errors.InvalidBase64PaddingDefect])
39 self._test(b'dg', b'v', [errors.InvalidBase64PaddingDefect])
42 self._test(
64 def _test(self, source, result, charset='us-ascii', lang='', defects=[]): global() member in TestDecode
148 def _test(self, src, expected): global() member in TestEncodeQ
[all...]
H A Dtest__header_value_parser.py2883 def _test(self, tl, folded, policy=policy): member in TestFolding
2887 self._test(parser.get_unstructured("This is a test"),
2891 self._test(parser.get_unstructured("This is also a test, but this "
2899 self._test(parser.get_unstructured("hübsch kleiner beißt"),
2903 self._test(parser.get_unstructured("Mein kleiner Kaktus ist sehr "
2911 self._test(parser.get_unstructured("Mein Kaktus ist hübsch. "
2921 self._test(parser.get_address_list("abc <xyz@example.com>")[0],
2925 self._test(parser.get_address_list('abc <xyz@example.com>, '
2936 self._test(parser.get_address_list(
2943 self._test(parse
[all...]
/third_party/ltp/testcases/kernel/syscalls/membarrier/
H A Dmembarrier01.c213 #define passed_ok(_test) \
215 tst_res(TPASS, "membarrier(2): %s passed", _test.testname); \
219 #define passed_unexpec(_test) \
223 _test.testname, _test.exp_ret, _test.exp_errno, \
224 _test.force); \
228 #define failed_ok(_test) \
231 _test.testname); \
235 #define failed_ok_unsupported(_test) \
[all...]
/third_party/python/Lib/test/
H A Dtest_webbrowser.py29 def _test(self, meth, *, args=[URL], kw={}, options, arguments): member in CommandTestMixin
58 self._test('open',
68 self._test('open',
78 self._test('open',
83 self._test('open', kw=dict(autoraise=False),
88 self._test('open_new',
93 self._test('open_new_tab',
103 self._test('open',
108 self._test('open', kw=dict(autoraise=False),
113 self._test('open_ne
[all...]
H A Dtest_clinic.py112 def _test(self, l, m, r, output): member in ClinicGroupPermuterTest
117 self._test([['start']], ['stop'], [['step']],
125 self._test([['x', 'y']], ['ch'], [['attr']],
134 self._test([['a1', 'a2', 'a3'], ['b1', 'b2']], ['c1'], [['d1', 'd2'], ['e1', 'e2', 'e3']],
145 self._test([], [], [['a'],['b'],['c']],
160 def _test(self, input, output, **kwargs): member in ClinicLinearFormatTest
165 self._test('', '')
168 self._test('\n', '\n')
171 self._test("""
178 self._test("""
227 def _test(self, input, output): global() member in ClinicBlockParserTest
[all...]
/third_party/node/deps/v8/tools/testrunner/testproc/
H A Dsequence_test.py64 def _test(self, tests, batch_size, max_heavy): member in TestSequenceProc
97 self._test([], 1, 1)
100 self._test([
107 self._test([
114 self._test([
121 self._test([
128 self._test([
136 self._test([
144 self._test([
155 self._test([
[all...]
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Dlibcgroup_freezer93 mkdir -p $TMP/${cgroup_subsys}_test > /dev/null 2>&1
99 if [ ! -d $TMP/${cgroup_subsys}_test ]; then
105 mount -t cgroup -o${cgroup_subsys} test_cgroup_${cgroup_subsys} $TMP/${cgroup_subsys}_test
110 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null
115 cd $TMP/${cgroup_subsys}_test > /dev/null 2>&1
120 umount $TMP/${cgroup_subsys}_test || umount -l $TMP/${cgroup_subsys}_test || tst_brkm TBROK "Failed to unmount cgroup filesystem with ${cgroup_subsys} subsystem"
121 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null
145 umount $TMP/${cgroup_subsys}_test > /dev/null 2>&1 \
146 || umount -l $TMP/${cgroup_subsys}_test || \
[all...]
/third_party/node/deps/npm/test/fixtures/
H A Dsandbox.js35 const _test = Symbol('sandbox.test')
62 this[_test] = test
254 const definitions = this[_test].mock('@npmcli/config/lib/definitions')
255 const Npm = this[_test].mock('../../lib/npm.js', {
307 const definitions = this[_test].mock('@npmcli/config/lib/definitions')
308 const Npm = this[_test].mock('../../lib/npm.js', {
/third_party/python/Lib/tkinter/
H A Ddialog.py27 def _test(): function
44 'command': _test,
H A D__main__.py6 from . import _test as main
/third_party/googletest/googletest/include/gtest/hwext/
H A Dgtest-multithread.h101 MultiThreadTest _test(g_thread_count); \
102 _test.runTask(_test.m_threadNum, hook, this->test_info_->test_case_name(), this->test_info_->name()); \
/third_party/ltp/
H A DMakefile188 define _test macro
196 $(call _test)
203 $(call _test,-c)
209 $(call _test,-s)
/third_party/python/Tools/demo/
H A Deiffel.py102 self._test(EiffelMetaClass1)
105 self._test(EiffelMetaClass2)
107 def _test(self, metaclass): member in Tests
/third_party/python/Lib/test/test_asyncio/
H A Dfunctional.py182 self._test = test
188 self._test._abort_socket_test(ex)
209 self._test = test
262 self._test._abort_socket_test(ex)
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
H A DUnicodeSetBoilerplateTest.java31 _test(); in test()
H A DStringBoilerplateTest.java29 _test(); in test()
H A DUnicodeMapBoilerplateTest.java33 _test(); in test()
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DUnicodeSetBoilerplateTest.java28 _test(); in test()
H A DStringBoilerplateTest.java26 _test(); in test()
H A DUnicodeMapBoilerplateTest.java30 _test(); in test()
/third_party/python/Lib/xml/sax/
H A Dxmlreader.py374 def _test(): function
380 _test()

Completed in 13 milliseconds

123