Home
last modified time | relevance | path

Searched refs:expect (Results 351 - 375 of 762) sorted by relevance

1...<<11121314151617181920>>...31

/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksCipherAESBasicPromiseJsunit.test.js16 import { describe, it, expect, beforeAll } from '@ohos/hypium';
52 expect(null).assertFail();
56 expect(null).assertFail();
70 expect(null).assertFail();
74 expect(null).assertFail();
121 expect(null).assertFail();
125 expect(null).assertFail();
153 expect(null).assertFail();
157 expect(null).assertFail();
170 expect(nul
[all...]
H A DSecurityHuksCipherSM4BasicPromiseJsunit.test.js16 import { describe, it, expect, beforeAll } from '@ohos/hypium';
54 expect(null).assertFail();
58 expect(null).assertFail();
72 expect(null).assertFail();
76 expect(null).assertFail();
107 expect(null).assertFail();
111 expect(null).assertFail();
117 expect(null).assertFail();
138 expect(null).assertFail();
142 expect(nul
[all...]
/third_party/rust/crates/nix/test/sys/
H A Dtest_sockopt.rs304 .expect("setting ipv4ttl on an inet socket should succeed"); in test_ttl_opts()
313 .expect("setting ipv6ttl on an inet6 socket should succeed"); in test_ttl_opts()
327 .expect("setting IP_DONTFRAG on an inet stream socket should succeed"); in test_dontfrag_opts()
328 setsockopt(fd4, sockopt::IpDontFrag, &false).expect( in test_dontfrag_opts()
338 setsockopt(fd4d, sockopt::IpDontFrag, &true).expect( in test_dontfrag_opts()
341 setsockopt(fd4d, sockopt::IpDontFrag, &false).expect( in test_dontfrag_opts()
364 setsockopt(fd6, sockopt::Ipv6DontFrag, &true).expect( in test_v6dontfrag_opts()
367 setsockopt(fd6, sockopt::Ipv6DontFrag, &false).expect( in test_v6dontfrag_opts()
377 setsockopt(fd6d, sockopt::Ipv6DontFrag, &true).expect( in test_v6dontfrag_opts()
380 setsockopt(fd6d, sockopt::Ipv6DontFrag, &false).expect( in test_v6dontfrag_opts()
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dparse.c625 struct token *expect(struct token *token, int op, const char *where) in expect() function
766 token = expect(token, '}', "at end of specifier"); in struct_union_enum_specifier()
1073 return expect(token, ')', "after typeof"); in typeof_specifier()
1165 token = expect(token, '(', "after address_space attribute"); in attribute_address_space()
1191 token = expect(next, ')', "after address_space attribute"); in attribute_address_space()
1255 token = expect(token, '(', "after mode attribute"); in attribute_mode()
1264 sparse_error(token->pos, "expect attribute mode symbol\n"); in attribute_mode()
1265 token = expect(token, ')', "after mode attribute"); in attribute_mode()
1275 token = expect(token, '(', "after context attribute"); in attribute_context()
1277 token = expect(toke in attribute_context()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dtranstst.h50 * of the transliterators and expect the identity function. F x
381 void expect(const UnicodeString& rules,
386 void expect(const UnicodeString& id,
392 void expect(const Transliterator& t,
397 void expect(const Transliterator& t,
/third_party/node/test/parallel/
H A Dtest-event-emitter-remove-all-listeners.js28 function expect(expected) { function
49 ee.on('removeListener', expect(['bar', 'baz', 'baz']));
71 ee.on('removeListener', expect(['foo', 'bar', 'removeListener']));
72 ee.on('removeListener', expect(['foo', 'bar']));
H A Dtest-http-zero-length-write.js62 const expect = 'asdffoobar';
71 assert.strictEqual(actual, expect);
86 assert.strictEqual(actual, expect);
H A Dtest-http2-zero-length-write.js24 const expect = 'asdffoobar';
35 assert.strictEqual(actual, expect);
47 assert.strictEqual(actual, expect);
H A Dtest-path-parse-format.js157 const message = `path.${os}.parse(${JSON.stringify(test[0])})\n expect=${
206 testCases.forEach(([element, expect]) => {
207 assert.deepStrictEqual(path.parse(element), expect);
212 testCases.forEach(([element, expect]) => {
213 assert.strictEqual(path.format(element), expect);
/third_party/skia/third_party/externals/tint/src/transform/
H A Dvectorize_scalar_matrix_constructors_test.cc64 auto expect = utils::ReplaceAll(tmpl, "${values}", vector_values); in TEST_P() local
68 EXPECT_EQ(expect, str(got)); in TEST_P()
93 auto expect = src; in TEST_P() local
97 EXPECT_EQ(expect, str(got)); in TEST_P()
/third_party/rust/crates/libc/ci/
H A Druntest-android.rs17 .expect("failed to run: adb wait-for-device"); in main()
25 .expect("failed to run: adb push"); in main()
33 .expect("failed to run: adb shell"); in main()
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dexpect_unittest.py14 """Tests for the expect module."""
16 import expect namespace
22 class TestStdoutMatchADotC(expect.StdoutMatch):
42 expect.get_object_filename(f[0]) for f in source_and_object_names
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dexpect_unittest.py14 """Tests for the expect module."""
16 import expect namespace
22 class TestStdoutMatchADotC(expect.StdoutMatch):
42 expect.get_object_filename(f[0]) for f in source_and_object_names
/third_party/python/Lib/test/test_json/
H A Dtest_encode_basestring_ascii.py23 for input_string, expect in CASES:
25 self.assertEqual(result, expect,
27 result, expect, fname, input_string))
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
H A Dstring.rs22 .expect("failed decoding non-empty suffix");
52 .expect("failed decoding non-empty prefix");
58 .expect("failed decoding non-empty substring")
/third_party/spirv-tools/test/tools/
H A Dexpect_unittest.py14 """Tests for the expect module."""
16 import expect namespace
22 class TestStdoutMatchADotC(expect.StdoutMatch):
42 expect.get_object_filename(f[0]) for f in source_and_object_names
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.cpp217 float* expect) in ExecuteGraphMock()
245 if(expect!=nullptr){ in ExecuteGraphMock()
246 ret = device->MemoryCopy(expect, operandTem.length); in ExecuteGraphMock()
249 LOGE("[NNRtTest] device set expect output failed! ret=%d\n", ret); in ExecuteGraphMock()
260 float* expect) in ExecutorWithMemory()
293 ret = device->MemoryCopy(expect, operandTem.length); in ExecutorWithMemory()
295 LOGE("[NNRtTest] device set expect output failed! ret=%d\n", ret); in ExecutorWithMemory()
452 bool CheckOutput(const float* output, const float* expect) in CheckOutput() argument
454 if (output == nullptr || expect == nullptr) { in CheckOutput()
455 LOGE("[NNRtTest] output or expect i in CheckOutput()
216 ExecuteGraphMock(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, float* expect) ExecuteGraphMock() argument
259 ExecutorWithMemory(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, OH_NN_Memory *OHNNMemory[], float* expect) ExecutorWithMemory() argument
[all...]
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dnnrt_utils.cpp217 float* expect) in ExecuteGraphMock()
245 if(expect!=nullptr){ in ExecuteGraphMock()
246 ret = device->MemoryCopy(expect, operandTem.length); in ExecuteGraphMock()
249 LOGE("[NNRtTest] device set expect output failed! ret=%d\n", ret); in ExecuteGraphMock()
260 float* expect) in ExecutorWithMemory()
293 ret = device->MemoryCopy(expect, operandTem.length); in ExecutorWithMemory()
295 LOGE("[NNRtTest] device set expect output failed! ret=%d\n", ret); in ExecutorWithMemory()
452 bool CheckOutput(const float* output, const float* expect) in CheckOutput() argument
454 if (output == nullptr || expect == nullptr) { in CheckOutput()
455 LOGE("[NNRtTest] output or expect i in CheckOutput()
216 ExecuteGraphMock(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, float* expect) ExecuteGraphMock() argument
259 ExecutorWithMemory(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, OH_NN_Memory *OHNNMemory[], float* expect) ExecutorWithMemory() argument
[all...]
/test/xts/acts/security/huks/security_huks_basic/huks_cipher_callback_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DsecurityHuksExportSupportJsunit.test.js16 import { describe, it, expect, beforeAll } from '@ohos/hypium';
35 expect(data.errorCode == 0).assertTrue();
39 expect(null).assertFail();
61 expect(data.errorCode == 0).assertTrue();
65 expect(null).assertFail();
87 expect(data.errorCode == 0).assertTrue();
91 expect(null).assertFail();
471 expect(null).assertFail();
475 expect(err.code == -13).assertTrue();
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationThaiTest.java95 int expect = 0; in compareArray()
97 expect = -1; in compareArray()
99 expect = 1; in compareArray()
101 expect = 0; in compareArray()
103 // expect = Integer.decode(tests[i+1]).intValue(); in compareArray()
109 CollationTest.doTest(this, c, s1, s2, expect); in compareArray()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationThaiTest.java98 int expect = 0; in compareArray()
100 expect = -1; in compareArray()
102 expect = 1; in compareArray()
104 expect = 0; in compareArray()
106 // expect = Integer.decode(tests[i+1]).intValue(); in compareArray()
112 CollationTest.doTest(this, c, s1, s2, expect); in compareArray()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_optimizer_test.cpp277 auto expect = from_string(expect_orig); in check() local
280 expect->print(expect_str); in check()
291 auto expect = from_string(expect_orig); in ra_check() local
292 expect->value_factory().clear_pins(); in ra_check()
295 expect->print(expect_str); in ra_check()
/third_party/rust/crates/clap/tests/builder/
H A Dglobal_args.rs103 assert!(*m.get_one::<bool>("global").expect("defaulted by clap")); in global_arg_available_in_subcommand()
108 .expect("defaulted by clap")); in global_arg_available_in_subcommand()
128 assert!(*m.get_one::<bool>("long-a").expect("defaulted by clap")); in deeply_nested_discovery()
130 assert!(*m.get_one::<bool>("long-b").expect("defaulted by clap")); in deeply_nested_discovery()
132 assert!(*m.get_one::<bool>("long-c").expect("defaulted by clap")); in deeply_nested_discovery()
H A Darg_aliases.rs131 assert!(*a.get_one::<bool>("flag").expect("defaulted by clap")); in single_alias_of_flag()
159 assert!(*flag.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
160 assert!(*inv.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
161 assert!(*cool.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
162 assert!(*als.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_aliases_of_flag()
H A Darg_aliases_short.rs94 assert!(*a.get_one::<bool>("flag").expect("defaulted by clap")); in single_short_alias_of_flag()
122 assert!(*flag.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
123 assert!(*als1.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
124 assert!(*als2.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()
125 assert!(*als3.get_one::<bool>("flag").expect("defaulted by clap")); in multiple_short_aliases_of_flag()

Completed in 13 milliseconds

1...<<11121314151617181920>>...31