Home
last modified time | relevance | path

Searched refs:test2 (Results 1 – 25 of 727) sorted by relevance

12345678910>>...30

/third_party/gettext/gettext-tools/tests/
Dmsgcat-26 cat <<\EOF > mcat-test2.in1
30 cat <<\EOF > mcat-test2.in2
53 rm -f mcat-test2.tmp
57 ${MSGCAT} --more-than=0 -o mcat-test2.tmp \
58 mcat-test2.in1 mcat-test2.in2 >mcat-test2.err 2>&1
60 cat mcat-test2.err | grep -v 'warning: .* encodings' | grep -v '^ '
62 LC_ALL=C tr -d '\r' < mcat-test2.tmp > mcat-test2.out || Exit 1
64 cat << \EOF > mcat-test2.ok
93 ${DIFF} mcat-test2.ok mcat-test2.out
Dmsgcomm-26 cat <<EOF > mcomm-test2.in1
12 cat <<EOF > mcomm-test2.in2
19 ${MSGCOMM} --more-than=0 --no-location -o mcomm-test2.tmp \
20 mcomm-test2.in1 mcomm-test2.in2 || Exit 1
21 LC_ALL=C tr -d '\r' < mcomm-test2.tmp > mcomm-test2.out || Exit 1
23 cat << EOF > mcomm-test2.ok
32 ${DIFF} mcomm-test2.ok mcomm-test2.out
Dmsgcmp-26 cat <<EOF > mc-test2.in1
13 cat <<EOF > mc-test2.in2
21test2.in1 mc-test2.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgcmp\…
23 cat <<EOF > mc-test2.ok
24 mc-test2.in2:1: this message is used but not defined...
25 mc-test2.in1:3: ...but this definition is similar
26 mc-test2.in1:4: warning: this message is not used
31 ${DIFF} mc-test2.ok mc-test2.out
Dmsgmerge-26 cat <<EOF > mm-test2.in1
12 cat <<EOF > mm-test2.in2
20 ${MSGMERGE} -q -o /dev/stdout mm-test2.in1 mm-test2.in2 \
21 …rge\.exe|msgmerge|' -e 's|^/cygdrive/[^ ]*/msgmerge|msgmerge|' | LC_ALL=C tr -d '\r' > mm-test2.out
23 cat << EOF > mm-test2.ok
24 mm-test2.in1:3: duplicate message definition...
25 mm-test2.in1:1: ...this is the location of the first definition
30 ${DIFF} mm-test2.ok mm-test2.out
Dmsginit-26 cat <<\EOF > mi-test2.pot
65 ${MSGINIT} -i mi-test2.pot -l ga_IE --no-translator -o mi-test2.tmp 2>mi-test2.err
66 test $? = 0 || { cat mi-test2.err 1>&2; Exit 1; }
67 sed -e '1,10d' < mi-test2.tmp | LC_ALL=C tr -d '\r' > mi-test2.out || Exit 1
69 cat <<\EOF > mi-test2.ok
110 ${DIFF} mi-test2.ok mi-test2.out
Dmsgexec-218 cat <<\EOF > mex-test2.po
71 ${MSGEXEC} -i mex-test2.po 0 > mex-test2.tmp 2> mex-test2.err
73 cat mex-test2.err | grep -v 'warning: Locale charset' | grep -v '^ '
75 LC_ALL=C $TR -d '\r' < mex-test2.tmp > mex-test2.out || Exit 1
78 ${CMP} "$abs_srcdir"/mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
Dmsgattrib-26 cat <<\EOF > ma-test2.po
57 ${MSGATTRIB} --untranslated -o ma-test2.tmp ma-test2.po || Exit 1
58 LC_ALL=C tr -d '\r' < ma-test2.tmp > ma-test2.out || Exit 1
60 cat <<\EOF > ma-test2.ok
88 ${DIFF} ma-test2.ok ma-test2.out
/third_party/e2fsprogs/lib/ext2fs/
Dtst_byteswap.c38 __u32 test2[] = { variable
74 printf("swab32(0x%08x) = 0x%08x\n", test2[i], in main()
75 ext2fs_swab32(test2[i])); in main()
76 if (ext2fs_swab32(test2[i]) != test2[i+1]) { in main()
78 ext2fs_swab32(test2[i]), test2[i+1]); in main()
81 if (ext2fs_swab32(test2[i+1]) != test2[i]) { in main()
83 ext2fs_swab32(test2[i+1]), test2[i]); in main()
87 } while (test2[i] != 0); in main()
/third_party/boost/libs/iostreams/test/
Dwrite_output_test.hpp29 temp_file test2; in write_output_test() local
30 filtering_ostream out(file_sink(test2.name(), out_mode), 0); in write_output_test()
34 compare_files(test2.name(), test.name()), in write_output_test()
40 temp_file test2; in write_output_test() local
41 filtering_ostream out(file_sink(test2.name(), out_mode), 0); in write_output_test()
45 compare_files(test2.name(), test.name()), in write_output_test()
51 temp_file test2; in write_output_test() local
52 filtering_ostream out(file_sink(test2.name(), out_mode)); in write_output_test()
56 compare_files(test2.name(), test.name()), in write_output_test()
62 temp_file test2; in write_output_test() local
[all …]
Dwrite_output_ostream_test.hpp28 temp_file test2; in write_output_ostream_test() local
30 ofstream dest(test2.name().c_str(), out_mode); in write_output_ostream_test()
35 compare_files(test2.name(), test.name()), in write_output_ostream_test()
42 temp_file test2; in write_output_ostream_test() local
44 ofstream dest(test2.name().c_str(), out_mode); in write_output_ostream_test()
49 compare_files(test2.name(), test.name()), in write_output_ostream_test()
56 test_file test2; in write_output_ostream_test() local
58 ofstream dest(test2.name().c_str(), out_mode); in write_output_ostream_test()
63 compare_files(test2.name(), test.name()), in write_output_ostream_test()
70 temp_file test2; in write_output_ostream_test() local
[all …]
Dwrite_seekable_test.hpp29 temp_file test2; in write_seekable_test() local
30 filtering_stream<seekable> out(file(test2.name(), mode), 0); in write_seekable_test()
34 compare_files(test2.name(), test.name()), in write_seekable_test()
41 temp_file test2; in write_seekable_test() local
42 filtering_stream<seekable> out(file(test2.name(), mode), 0); in write_seekable_test()
46 compare_files(test2.name(), test.name()), in write_seekable_test()
53 temp_file test2; in write_seekable_test() local
54 filtering_stream<seekable> out(file(test2.name(), mode)); in write_seekable_test()
58 compare_files(test2.name(), test.name()), in write_seekable_test()
65 temp_file test2; in write_seekable_test() local
[all …]
Dwrite_bidir_streambuf_test.hpp27 temp_file test2; in write_bidirectional_streambuf_test() local
30 dest.open(test2.name().c_str(), out_mode); in write_bidirectional_streambuf_test()
35 compare_files(test2.name(), test.name()), in write_bidirectional_streambuf_test()
42 temp_file test2; in write_bidirectional_streambuf_test() local
45 dest.open(test2.name().c_str(), out_mode); in write_bidirectional_streambuf_test()
50 compare_files(test2.name(), test.name()), in write_bidirectional_streambuf_test()
57 temp_file test2; in write_bidirectional_streambuf_test() local
60 dest.open(test2.name().c_str(), out_mode); in write_bidirectional_streambuf_test()
65 compare_files(test2.name(), test.name()), in write_bidirectional_streambuf_test()
72 temp_file test2; in write_bidirectional_streambuf_test() local
[all …]
/third_party/boost/libs/range/test/algorithm_test/
Dswap_ranges.cpp34 Container2 test2(source2); in test_swap_ranges_impl() local
35 boost::swap_ranges(test1, test2); in test_swap_ranges_impl()
41 test2.begin(), test2.end() ); in test_swap_ranges_impl()
44 test2 = source2; in test_swap_ranges_impl()
45 boost::swap_ranges(boost::make_iterator_range(test1), test2); in test_swap_ranges_impl()
49 test2.begin(), test2.end() ); in test_swap_ranges_impl()
52 test2 = source2; in test_swap_ranges_impl()
53 boost::swap_ranges(test1, boost::make_iterator_range(test2)); in test_swap_ranges_impl()
57 test2.begin(), test2.end() ); in test_swap_ranges_impl()
60 test2 = source2; in test_swap_ranges_impl()
[all …]
/third_party/typescript/tests/baselines/reference/
DtsxAttributeResolution1.types8 test2: { reqd: string };
9 >test2 : { reqd: string; }
42 <test2 reqd='true' />; // OK
43 ><test2 reqd='true' /> : JSX.Element
44 >test2 : any
47 <test2 reqd={'true'} />; // OK
48 ><test2 reqd={'true'} /> : JSX.Element
49 >test2 : any
81 <test2 />; // Error, missing reqd
82 ><test2 /> : JSX.Element
[all …]
DtsxAttributeResolution1.js6 test2: { reqd: string };
20 <test2 reqd='true' />; // OK
21 <test2 reqd={'true'} />; // OK
30 <test2 />; // Error, missing reqd
31 <test2 reqd={10} />; // Error, reqd is not string
42 <test2 reqd='true'/>; // OK
43 <test2 reqd={'true'}/>; // OK
50 <test2 />; // Error, missing reqd
51 <test2 reqd={10}/>; // Error, reqd is not string
DunusedImports3.js12 export function test2() { function
17 import {Calculator, test, test2} from "./file1"
20 test2();
25 exports.test2 = exports.test = exports.Calculator = void 0;
36 function test2() {
38 exports.test2 = test2;
44 file1_1.test2();
DunusedImports3.symbols14 export function test2() {
15 >test2 : Symbol(test2, Decl(file1.ts, 6, 1))
20 import {Calculator, test, test2} from "./file1"
23 >test2 : Symbol(test2, Decl(file2.ts, 0, 25))
28 test2();
29 >test2 : Symbol(test2, Decl(file2.ts, 0, 25))
DunusedImports4.js12 export function test2() { function
17 import {Calculator, test, test2} from "./file1"
21 test2();
26 exports.test2 = exports.test = exports.Calculator = void 0;
37 function test2() {
39 exports.test2 = test2;
46 file1_1.test2();
DtsxAttributeResolution1.symbols15 test2: { reqd: string };
16 >test2 : Symbol(IntrinsicElements.test2, Decl(file.tsx, 3, 18))
46 <test2 reqd='true' />; // OK
47 >test2 : Symbol(JSX.IntrinsicElements.test2, Decl(file.tsx, 3, 18))
50 <test2 reqd={'true'} />; // OK
51 >test2 : Symbol(JSX.IntrinsicElements.test2, Decl(file.tsx, 3, 18))
75 <test2 />; // Error, missing reqd
76 >test2 : Symbol(JSX.IntrinsicElements.test2, Decl(file.tsx, 3, 18))
78 <test2 reqd={10} />; // Error, reqd is not string
79 >test2 : Symbol(JSX.IntrinsicElements.test2, Decl(file.tsx, 3, 18))
DunusedImports4.symbols14 export function test2() {
15 >test2 : Symbol(test2, Decl(file1.ts, 6, 1))
20 import {Calculator, test, test2} from "./file1"
23 >test2 : Symbol(test2, Decl(file2.ts, 0, 25))
34 test2();
35 >test2 : Symbol(test2, Decl(file2.ts, 0, 25))
/third_party/python/Lib/unittest/test/testmock/
Dtestsealable.py19 self.assertIsInstance(m.test().test2(), mock.Mock)
39 m.test.test2 = 1
42 m.test.test2 = 2
43 self.assertEqual(m.test.test2, 2)
47 m.test.test2 = 1
83 m.test1.test2().test3 = 4
86 self.assertEqual(m.test1.test2().test3, 4)
88 m.test1.test2().test4
95 m.test1.test2["a"].test3 = 4
99 self.assertEqual(m.test1.test2["a"].test3, 4)
[all …]
/third_party/boost/libs/fiber/test/
Dtest_condition_variable_post.cpp195 int test2 = 0; variable
201 BOOST_CHECK(test2 == 0); in fn1()
204 while (test2 == 0) { in fn1()
207 BOOST_CHECK(test2 != 0); in fn1()
212 BOOST_CHECK(test2 == 0); in fn2()
218 while (test2 == 0 && cv.wait_until(lk, t) == boost::fibers::cv_status::no_timeout) in fn2()
223 BOOST_CHECK(test2 != 0); in fn2()
226 BOOST_CHECK(test2 == 0); in fn2()
245 BOOST_CHECK(test2 == 0); in fn3()
250 bool r = cv.wait_until(lk, t, Pred(test2)); in fn3()
[all …]
Dtest_condition_variable_any_post.cpp197 int test2 = 0; variable
203 BOOST_CHECK(test2 == 0); in fn1()
206 while (test2 == 0) { in fn1()
209 BOOST_CHECK(test2 != 0); in fn1()
215 BOOST_CHECK(test2 == 0); in fn2()
221 while (test2 == 0 && cv.wait_until(m, t) == boost::fibers::cv_status::no_timeout) in fn2()
226 BOOST_CHECK(test2 != 0); in fn2()
229 BOOST_CHECK(test2 == 0); in fn2()
249 BOOST_CHECK(test2 == 0); in fn3()
254 bool r = cv.wait_until(m, t, Pred(test2)); in fn3()
[all …]
Dtest_condition_variable_any_dispatch.cpp197 int test2 = 0; variable
203 BOOST_CHECK(test2 == 0); in fn1()
206 while (test2 == 0) { in fn1()
209 BOOST_CHECK(test2 != 0); in fn1()
215 BOOST_CHECK(test2 == 0); in fn2()
221 while (test2 == 0 && cv.wait_until(m, t) == boost::fibers::cv_status::no_timeout) in fn2()
226 BOOST_CHECK(test2 != 0); in fn2()
229 BOOST_CHECK(test2 == 0); in fn2()
249 BOOST_CHECK(test2 == 0); in fn3()
254 bool r = cv.wait_until(m, t, Pred(test2)); in fn3()
[all …]
Dtest_condition_variable_dispatch.cpp195 int test2 = 0; variable
201 BOOST_CHECK(test2 == 0); in fn1()
204 while (test2 == 0) { in fn1()
207 BOOST_CHECK(test2 != 0); in fn1()
212 BOOST_CHECK(test2 == 0); in fn2()
218 while (test2 == 0 && cv.wait_until(lk, t) == boost::fibers::cv_status::no_timeout) in fn2()
223 BOOST_CHECK(test2 != 0); in fn2()
226 BOOST_CHECK(test2 == 0); in fn2()
245 BOOST_CHECK(test2 == 0); in fn3()
250 bool r = cv.wait_until(lk, t, Pred(test2)); in fn3()
[all …]

12345678910>>...30