Home
last modified time | relevance | path

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

/third_party/rust/crates/clap/tests/builder/
Dversion.rs105 static EXPECTED: &str = "\ in help_short_flag_no_version() constant
114 utils::assert_output(cmd, "foo -h", EXPECTED, false); in help_short_flag_no_version()
119 static EXPECTED: &str = "\ in help_long_flag_no_version() variable
128 utils::assert_output(cmd, "foo --help", EXPECTED, false); in help_long_flag_no_version()
133 static EXPECTED: &str = "\ in help_short_flag_with_version() variable
143 utils::assert_output(cmd, "foo -h", EXPECTED, false); in help_short_flag_with_version()
148 static EXPECTED: &str = "\ in help_long_flag_with_version() constant
158 utils::assert_output(cmd, "foo --help", EXPECTED, false); in help_long_flag_with_version()
163 static EXPECTED: &str = "\ in help_short_flag_with_long_version() constant
173 utils::assert_output(cmd, "foo -h", EXPECTED, false); in help_short_flag_with_long_version()
[all …]
Dsubcommands.rs141 static EXPECTED: &str = "\ in subcmd_did_you_mean_output_arg() variable
154 utils::assert_output(cmd, "dym --subcmarg subcmd", EXPECTED, true); in subcmd_did_you_mean_output_arg()
161 static EXPECTED: &str = "\ in subcmd_did_you_mean_output_arg_false_positives() constant
172 utils::assert_output(cmd, "dym --subcmarg foo", EXPECTED, true); in subcmd_did_you_mean_output_arg_false_positives()
560 static EXPECTED: &str = "\ in multicall_help_flag() constant
575 utils::assert_output(cmd, "foo bar --help", EXPECTED, false); in multicall_help_flag()
580 static EXPECTED: &str = "\ in multicall_help_subcommand() variable
595 utils::assert_output(cmd, "help foo bar", EXPECTED, false); in multicall_help_subcommand()
600 static EXPECTED: &str = "\ in multicall_render_help() variable
620 utils::assert_eq(EXPECTED, help); in multicall_render_help()
Dhelp.rs82 static EXPECTED: &str = "error: unrecognized subcommand 'foo' in help_multi_subcommand_error() constant
88 utils::assert_eq(EXPECTED, err.to_string()); in help_multi_subcommand_error()
820 const EXPECTED: &str = "\ in dont_wrap_urls() constant
832 utils::assert_output(cmd, "Example update --help", EXPECTED, false); in dont_wrap_urls()
2650 static EXPECTED: &str = "\ in parent_cmd_req_in_usage_with_help_flag() variable
2668 utils::assert_output(cmd, "parent test --help", EXPECTED, false); in parent_cmd_req_in_usage_with_help_flag()
2673 static EXPECTED: &str = "\ in parent_cmd_req_in_usage_with_help_subcommand() constant
2691 utils::assert_output(cmd, "parent help test", EXPECTED, false); in parent_cmd_req_in_usage_with_help_subcommand()
2696 static EXPECTED: &str = "\ in parent_cmd_req_in_usage_with_render_help() constant
2718 utils::assert_eq(EXPECTED, help); in parent_cmd_req_in_usage_with_render_help()
Drequire.rs1449 const EXPECTED: &str = "\ in required_error_doesnt_duplicate() constant
1456 utils::assert_output(cmd, "clap-test aaa -b bbb -c ccc", EXPECTED, true); in required_error_doesnt_duplicate()
1471 const EXPECTED: &str = "\ in required_require_with_group_shows_flag() constant
1479 utils::assert_output(cmd, "test --require-first --second", EXPECTED, true); in required_require_with_group_shows_flag()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
Dtest-one.sh79 EXPECTED=${TEST/headers/expectations\/tests}
80 EXPECTED=${EXPECTED/.hpp/.rs}
81 EXPECTED=${EXPECTED/.h/.rs}
83 rustup run nightly rustfmt "$EXPECTED" || true
86 diff -U8 "$EXPECTED" "$BINDINGS" || true
/third_party/node/test/parallel/
Dtest-file-write-stream.js35 const EXPECTED = '012345678910'; constant
53 assert.strictEqual(fs.readFileSync(fn, 'utf8'), EXPECTED);
54 file.write(EXPECTED);
56 assert.strictEqual(fs.readFileSync(fn, 'utf8'), EXPECTED + EXPECTED);
62 assert.strictEqual(file.bytesWritten, EXPECTED.length * 2);
Dtest-file-write-stream2.js34 const EXPECTED = '012345678910'; constant
84 assert.strictEqual(fs.readFileSync(filepath, 'utf8'), EXPECTED);
85 console.error(`ondrain write ret= ${file.write(EXPECTED)}`);
89 assert.strictEqual(fs.readFileSync(filepath, 'utf8'), EXPECTED + EXPECTED);
96 assert.strictEqual(file.bytesWritten, EXPECTED.length * 2);
/third_party/rust/crates/libloading/tests/
Dlibrary_filename.rs6 const EXPECTED: &str = "audioengine.dll"; constant
8 const EXPECTED: &str = "libaudioengine.so"; constant
10 const EXPECTED: &str = "libaudioengine.dylib"; constant
16 assert!(Path::new(&resolved).ends_with(EXPECTED)); in test_library_filename()
/third_party/libuv/test/
Dbenchmark-udp-pummel.c29 #define EXPECTED "RANG TANG DING DONG I AM THE JAPANESE SANDMAN" macro
123 ASSERT(!memcmp(buf->base, EXPECTED, nread)); in recv_cb()
182 bufs[0] = uv_buf_init(&EXPECTED[0], 10); in pummel()
183 bufs[1] = uv_buf_init(&EXPECTED[10], 10); in pummel()
184 bufs[2] = uv_buf_init(&EXPECTED[20], 10); in pummel()
185 bufs[3] = uv_buf_init(&EXPECTED[30], 10); in pummel()
186 bufs[4] = uv_buf_init(&EXPECTED[40], 5); in pummel()
/third_party/python/Lib/test/
Dtest_doctest2.py113 EXPECTED = 19
117 if t != EXPECTED:
118 self.fail("expected %d tests to run, not %d" % (EXPECTED, t))
/third_party/openssl/test/
Dasn1_encode_test.c475 } EXPECTED; typedef
485 const EXPECTED *expected, size_t expected_size, in do_decode()
488 EXPECTED *enctst = NULL; in do_decode()
520 static int do_encode(EXPECTED *input, in do_encode()
549 static int do_enc_dec(EXPECTED *bytes, long nbytes, in do_enc_dec()
670 const EXPECTED *expected, size_t expected_size, in do_decode_custom()
692 static int do_encode_custom(EXPECTED *input, in do_encode_custom()
745 EXPECTED *expected in test_intern()
746 = (EXPECTED *)&((unsigned char *)package->encode_expectations)[pos]; in test_intern()
798 EXPECTED *expected in test_intern()
[all …]
/third_party/rust/crates/cxx/gen/cmd/src/
Dtest.rs1 const EXPECTED: &str = "\ constant
54 let expected = EXPECTED.replace("$VERSION", version); in test_help()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl_error_resync_test.cc28 #define EXPECT(SOURCE, EXPECTED) \ argument
31 std::string expected = EXPECTED; \
Dparser_impl_error_msg_test.cc28 #define EXPECT(SOURCE, EXPECTED) \ argument
31 std::string expected = EXPECTED; \
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DMf2Parser.java646 int f = EXPECTED[i0]; in getTokenSet()
724 private static final int[] EXPECTED = local
/third_party/node/test/cctest/
Dtest_inspector_socket.cc705 const char EXPECTED[] = "Message 1Message 2"; in TEST_F() local
709 expect_on_client(EXPECTED, sizeof(EXPECTED) - 1); in TEST_F()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp57 #define GLU_EXPECT_ERROR(ERR, EXPECTED, MSG) checkErrorEqualsExpected((ERR), EXPECTED, MSG, __FILE_… argument
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp144 } EXPECTED[] = { in TestPatterns() local
198 for (int32_t i = 0; i < UPRV_LENGTHOF(EXPECTED); i++) { in TestPatterns()
200 UnicodeString actualPattern(EXPECTED[i].actualPattern, -1, US_INV); in TestPatterns()
201 UnicodeString expectedPattern(EXPECTED[i].expectedPattern, -1, US_INV); in TestPatterns()
202 Locale locale(EXPECTED[i].localeID); in TestPatterns()
218 …("DateTimePatternGenerator::createInstance() failed for locale ID \"%s\"", EXPECTED[i].localeID)) { in TestPatterns()
227 EXPECTED[i].actualPattern, EXPECTED[i].localeID); in TestPatterns()
231 UnicodeString expectedLocalPattern(EXPECTED[i].expectedLocalPattern, -1); in TestPatterns()
553 const char* EXPECTED[] = { in TestFieldPosition() local
593 const int32_t EXPECTED_LENGTH = UPRV_LENGTHOF(EXPECTED); in TestFieldPosition()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java78 final String[][] EXPECTED = { in TestPatterns() local
146 for (int i = 0; i < EXPECTED.length; i++) { in TestPatterns()
147 if (EXPECTED[i].length == 0) { in TestPatterns()
153 String actualPattern = EXPECTED[i][0]; in TestPatterns()
157 String expectedPattern = EXPECTED[i][1]; in TestPatterns()
158 ULocale locale = new ULocale(EXPECTED[i][2], "", ""); in TestPatterns()
172 String expectedLocalPattern = EXPECTED[i][3]; in TestPatterns()
186 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
382 final String EXPECTED[] = { in TestFieldPosition() local
404 assertTrue("data size", EXPECTED.length == COUNT * DateFormat.FIELD_COUNT); in TestFieldPosition()
[all …]
DNumberRegressionTests.java1696 String EXPECTED[] = {"0.", "2.", "2.", "4.", "4."}; in Test4243011() local
1701 if (result.equals(EXPECTED[i])) { in Test4243011()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java81 final String[][] EXPECTED = { in TestPatterns() local
149 for (int i = 0; i < EXPECTED.length; i++) { in TestPatterns()
150 if (EXPECTED[i].length == 0) { in TestPatterns()
156 String actualPattern = EXPECTED[i][0]; in TestPatterns()
160 String expectedPattern = EXPECTED[i][1]; in TestPatterns()
161 ULocale locale = new ULocale(EXPECTED[i][2], "", ""); in TestPatterns()
175 String expectedLocalPattern = EXPECTED[i][3]; in TestPatterns()
189 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
385 final String EXPECTED[] = { in TestFieldPosition() local
407 assertTrue("data size", EXPECTED.length == COUNT * DateFormat.FIELD_COUNT); in TestFieldPosition()
[all …]
DNumberRegressionTests.java1702 String EXPECTED[] = {"0.", "2.", "2.", "4.", "4."}; in Test4243011() local
1707 if (result.equals(EXPECTED[i])) { in Test4243011()
/third_party/ltp/testcases/network/nfsv4/locks/
DREADME137 EXPECTED RESULTS
/third_party/python/Modules/
D_testcapimodule.c94 #define CHECK_SIZEOF(TYPE, EXPECTED) \ in test_sizeof_c_types() argument
95 if (EXPECTED != sizeof(TYPE)) { \ in test_sizeof_c_types()
98 #TYPE, sizeof(TYPE), EXPECTED); \ in test_sizeof_c_types()
/third_party/gstreamer/gstplugins_good/
DChangeLog13665 rtpjitterbuffer: Fix delay for EXPECTED timers added by gaps
13666 This patch corrects the delay set on EXPECTED timers that are added when
29919 There is no need to schedule another EXPECTED timer if we're already
58079 jitterbuffer: only timeout EXPECTED timers on gap
58080 Only timeout the EXPECTED timers when we detect a large seqnum gap.