Home
last modified time | relevance | path

Searched refs:_test (Results 1 – 25 of 233) sorted by relevance

12345678910

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
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(fmt, Double.NEGATIVE_INFINITY); in _test()
[all …]
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
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
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(fmt, Double.NEGATIVE_INFINITY); in _test()
[all …]
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
/external/python/cpython3/Lib/test/test_email/
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(b'dm\x01k===', b'vi', [errors.InvalidBase64CharactersDefect])
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddecode_csv_op_test.py33 def _test(self, args, expected_out=None, expected_err_re=None): member in DecodeCSVOpTest
56 self._test(args, expected_out)
66 self._test(args, expected_out)
81 self._test(args)
92 self._test(args, expected_out)
99 self._test(args, expected_out)
105 self._test(args, expected_out)
115 self._test(args, expected_out)
125 self._test(args, expected_out)
135 self._test(args, expected_out)
[all …]
Dpool_test.py148 def _test(self, input_shape, **kwargs): member in PoolingTest
161 self._test(
177 self._test(
187 self._test(
203 self._test(
213 self._test(
230 self._test(
240 self._test(
253 self._test(
261 self._test(
[all …]
Dstring_to_number_op_test.py32 def _test(self, tf_type, good_pairs, bad_pairs): member in StringToNumberOpTest
51 self._test(dtypes.float32,
65 self._test(dtypes.float64,
79 self._test(dtypes.int32,
93 self._test(dtypes.int64,
Dparse_single_example_op_test.py92 def _test(self, kwargs, expected_values=None, expected_err=None): member in ParseExampleTest
147 self._test({
184 self._test(
193 self._test(
208 self._test(
225 self._test(
273 self._test({
317 self._test({
352 self._test({
405 self._test({
[all …]
Dparsing_ops_test.py92 def _test(self, kwargs, expected_values=None, expected_err=None): member in ParseExampleTest
147 self._test({
184 self._test(
195 self._test(
218 self._test(
238 self._test(
285 self._test({
329 self._test({
369 self._test({
423 self._test({
[all …]
/external/python/uritemplates/tests/
Dtest_from_fixtures.py31 def _test(self, testname): member in FixtureMixin
44 self._test('Level 1 Examples')
48 self._test('Level 2 Examples')
52 self._test('Level 3 Examples')
56 self._test('Level 4 Examples')
64 self._test('3.2.1 Variable Expansion')
68 self._test('3.2.2 Simple String Expansion')
72 self._test('3.2.3 Reserved Expansion')
76 self._test('3.2.4 Fragment Expansion')
80 self._test('3.2.5 Label Expansion with Dot-Prefix')
[all …]
/external/ltp/testcases/kernel/syscalls/membarrier/
Dmembarrier01.c213 #define passed_ok(_test) \ argument
215 tst_res(TPASS, "membarrier(2): %s passed", _test.testname); \
219 #define passed_unexpec(_test) \ argument
223 _test.testname, _test.exp_ret, _test.exp_errno, \
224 _test.force); \
228 #define failed_ok(_test) \ argument
231 _test.testname); \
235 #define failed_ok_unsupported(_test) \ argument
238 "(unsupported)", _test.testname); \
242 #define failed_not_ok(_test, _gotret, _goterr) \ argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_webbrowser.py25 def _test(self, meth, *, args=[URL], kw={}, options, arguments): member in CommandTestMixin
54 self._test('open',
64 self._test('open',
74 self._test('open',
79 self._test('open', kw=dict(autoraise=False),
84 self._test('open_new',
89 self._test('open_new_tab',
99 self._test('open',
104 self._test('open', kw=dict(autoraise=False),
109 self._test('open_new',
[all …]
Dtest_clinic.py118 def _test(self, l, m, r, output): member in ClinicGroupPermuterTest
123 self._test([['start']], ['stop'], [['step']],
131 self._test([['x', 'y']], ['ch'], [['attr']],
140 self._test([['a1', 'a2', 'a3'], ['b1', 'b2']], ['c1'], [['d1', 'd2'], ['e1', 'e2', 'e3']],
151 self._test([], [], [['a'],['b'],['c']],
166 def _test(self, input, output, **kwargs): member in ClinicLinearFormatTest
171 self._test('', '')
174 self._test('\n', '\n')
177 self._test("""
184 self._test("""
[all …]
/external/ltp/testcases/kernel/controllers/freezer/
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 "Faile…
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 || \
158 rmdir $TMP/${cgroup_subsys}_test
[all …]
/external/autotest/site_utils/sponge_lib/
Dautotest_job_info.py131 self._test = test
140 return self._test.testname
145 return self._test.status
150 return time_utils.to_utc_timestamp(self._test.started_time)
155 return time_utils.to_utc_timestamp(self._test.finished_time)
160 return self._test.subdir
165 return getattr(self._test, 'attributes', {})
170 return getattr(self._test, 'reason', None)
/external/swiftshader/third_party/LLVM/utils/lit/lit/
DLitTestCase.py14 self._test = test
18 return self._test.getFullName()
21 return self._test.getFullName()
24 tr, output = self._test.config.test_format.execute(
25 self._test, self._lit_config)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/
DLitTestCase.py16 self._test = test
20 return self._test.getFullName()
23 return self._test.getFullName()
27 self._run.execute_test(self._test)
30 result = self._test.result
/external/llvm/utils/lit/lit/
DLitTestCase.py16 self._test = test
20 return self._test.getFullName()
23 return self._test.getFullName()
27 self._run.execute_test(self._test)
30 result = self._test.result
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_tests.cmake147 "${tensorflow_source_dir}/tensorflow/contrib/rnn/python/kernel_tests/*_test.py"
154 "${tensorflow_source_dir}/tensorflow/python/debug/cli/*_test.py"
155 "${tensorflow_source_dir}/tensorflow/python/debug/lib/*_test.py"
156 "${tensorflow_source_dir}/tensorflow/python/debug/wrappers/*_test.py"
157 "${tensorflow_source_dir}/tensorflow/contrib/estimator/python/estimator/*_test.py"
162 "${tensorflow_source_dir}/tensorflow/python/profiler/*_test.py"
163 "${tensorflow_source_dir}/tensorflow/python/profiler/internal/*_test.py"
164 "${tensorflow_source_dir}/tensorflow/python/saved_model/*_test.py"
165 "${tensorflow_source_dir}/tensorflow/python/training/*_test.py"
166 "${tensorflow_source_dir}/tensorflow/contrib/coder/*_test.py"
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py66 def _test(self, member in ParseExampleDatasetTest
134 self._test(
172 self._test(
179 self._test(
197 self._test(
208 self._test(
246 self._test(
284 self._test(
320 self._test(
367 self._test(
[all …]
/external/cn-cbor/test/
DCMakeLists.txt12 add_executable ( ${name}_test ${name}_test.c )
13 target_link_libraries ( ${name}_test PRIVATE cn-cbor )
14 target_include_directories ( ${name}_test PRIVATE ../include )
15 add_test ( NAME ${name} COMMAND ${name}_test )
/external/testng/src/test/java/test/junit/testsetup/
DTestSuiteContainerWrapper.java8 private static TestSuite _test = null; field in TestSuiteContainerWrapper
13 _test = testSuite; in TestSuiteContainerWrapper()
33 System.out.println(_test.countTestCases() + " test cases defined by \"" in tearDown()
34 + _test.getName() + "\" were executed."); in tearDown()
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_test.py118 def _test(input, output): # pylint: disable=redefined-builtin function
121 _test("tf.concat(0, \t[x for x in y])\n",
123 _test("tf.concat(0,[x for x in y])\n",
125 _test("tf.concat(0,[\nx for x in y])\n",
127 _test("tf.concat(0,[\n \tx for x in y])\n",
/external/protobuf/python/
DMANIFEST.in3 exclude google/protobuf/internal/*_test.py
7 recursive-exclude google *_test.py
8 recursive-exclude google *_test.proto

12345678910