Home
last modified time | relevance | path

Searched refs:expect (Results 601 - 625 of 762) sorted by relevance

1...<<2122232425262728293031

/third_party/rust/crates/bindgen/bindgen/ir/
H A Dcomp.rs377 self.getter_name.as_ref().expect( in getter_name()
392 self.setter_name.as_ref().expect( in setter_name()
1413 .expect("Inner ClassDecl"); in from_ty()
1440 let param = Item::type_param(None, cur, ctx).expect( in from_ty()
1813 .expect("Bitfield without layout? Gah!"); in is_opaque()
/third_party/rust/crates/clap/src/parser/
H A Dparser.rs65 // Already met any valid arg(then we shouldn't expect subcommands after it).
471 .expect(INTERNAL_ERROR_MSG)
1105 let arg = self.cmd.find(&pending.id).expect(INTERNAL_ERROR_MSG); in resolve_pending()
1308 let expected = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in verify_num_args()
1347 .expect(INTERNAL_ERROR_MSG) in verify_num_args()
/third_party/icu/icu4c/source/test/intltest/
H A Ddtfmttst.cpp669 expect(DATA, UPRV_LENGTHOF(DATA), Locale("en", "", "")); in TestGeneral()
1489 // pattern, input, expected parse or NULL if expect parse failure in TestSpaceParsing()
1534 // pattern, input, expected parse or NULL if expect parse failure in TestExactCountFormat()
1555 // pattern, input, expected parse or null if expect parse failure in TestWhiteSpaceParsing()
1674 expect(EN_DATA, UPRV_LENGTHOF(EN_DATA), Locale("en", "", "")); in TestStandAloneMonths()
1675 expect(CS_DATA, UPRV_LENGTHOF(CS_DATA), Locale("cs", "", "")); in TestStandAloneMonths()
1720 expect(EN_DATA, UPRV_LENGTHOF(EN_DATA), Locale("en", "", "")); in TestStandAloneDays()
1721 expect(CS_DATA, UPRV_LENGTHOF(CS_DATA), Locale("cs", "", "")); in TestStandAloneDays()
1744 expect(EN_DATA, UPRV_LENGTHOF(EN_DATA), Locale("en", "", "")); in TestShortDays()
1745 expect(SV_DAT in TestShortDays()
2026 void DateFormatTest::expect(const char** data, int32_t data_length, expect() function in DateFormatTest
2442 UnicodeString expect; TestRelative() local
[all...]
H A Dtztest.cpp1456 const char *expect; in TestDisplayName() member
1481 for (i=0; kData[i].expect[0] != '\0'; i++) in TestDisplayName()
1487 if (name.compare(kData[i].expect) != 0) in TestDisplayName()
1488 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name); in TestDisplayName()
1491 for (i=0; kData[i].expect[0] != '\0'; i++) in TestDisplayName()
1496 if (name.compare(kData[i].expect) != 0) in TestDisplayName()
1497 dataerrln("Fail: Expected " + UnicodeString(kData[i].expect) + "; got " + name); in TestDisplayName()
1540 // If not, we expect the en fallback behavior. in TestDisplayName()
/test/testfwk/xdevice/plugins/devicetest/core/
H A Dtest_case.py1200 def ASSERT(expect, actual):
1201 if expect != actual:
1202 raise TestFailure(ErrorMessage.Assertion.Code_0204026.format(expect, actual))
1205 def CHECK(message, expect, actual):
1211 EXPECT(expect)
1230 DeccVariable.cur_case().cur_check_cmd.expect = get_decode(arg)
1232 DeccVariable.cur_case().cur_check_cmd.expect))
/third_party/openssl/test/
H A Ddestest.c715 int clen, clen_upd, clen_fin, plen, plen_upd, plen_fin, expect, bs, i; in test_des_key_wrap() local
745 expect = (in_bytes + (bs - 1)) / bs * bs + 2 * bs; in test_des_key_wrap()
746 if (!TEST_int_eq(clen_upd, expect)) in test_des_key_wrap()
785 int expect; member
813 return TEST_int_eq(DES_is_weak_key(key), weak_keys[n].expect); in test_des_weak_keys()
818 int expect; member
839 return TEST_int_eq(DES_check_key_parity(key), bad_parity_keys[n].expect); in test_des_check_bad_parity()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java612 expect(DATA, new Locale("en", "", "")); in TestGeneral()
663 expect(ZDATA, en, true); in TestGenericTime()
748 expect(XDATA, en, true); in TestGenericTimeZoneOrder()
2306 // pattern, input, expected parse or null if expect parse failure in TestExactCountFormat()
2327 // pattern, input, expected parse or null if expect parse failure in TestWhiteSpaceParsing()
2928 expect(EN_DATA, new Locale("en", "", "")); in TestStandAloneMonths()
2929 expect(CS_DATA, new Locale("cs", "", "")); in TestStandAloneMonths()
2975 expect(EN_DATA, new Locale("en", "", "")); in TestStandAloneDays()
2976 expect(CS_DATA, new Locale("cs", "", "")); in TestStandAloneDays()
3002 expect(EN_DAT in TestShortDays()
3383 void expect(String[] data, Locale loc) { expect() method in DateFormatTest
3387 void expect(String[] data, Locale loc, boolean parseAllTZStyles) { expect() method in DateFormatTest
[all...]
/third_party/node/test/parallel/
H A Dtest-crypto-fips.js39 `Spawned child [pid:${child.pid}] with cmd '${cmd}' expect %j with args '${
55 // Normal path where we expect either FIPS enabled or disabled.
/third_party/node/test/fixtures/wpt/encoding/resources/
H A Dencode-form-common.js6 // expect (function)
35 item.expected = expect(result, i);
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A D_tokenizer.py134 def expect(self, name: str, *, expected: str) -> Token: member in Tokenizer
/third_party/rust/crates/codespan/codespan/src/
H A Dfile.rs22 FileId(NonZeroU32::new(index as u32 + Self::OFFSET).expect("file index cannot be stored")) in new()
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dbash.rs19 .expect("crate::generate should have set the bin_name"); in generate()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dcustom_files.rs66 .expect("failed despite previous check") in line_start()
/third_party/rust/crates/nix/test/common/
H A Dmod.rs120 .expect("Bad match_version provided");
/third_party/rust/crates/os_str_bytes/src/
H A Dlib.rs225 $result.expect("invalid raw bytes")
/third_party/rust/crates/regex/src/
H A Dexpand.rs150 str::from_utf8(&rep[i..cap_end]).expect("valid UTF-8 capture name");
/test/testfwk/arkxtest/jsunit/
H A Dindex.js22 import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, beforeItSpecified, afterItSpecified, xdescribe, xit } from './src/interface';
52 core.addService('expect', expectExtend);
229 const expectService = core.getDefaultService('expect');
239 const expectService = core.getDefaultService('expect');
258 describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, beforeItSpecified, afterItSpecified, xdescribe, xit,
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DHolidayTest.java277 final Date expect = getDate(2014, Calendar.APRIL, 20); in TestEaster()
281 errln("Error: Easter 2014 should be on " + expect + " but got null."); in TestEaster()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DHolidayTest.java280 final Date expect = getDate(2014, Calendar.APRIL, 20); in TestEaster()
284 errln("Error: Easter 2014 should be on " + expect + " but got null."); in TestEaster()
/third_party/rust/crates/clap/src/builder/
H A Ddebug_asserts.rs593 && !p.get_num_args().expect(INTERNAL_ERROR_MSG).is_fixed() in _verify_positionals()
750 let num_vals = arg.get_num_args().expect(INTERNAL_ERROR_MSG); in assert_arg()
/third_party/rust/crates/humantime/src/
H A Ddate.rs255 .expect("all times should be after the epoch"); in fmt()
366 f.write_str(str::from_utf8(&buf[..=offset]).expect("Conversion to utf8 failed")) in fmt()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
H A DTextFormatTest.java487 private void assertPrintFieldValue(String expect, Object value, in assertPrintFieldValue() argument
494 assertEquals(expect, sb.toString()); in assertPrintFieldValue()
/third_party/python/Lib/
H A Dcompileall.py224 expect = struct.pack('<4sLL', importlib.util.MAGIC_NUMBER,
229 if expect != actual:
/third_party/rust/crates/clap/tests/builder/
H A Dopts.rs399 assert!(!*m.get_one::<bool>("f").expect("defaulted by clap")); in leading_hyphen_with_flag_after()
418 assert!(*m.get_one::<bool>("f").expect("defaulted by clap")); in leading_hyphen_with_flag_before()
679 .expect("defaulted by clap")); in infer_long_arg()
691 .expect("defaulted by clap")); in infer_long_arg()
703 .expect("defaulted by clap")); in infer_long_arg()
714 assert!(!*matches.get_one::<bool>("arg").expect("defaulted by clap")); in infer_long_arg()
717 assert!(*matches.get_one::<bool>("arg").expect("defaulted by clap")); in infer_long_arg()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DDateFormatTest.java615 expect(DATA, new Locale("en", "", "")); in TestGeneral()
666 expect(ZDATA, en, true); in TestGenericTime()
751 expect(XDATA, en, true); in TestGenericTimeZoneOrder()
2222 // pattern, input, expected parse or null if expect parse failure in TestExactCountFormat()
2243 // pattern, input, expected parse or null if expect parse failure in TestWhiteSpaceParsing()
2844 expect(EN_DATA, new Locale("en", "", "")); in TestStandAloneMonths()
2845 expect(CS_DATA, new Locale("cs", "", "")); in TestStandAloneMonths()
2891 expect(EN_DATA, new Locale("en", "", "")); in TestStandAloneDays()
2892 expect(CS_DATA, new Locale("cs", "", "")); in TestStandAloneDays()
2918 expect(EN_DAT in TestShortDays()
3286 void expect(String[] data, Locale loc) { expect() method in DateFormatTest
3290 void expect(String[] data, Locale loc, boolean parseAllTZStyles) { expect() method in DateFormatTest
[all...]

Completed in 36 milliseconds

1...<<2122232425262728293031