Home
last modified time | relevance | path

Searched refs:expect (Results 701 - 725 of 993) sorted by relevance

1...<<21222324252627282930>>...40

/third_party/python/Lib/distutils/tests/
H A Dtest_build_py.py125 expect = 'boiledeggs.{}.opt-1.pyc'.format(sys.implementation.cache_tag)
126 self.assertEqual(sorted(found), [expect])
/third_party/rust/crates/bindgen/bindgen/ir/
H A Dobjc.rs183 .expect("Invalid function sig"); in from_ty()
272 .expect("Invalid identifier"), in format_method_call()
/third_party/skia/modules/canvaskit/tests/
H A Dutil.js25 expect(surface).toBeTruthy('Could not make surface');
39 expect(e).toBeFalsy();
/third_party/rust/crates/nom/src/bits/
H A Dmod.rs30 /// let output = parse(input).expect("We take 1.5 bytes and the input is longer than 2 bytes");
132 let output = result.expect("We take 2 bytes and the input is longer than 2 bytes"); in test_complete_byte_consumption_bits()
155 let output = result.expect("We take 1.5 bytes and the input is longer than 2 bytes"); in test_partial_byte_consumption_bits()
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl_type_test.cc324 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
326 EXPECT_EQ(buf.String(), expect); in TEST_F()
402 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
404 EXPECT_EQ(buf.String(), expect); in TEST_F()
498 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
500 EXPECT_EQ(buf.String(), expect); in TEST_F()
581 auto* expect = "struct S {\n" ALL_FIELDS() "};\n"; in TEST_F() local
583 EXPECT_EQ(buf.String(), expect); in TEST_F()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dmod.rs397 X509NameRef::from_const_ptr_opt(name).expect("subject name must not be null") in subject_name()
415 X509NameRef::from_const_ptr_opt(name).expect("issuer name must not be null") in issuer_name()
573 Asn1TimeRef::from_const_ptr_opt(date).expect("not_after must not be null") in not_after()
582 Asn1TimeRef::from_const_ptr_opt(date).expect("not_before must not be null") in not_before()
592 Asn1BitStringRef::from_const_ptr_opt(signature).expect("signature must not be null") in signature()
603 .expect("signature algorithm must not be null") in signature_algorithm()
653 Asn1IntegerRef::from_const_ptr_opt(r).expect("serial number must not be null") in serial_number()
1307 Some(X509NameEntryRef::from_const_ptr_opt(entry).expect("entry must not be null")) in fmt()
1566 X509NameRef::from_const_ptr_opt(name).expect("subject name must not be null") in subject_name()
2274 Asn1ObjectRef::from_const_ptr_opt(oid).expect("algorith in object()
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksImportJsunit.test.js16 import { describe, it, expect, beforeAll } from '@ohos/hypium';
734 expect(null).assertFail();
738 expect(null).assertFail();
750 expect(null).assertFail();
754 expect(null).assertFail();
767 expect(null).assertFail();
771 expect(null).assertFail();
786 expect(null).assertFail();
800 expect(null).assertFail();
804 expect(nul
[all...]
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/
H A Dzlibndk.cpp139 uLong expect = 65520; in Adler32Combine() local
142 NAPI_ASSERT(env, err == expect, "adler32_combine error"); in Adler32Combine()
262 uint32_t expect; in Compress() local
263 NAPI_CALL(env, napi_get_value_uint32(env, args[0], &expect)); in Compress()
266 uLong compLen = expect == Z_OK ? 100 * sizeof(int) : VALUE_ONE; in Compress()
273 NAPI_ASSERT(env, err == expect, "compress error"); in Compress()
309 uint32_t expect; in Compress2() local
310 NAPI_CALL(env, napi_get_value_uint32(env, args[1], &expect)); in Compress2()
313 uLong compLen = expect == Z_OK ? 100 * sizeof(int) : VALUE_ONE; in Compress2()
320 NAPI_ASSERT(env, err == expect, "compres in Compress2()
334 uint32_t expect; UnCompress() local
404 uint32_t expect; UnCompress2() local
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/examples/
H A Dasync_https_outside.rs23 .expect("Tokio runtime build err."); in main()
/third_party/icu/icu4c/source/test/intltest/
H A Ddtifmtts.h98 void expect(const char** data, int32_t data_length);
/third_party/node/test/parallel/
H A Dtest-http-agent-maxsockets.js32 `expect keep 2 free sockets, but got ${freepool.length}`);
/third_party/node/test/fixtures/wpt/encoding/resources/
H A Dencode-href-common.js5 // expect (function)
34 item.expected = expect(result, i);
/third_party/rust/crates/aho-corasick/src/
H A Dbuffer.rs114 .expect("buffer capacity should be bigger than minimum amount"); in roll()
/third_party/rust/crates/bindgen/bindgen-tests/
H A Dbuild.rs22 headers.map(|result| result.expect("Couldn't read header file")); in main()
/third_party/rust/crates/clap/src/parser/matches/
H A Dmatched_arg.rs57 .expect(INTERNAL_ERROR_MSG)
118 self.vals.last_mut().expect(INTERNAL_ERROR_MSG).push(val);
121 .expect(INTERNAL_ERROR_MSG)
H A Darg_matches.rs57 /// if matches.value_source("out").expect("checked contains_id") == ValueSource::CommandLine {
106 /// .expect("`port`is required");
214 /// .expect("`port`is required")
295 /// .expect("`port`is required")
348 /// .expect("`-x`is required") in get_raw()
391 /// .expect("`file`is required"); in get_raw()
427 /// .expect("`file`is required") in get_raw()
947 /// let (name, sub_m) = app_m.remove_subcommand().expect("required");
975 /// .expect("`file`is required")
1095 .expect(INTERNAL_ERROR_MS in try_get_one()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_cloud_interfaces_relational_remove_device_data_test.cpp494 for (auto &expect : head.tableProcess) { in GetCallback()
495 auto real = syncProcess.tableProcess.find(expect.first); in GetCallback()
497 EXPECT_EQ(expect.second.process, real->second.process); in GetCallback()
498 EXPECT_EQ(expect.second.downLoadInfo.batchIndex, real->second.downLoadInfo.batchIndex); in GetCallback()
499 EXPECT_EQ(expect.second.downLoadInfo.total, real->second.downLoadInfo.total); in GetCallback()
500 EXPECT_EQ(expect.second.downLoadInfo.successCount, real->second.downLoadInfo.successCount); in GetCallback()
501 EXPECT_EQ(expect.second.downLoadInfo.failCount, real->second.downLoadInfo.failCount); in GetCallback()
502 EXPECT_EQ(expect.second.upLoadInfo.batchIndex, real->second.upLoadInfo.batchIndex); in GetCallback()
503 EXPECT_EQ(expect.second.upLoadInfo.total, real->second.upLoadInfo.total); in GetCallback()
504 EXPECT_EQ(expect in GetCallback()
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_stat.rs58 let stats = stat_result.expect("stat call failed"); in assert_stat_results()
73 let stats = stat_result.expect("stat call failed"); in assert_lstat_results()
326 mkdirat(dirfd, filename, Mode::S_IRWXU).expect("mkdirat failed"); in test_mkdirat_success_path()
340 mkdirat(dirfd, filename, Mode::S_IRWXU).expect("mkdirat failed"); in test_mkdirat_success_mode()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboApiTests.cpp59 static void checkError (tcu::TestContext& testCtx, sglr::Context& ctx, GLenum expect) in checkError() argument
62 testCtx.getLog() << TestLog::Message << "// " << (result == expect ? "Pass" : "Fail") << ", expected " << glu::getErrorStr(expect) << TestLog::EndMessage; in checkError()
64 if (result != expect) in checkError()
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps.c846 #define SET_EXPECT(expect, val) ((expect) = (expect) < 0 ? (val) : ((expect) == (val) ? (val) : 0))
881 int expect = -1; in load_key_certs_crls_suppress() local
889 SET_EXPECT(expect, OSSL_STORE_INFO_PKEY); in load_key_certs_crls_suppress()
894 SET_EXPECT(expect, OSSL_STORE_INFO_PUBKEY); in load_key_certs_crls_suppress()
899 SET_EXPECT(expect, OSSL_STORE_INFO_PARAMS); in load_key_certs_crls_suppress()
904 SET_EXPECT(expect, OSSL_STORE_INFO_CERT); in load_key_certs_crls_suppress()
912 SET_EXPECT(expect, OSSL_STORE_INFO_CER in load_key_certs_crls_suppress()
[all...]
/third_party/openssl/apps/lib/
H A Dapps.c846 #define SET_EXPECT(expect, val) ((expect) = (expect) < 0 ? (val) : ((expect) == (val) ? (val) : 0))
881 int expect = -1; in load_key_certs_crls_suppress() local
889 SET_EXPECT(expect, OSSL_STORE_INFO_PKEY); in load_key_certs_crls_suppress()
894 SET_EXPECT(expect, OSSL_STORE_INFO_PUBKEY); in load_key_certs_crls_suppress()
899 SET_EXPECT(expect, OSSL_STORE_INFO_PARAMS); in load_key_certs_crls_suppress()
904 SET_EXPECT(expect, OSSL_STORE_INFO_CERT); in load_key_certs_crls_suppress()
912 SET_EXPECT(expect, OSSL_STORE_INFO_CER in load_key_certs_crls_suppress()
[all...]
/third_party/python/Lib/test/
H A Dtest_optparse.py1543 expect = """\
1548 self.assertHelpEquals(expect)
1553 expect = """\
1559 self.assertHelpEquals(expect)
1573 expect = """\
1593 self.assertHelpEquals(expect)
1596 self.assertHelpEquals(expect + "\nPlease report bugs to /dev/null.\n")
/third_party/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c414 /* Note: a==1234.56, but on parse expect a1=1235.0 */ in TestNumberFormat()
1115 log_err("UNUM_CURRENCY parseDouble %s/%s, expect %s pos %d val %.1f, get %s pos %d val %.1f\n", in TestParseCurrency()
1127 log_err("UNUM_CURRENCY parseDoubleCurrency %s/%s, expect %s pos %d val %.1f cur %s, get %s pos %d val %.1f cur %s\n", in TestParseCurrency()
1145 log_err("UNUM_CURRENCY parseDouble Plural %s/%s, expect %s val %.1f, get %s val %.1f\n", in TestParseCurrency()
1157 log_err("UNUM_CURRENCY parseDoubleCurrency Plural %s/%s, expect %s val %.1f cur %s, get %s val %.1f cur %s\n", in TestParseCurrency()
1597 log_err("didn't expect lenient value: %d\n", isLenient); in test_fmt()
1603 log_err("didn't expect lenient value after set: %d\n", isLenient); in test_fmt()
1611 log_err("didn't expect double attribute\n"); in test_fmt()
1615 log_err("didn't expect -1 rounding increment\n"); in test_fmt()
1894 expect in TestCurrencyRegression()
2137 int32_t expect = 0; TestNoExponent() local
2230 UChar expect[] = { 0x0039, 0x0037, 0 }; TestMaxInt() local
2770 UChar expect[64]; TestCurrencyUsage() local
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/
H A Dslab.rs779 .expect("Couldn't join on the associated thread"); in ut_slab_multi_allocate()
782 .expect("Couldn't join on the associated thread"); in ut_slab_multi_allocate()
785 .expect("Couldn't join on the associated thread"); in ut_slab_multi_allocate()
831 .expect("Couldn't join on the associated thread"); in ut_slab_multi_allocate_drop()
846 .expect("Couldn't join on the associated thread"); in ut_slab_multi_allocate_drop()
/third_party/node/deps/npm/test/lib/commands/
H A Dprofile.js1080 const testComp = async (t, { argv, expect, title } = {}) => {
1082 t.resolveMatch(profile.completion({ conf: { argv: { remain: argv } } }), expect, title)
1088 expect: ['enable-2fa', 'disable-2fa', 'get', 'set'],
1096 expect: ['auth-and-writes', 'auth-only'],
1106 expect: [],

Completed in 31 milliseconds

1...<<21222324252627282930>>...40