/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | array_length_from_uniform_test.cc | 32 auto* expect = in TEST_F() local 38 EXPECT_EQ(expect, str(got)); in TEST_F() 44 auto* expect = in TEST_F() local 50 EXPECT_EQ(expect, str(got)); in TEST_F() 69 auto* expect = R"( in TEST_F() local 99 EXPECT_EQ(expect, str(got)); in TEST_F() 121 auto* expect = R"( in TEST_F() local 152 EXPECT_EQ(expect, str(got)); in TEST_F() 202 auto* expect = R"( in TEST_F() local 273 EXPECT_EQ(expect, st in TEST_F() 320 auto* expect = R"( TEST_F() local 448 auto* expect = R"( TEST_F() local [all...] |
H A D | decompose_strided_matrix_test.cc | 36 auto* expect = src; in TEST_F() local 40 EXPECT_EQ(expect, str(got)); in TEST_F() 45 auto* expect = in TEST_F() local 50 EXPECT_EQ(expect, str(got)); in TEST_F() 93 auto* expect = R"( in TEST_F() local 116 EXPECT_EQ(expect, str(got)); in TEST_F() 159 auto* expect = R"( in TEST_F() local 178 EXPECT_EQ(expect, str(got)); in TEST_F() 221 auto* expect = R"( in TEST_F() local 241 EXPECT_EQ(expect, st in TEST_F() 284 auto* expect = R"( TEST_F() local 350 auto* expect = R"( TEST_F() local 413 auto* expect = R"( TEST_F() local 479 auto* expect = R"( TEST_F() local 556 auto* expect = R"( TEST_F() local 625 auto* expect = R"( TEST_F() local 683 auto* expect = R"( TEST_F() local [all...] |
H A D | add_empty_entry_point_test.cc | 30 auto* expect = R"( in TEST_F() local 38 EXPECT_EQ(expect, str(got)); in TEST_F() 48 auto* expect = src; in TEST_F() local 52 EXPECT_EQ(expect, str(got)); in TEST_F() 58 auto* expect = R"( in TEST_F() local 68 EXPECT_EQ(expect, str(got)); in TEST_F()
|
H A D | external_texture_transform_test.cc | 37 auto* expect = R"( in TEST_F() local 50 EXPECT_EQ(expect, str(got)); in TEST_F() 63 auto* expect = R"( in TEST_F() local 74 EXPECT_EQ(expect, str(got)); in TEST_F() 89 auto* expect = R"( in TEST_F() local 102 EXPECT_EQ(expect, str(got)); in TEST_F()
|
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/entry/src/ohosTest/js/test/ |
H A D | Execute.test.js | 16 import { describe, it, expect, Level } from '@ohos/hypium' 39 expect(onResult.result).assertEqual(args[3]); 46 expect(null).assertFail(); 61 expect(onResult.result == args[3] || onResult.result == args[4]).assertTrue(); 68 expect(null).assertFail(); 299 expect(userAuthInstance).not().assertNull(); 301 expect(null).assertFail(); 306 expect(null).assertFail(); 308 expect(e.code).assertEqual(authTestParams[index].ret); 364 expect(userAuthInstanc [all...] |
H A D | SignNormalNotAccessBiometricExecute.test.js | 16 import { describe, it, expect, Level } from '@ohos/hypium'
41 expect(onResult.result).assertEqual(args[3]);
48 expect(null).assertFail();
67 expect(userAuthInstance).not().assertNull();
70 expect(null).assertFail();
90 expect(e.code).assertEqual(201);
108 expect(null).assertFail();
111 expect(e.code).assertEqual(userAuth.UserAuthResultCode.GENERAL_ERROR);
150 expect(null).assertFail();
154 expect(erro [all...] |
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/parser/ |
H A D | parser.go | 82 p.expect(tok.Enum, "enum declaration") 83 name := p.expect(tok.Identifier, "enum name") 85 p.expect(tok.Lbrace, "enum declaration") 94 name := p.expect(tok.Identifier, "enum entry") 99 p.expect(tok.Match, "matcher declaration") 100 name := p.expect(tok.Identifier, "matcher name") 102 p.expect(tok.Colon, "matcher declaration") 113 p.expect(tok.Type, "type declaration") 114 name := p.expect(tok.Identifier, "type name") 132 name := p.expect(to [all...] |
/test/xts/acts/distributeddatamgr/preferencesjstest/hap/entry/src/ohosTest/js/test/ |
H A D | PreferencesHelperJsunit.test.js | 15 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium' 56 expect(value).assertEqual(2); 73 expect(value).assertEqual(2); 75 expect(null).assertFail(); 94 expect(null).assertFail(); 113 expect(null).assertFail(); 130 expect('abcd').assertEqual(key); 148 expect('abc').assertEqual(key); 166 expect('').assertEqual(key); 186 expect(valu [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | snprintf.c | 24 const char *expect; member 83 const char *expect; member 179 if (i != strlen(int_tests[j].expect)) { in main() 181 int_tests[j].fmt, int_tests[j].i, i, strlen(int_tests[j].expect)); in main() 183 if (strcmp(b, int_tests[j].expect) != 0) in main() 184 t_error("bad integer conversion: got \"%s\", want \"%s\"\n", b, int_tests[j].expect); in main() 189 if (i != strlen(fp_tests[j].expect)) { in main() 191 fp_tests[j].fmt, fp_tests[j].f, i, strlen(fp_tests[j].expect)); in main() 193 if (strcmp(b, fp_tests[j].expect) != 0) in main() 194 t_error("bad floating-point conversion: got \"%s\", want \"%s\"\n", b, fp_tests[j].expect); in main() [all...] |
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksRSABasicCallbackJsunit.test.js | 16 import { describe, it, expect } from '@ohos/hypium'; 54 expect(null).assertFail(); 58 expect(null).assertFail(); 73 expect(null).assertFail(); 88 expect(null).assertFail(); 92 expect(null).assertFail(); 107 expect(null).assertFail(); 122 expect(null).assertFail(); 126 expect(null).assertFail(); 141 expect(nul [all...] |
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksRSABasicCallbackJsunit.test.js | 16 import { describe, it, expect } from '@ohos/hypium';
50 expect(data.errorCode == 0).assertTrue();
51 expect(data.outData == null).assertTrue();
52 expect(data.properties == null).assertTrue();
53 expect(huks.getSdkVersion(genHuksOptionsNONC) != null).assertTrue();
57 expect(null).assertFail();
80 expect(data.errorCode == 0).assertTrue();
84 expect(null).assertFail();
107 expect(data.errorCode == 0).assertTrue();
111 expect(nul [all...] |
H A D | SecurityHuksSM2BasicCallbackJsunit.test.js | 16 import { describe, it, expect } from '@ohos/hypium';
45 expect(data.errorCode == 0).assertTrue();
46 expect(data.outData == null).assertTrue();
47 expect(data.properties == null).assertTrue();
48 expect(huks.getSdkVersion(genHuksOptionsNONC) != null).assertTrue();
52 expect(null).assertFail();
75 expect(data.errorCode == 0).assertTrue();
79 expect(null).assertFail();
109 expect(data.errorCode == 0).assertTrue();
113 expect(nul [all...] |
/third_party/protobuf/js/binary/ |
H A D | decoder_test.js | 147 expect(() => void writeValue.call(encoder, pastLowerLimit)).toThrow(); 150 expect(() => void writeValue.call(encoder, pastUpperLimit)).toThrow(); 232 expect(decoder.readSplitVarint64(hexJoin)).toEqual(hexJoinHash(hashA)); 233 expect(decoder.readSplitVarint64(hexJoin)).toEqual(hexJoinHash(hashB)); 234 expect(decoder.readSplitVarint64(hexJoin)).toEqual(hexJoinHash(hashC)); 235 expect(decoder.readSplitVarint64(hexJoin)).toEqual(hexJoinHash(hashD)); 237 expect(decoder.readSplitFixed64(hexJoin)).toEqual(hexJoinHash(hashA)); 238 expect(decoder.readSplitFixed64(hexJoin)).toEqual(hexJoinHash(hashB)); 239 expect(decoder.readSplitFixed64(hexJoin)).toEqual(hexJoinHash(hashC)); 240 expect(decode [all...] |
/test/xts/acts/location/geolocation_errorCode/entry/src/ohosTest/js/test/ |
H A D | LocationErrorTest.test.js | 21 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium' 46 expect().assertFail(); 61 expect(data).assertTrue(); 129 expect(err.code).assertEqual(401); 133 expect(true).assertFalse(); 138 expect(error.code).assertEqual("401"); 160 expect(error.code).assertEqual(3301200); 181 expect(err.code).assertEqual("401"); 188 expect(error.code).assertEqual("401"); 210 expect(erro [all...] |
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify04.c | 39 static char *expect_str_fail(int expect) in expect_str_fail() argument 41 if (expect == 0) in expect_str_fail() 46 static char *expect_str_pass(int expect) in expect_str_pass() argument 48 if (expect == 0) in expect_str_pass() 54 int expect, void (*test_event)(char *)) in check_mark() 57 file) != expect) { in check_mark() 61 expect_str_fail(expect)); in check_mark() 66 expect_str_pass(expect)); in check_mark() 69 if (expect == -1) in check_mark() 80 #define CHECK_MARK(file, flag, expect, fun 53 check_mark(char *file, unsigned long long flag, char *flagstr, int expect, void (*test_event)(char *)) check_mark() argument [all...] |
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/digestalgorithm/ |
H A D | publicDigestCallback.js | 15 import { expect } from "@ohos/hypium"; 126 expect(globalMd != null).assertTrue(); 132 expect(updateData === "update success").assertTrue(); 141 expect(digestBlob != null && mdLen != 0 && mdLen != null).assertTrue(); 164 expect(mdObj != null).assertTrue(); 166 expect(updateData === "update success").assertTrue(); 173 expect(digestBlob != null && mdLen != 0 && mdLen != null).assertTrue(); 190 expect(globalHMAC != null).assertTrue(); 195 expect(globalsymKeyGenerator != null).assertTrue(); 200 expect(symKe [all...] |
/test/xts/acts/communication/btmanager_errorcode401/entry/src/ohosTest/ets/test/ |
H A D | BtMGattAdvertiser401.test.js | 18 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from '@ohos/hypium' 156 expect(true).assertFalse(); 160 expect(Number(error.code)).assertEqual(401); 209 expect(true).assertFalse(); 213 expect(Number(error.code)).assertEqual(401); 256 expect(true).assertFalse(); 260 expect(Number(error.code)).assertEqual(401); 303 expect(true).assertFalse(); 307 expect(Number(error.code)).assertEqual(401); 350 expect(tru [all...] |
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_callback_BasicTest/entry/src/ohosTest/js/test/HMAC/ |
H A D | SecurityHuksHmacBasicCallbackJsunit.test.js | 16 import { describe, it, expect } from "@ohos/hypium"; 37 expect(null).assertFail(); 53 expect(null).assertFail(); 69 expect(null).assertFail(); 85 expect(null).assertFail(); 101 expect(null).assertFail(); 117 expect(null).assertFail(); 137 expect(null).assertFail(); 141 expect(null).assertFail(); 158 expect(nul [all...] |
/test/xts/acts/security/huks/security_huks_reformed_test/utils/param/signverify/ |
H A D | publicSignverifyCallback.js | 15 import { expect } from '@ohos/hypium'; 33 expect(null).assertFail(); 37 expect(null).assertFail(); 52 expect(null).assertFail(); 68 expect(null).assertFail(); 72 expect(null).assertFail(); 88 expect(null).assertFail(); 103 expect(null).assertFail(); 107 expect(null).assertFail(); 122 expect(nul [all...] |
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/ |
H A D | SecurityHuksCipherSM2BasicPromiseJsunit.test.js | 16 import { describe, it, expect } from '@ohos/hypium';
49 expect(data.errorCode == 0).assertTrue();
53 expect(null).assertFail();
63 expect(data.errorCode == 0).assertTrue();
67 expect(null).assertFail();
84 expect(data.errorCode == 0).assertTrue();
88 expect(null).assertFail();
99 expect(data.errorCode == 0).assertTrue();
103 expect(null).assertFail();
136 expect(dat [all...] |
/third_party/rust/crates/clap/tests/builder/ |
H A D | posix_compatible.rs | 15 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in flag_overrides_itself() 47 assert!(*m.get_one::<bool>("color").expect("defaulted by clap")); in posix_compatible_flags_long() 48 assert!(!*m.get_one::<bool>("flag").expect("defaulted by clap")); in posix_compatible_flags_long() 62 assert!(!*m.get_one::<bool>("color").expect("defaulted by clap")); in posix_compatible_flags_long_rev() 63 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in posix_compatible_flags_long_rev() 77 assert!(*m.get_one::<bool>("color").expect("defaulted by clap")); in posix_compatible_flags_short() 78 assert!(!*m.get_one::<bool>("flag").expect("defaulted by clap")); in posix_compatible_flags_short() 92 assert!(!*m.get_one::<bool>("color").expect("defaulted by clap")); in posix_compatible_flags_short_rev() 93 assert!(*m.get_one::<bool>("flag").expect("defaulted by clap")); in posix_compatible_flags_short_rev() 202 assert!(*m.get_one::<bool>("color").expect("defaulte in conflict_overridden() [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | pkcs7.rs | 307 Pkcs7::encrypt(&certs, message.as_bytes(), cipher, flags).expect("should succeed"); in encrypt_decrypt_test() 311 .expect("should succeed"); in encrypt_decrypt_test() 313 let (pkcs7_decoded, _) = Pkcs7::from_smime(encrypted.as_slice()).expect("should succeed"); in encrypt_decrypt_test() 317 .expect("should succeed"); in encrypt_decrypt_test() 331 let mut store_builder = X509StoreBuilder::new().expect("should succeed"); in sign_verify_test_detached() 335 store_builder.add_cert(root_ca).expect("should succeed"); in sign_verify_test_detached() 340 Pkcs7::sign(&cert, &pkey, &certs, message.as_bytes(), flags).expect("should succeed"); in sign_verify_test_detached() 344 .expect("should succeed"); in sign_verify_test_detached() 347 Pkcs7::from_smime(signed.as_slice()).expect("should succeed"); in sign_verify_test_detached() 358 .expect("shoul in sign_verify_test_detached() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | transtst.cpp | 60 2. Make liberal use of the expect() method; it is your friend. 314 expect(UnicodeString("ab>x|y;", "") + in TestSimpleRules() 330 expect(UnicodeString("ab>x|yzacw;") + in TestSimpleRules() 357 expect(*t, "abcdefgABCDEFGU", "&bcd&fg!^**!^*&"); in TestSimpleRules() 365 expect("{ [:Ll:] } x > y; [:Ll:] > z;", "aAbxq", "zAyzz"); in TestInlineSet() 366 expect("a[0-9]b > qrs", "1a7b9", "1qrs9"); in TestInlineSet() 368 expect(UnicodeString( in TestInlineSet() 383 * of the transliterators and expect the identity function. F x 429 expect(*fwd, DATA[i], DATA[i+1]); in TestRuleBasedInverse() 430 expect(*re in TestRuleBasedInverse() 4812 void TransliteratorTest::expect(const UnicodeString& rules, expect() function in TransliteratorTest 4819 void TransliteratorTest::expect(const UnicodeString& id, expect() function in TransliteratorTest 4835 void TransliteratorTest::expect(const Transliterator& t, expect() function in TransliteratorTest 4843 void TransliteratorTest::expect(const Transliterator& t, expect() function in TransliteratorTest [all...] |
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/entry/src/ohosTest/js/test/utils/symmetric/ |
H A D | publicSymmetricCallback.js | 16 import { expect } from "@ohos/hypium";
166 expect(symKeyGenerator != null).assertTrue();
168 expect(cipherGenerator != null).assertTrue();
173 expect(CallbackKey != null).assertTrue();
183 expect(initData === "init success").assertTrue();
193 expect(globalCipherText != null).assertTrue();
228 expect(initData === "init success").assertTrue();
252 expect(
280 expect(symKeyGenerator != null).assertTrue();
282 expect(cipherGenerato [all...] |
/test/xts/acts/security/cryptoFramework/js_api_test_one/entry/src/ohosTest/js/test/utils/symmetric/ |
H A D | publicSymmetricCallback.js | 15 import { expect } from "@ohos/hypium";
168 expect(symKeyGenerator != null).assertTrue();
170 expect(cipherGenerator != null).assertTrue();
175 expect(CallbackKey != null).assertTrue();
185 expect(initData === "init success").assertTrue();
195 expect(globalCipherText != null).assertTrue();
230 expect(initData === "init success").assertTrue();
253 expect(
280 expect(symKeyGenerator != null).assertTrue();
282 expect(cipherGenerato [all...] |