Home
last modified time | relevance | path

Searched refs:expect (Results 426 - 450 of 762) sorted by relevance

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

/test/xts/acts/security/huks/security_huks_basic/huks_agree_promise_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksAgreeX25519BasicFinish63KBPromiseJsunit.test.js16 import { describe, it, beforeAll, beforeEach, expect} from '@ohos/hypium';
73 expect(res).assertTrue();
H A DSecurityHuksAgreeDHBasicFinish63KBPromiseJsunit.test.js16 import { describe, it, beforeAll, expect } from '@ohos/hypium';
69 expect(res).assertTrue();
/third_party/node/deps/v8/third_party/ittapi/ittapi-rs/tests/
H A Dbindgen-up-to-date.rs20 .expect("Unable to generate ittnotify bindings.") in test_ittnotify_bindings_up_to_date()
48 .expect("Unable to generate jitprofiling bindings") in test_jitprofiling_bindings_up_to_date()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Ddynamic_loading_template.rs44 (self.foo.as_ref().expect("Expected function, got error."))(x) in foo()
47 (self.foo1.as_ref().expect("Expected function, got error."))(x) in foo1()
H A Ddynamic_loading_with_allowlist.rs60 (self.foo.as_ref().expect("Expected function, got error."))(x) in foo()
66 (self.baz.as_ref().expect("Expected function, got error."))(x) in baz()
/third_party/rust/crates/nix/test/
H A Dtest_time.rs14 nix::time::clock_getres(ClockId::CLOCK_REALTIME).expect("assertion failed"); in test_clock_getres()
19 clock_gettime(ClockId::CLOCK_REALTIME).expect("assertion failed"); in test_clock_gettime()
/third_party/vk-gl-cts/modules/gles3/scripts/
H A Dgen-keywords.py57 self.expect = '' if expectToCompile else 'expect compile_fail'
62 "EXPECT" : self.expect }
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
H A Dcpuset_hotplug_test.sh42 # check_result <result> <expect>
46 local expect="$2"
48 case "$expect" in
54 test "$expect" = "$result"
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A Dcpuset_syscall_testset.sh48 # $4 - expect return value of test task
92 tst_resm TFAIL "Test task exited abnormally.(expect return value is 0)"
97 tst_resm TFAIL "Test task exited abnormally.(expect return value is !0)"
110 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\""
122 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\""
134 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"1\""
146 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0-1\""
158 tst_resm TFAIL "Result(getaffinity) = \"$(cat $TEST_OUTPUT)\", expect = \"0,\")"
163 tst_resm TFAIL "Result(/proc/<pid>/status) = \"$allowed_list\", expect = \"0\")"
175 tst_resm TFAIL "Result(getaffinity) = \"$(cat $TEST_OUTPUT)\", expect
[all...]
/third_party/ltp/testcases/kernel/syscalls/cma/
H A Dprocess_vm_readv03.c97 unsigned char expect, actual; in child_read() local
125 expect = count % 256; in child_read()
127 if (expect != actual) in child_read()
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_pyshell.py25 expect, taglen = "= RESTART: Shell", 16
28 self.assertEqual(pyshell.restart_line(width, ''), expect)
29 self.assertEqual(pyshell.restart_line(taglen+2, ''), expect+' =')
/third_party/icu/icu4c/source/tools/genrb/
H A Dparse.cpp258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function
291 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString()
335 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseUCARules()
358 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseUCARules()
476 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseTransliterator()
499 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseTransliterator()
549 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseDependency()
598 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseDependency()
614 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status); in parseString()
619 doesn't survive expect eithe in parseString()
[all...]
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dparse.cpp258 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function
291 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString()
335 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseUCARules()
358 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseUCARules()
476 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseTransliterator()
499 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseTransliterator()
549 expect(state, TOK_STRING, &tokenValue, nullptr, &line, status); in parseDependency()
598 expect(state, TOK_CLOSE_BRACE, nullptr, nullptr, nullptr, status); in parseDependency()
614 expect(state, TOK_STRING, &tokenValue, nullptr, nullptr, status); in parseString()
619 doesn't survive expect eithe in parseString()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dparse.cpp250 expect(ParseState* state, enum ETokenType expectedToken, struct UString **tokenValue, struct UString *comment, uint32_t *linenumber, UErrorCode *status) in expect() function
283 expect(state, TOK_STRING, &tokenValue, comment, line, status); in getInvariantString()
327 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseUCARules()
350 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseUCARules()
468 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseTransliterator()
491 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseTransliterator()
541 expect(state, TOK_STRING, &tokenValue, NULL, &line, status); in parseDependency()
590 expect(state, TOK_CLOSE_BRACE, NULL, NULL, NULL, status); in parseDependency()
606 expect(state, TOK_STRING, &tokenValue, NULL, NULL, status); in parseString()
611 doesn't survive expect eithe in parseString()
[all...]
/third_party/python/Lib/lib2to3/pgen2/
H A Dpgen.py153 name = self.expect(token.NAME)
154 self.expect(token.OP, ":")
156 self.expect(token.NEWLINE)
281 self.expect(token.OP, "]")
301 self.expect(token.OP, ")")
313 def expect(self, type, value=None): member in ParserGenerator
/third_party/node/tools/inspector_protocol/jinja2/
H A Dext.py231 parser.stream.expect('comma')
237 name = parser.stream.expect('name')
263 parser.stream.expect('block_end')
282 name = parser.stream.expect('name')
289 parser.stream.expect('block_end')
335 name = parser.stream.expect('name').value
338 parser.stream.expect('variable_end')
/third_party/icu/icu4c/source/test/cintltst/
H A Dncnvfbts.c132 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen, in testConvertFromUnicode() argument
244 printSeq((const unsigned char*)expect, expectLen); in testConvertFromUnicode()
260 printSeqErr((const unsigned char*)expect, expectLen); in testConvertFromUnicode()
280 if(!memcmp(junkout, expect, expectLen)) in testConvertFromUnicode()
290 printSeqErr((const unsigned char*)expect, expectLen); in testConvertFromUnicode()
295 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen, in testConvertToUnicode() argument
406 printUSeq(expect, expectlen); in testConvertToUnicode()
438 if(!memcmp(junkout, expect, expectlen*2)) in testConvertToUnicode()
449 printUSeqErr(expect, expectlen); in testConvertToUnicode()
/test/xts/acts/security/huks/security_huks_reformed_test/huks_agree_promise_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksAgreeECDHBasicFinish63KBPromiseJsunit.test.js16 import { describe, it, beforeEach, beforeAll, expect } from '@ohos/hypium';
77 expect(res).assertTrue();
H A DSecurityHuksAgreeX25519BasicFinish63KBPromiseJsunit.test.js16 import { describe, expect, it } from '@ohos/hypium';
80 // expect(res == true).assertTrue();
83 expect(res).assertTrue();
/test/xts/acts/storage/storagefilejstest/entry/src/ohosTest/js/test/
H A DCommon.js22 describe, it, expect
95 expect
/third_party/rust/crates/clap/examples/
H A Dpacman.rs77 .expect("contains_id") in main()
87 .expect("is present") in main()
/third_party/python/Lib/test/test_json/
H A Dtest_scanstring.py90 def assertScan(given, expect):
92 (expect, len(given)))
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dtraits_test.cc94 // CheckWideningConvertsTo<T, U, [expect]>
97 // If "expect" is false, then asserts that T does NOT widening-convert to U.
98 template <typename T, typename U, bool expect = true>
100 static_assert(is_widening_convertible<T, U>::value == expect, in CheckWideningConvertsTo()
/third_party/rust/crates/clap/src/parser/
H A Darg_matcher.rs167 .expect(INTERNAL_ERROR_MSG)
176 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG);
181 let ma = self.get_mut(arg).expect(INTERNAL_ERROR_MSG);
196 let expected = o.get_num_args().expect(INTERNAL_ERROR_MSG);
/third_party/rust/crates/rust-cexpr/tests/
H A Dclang.rs48 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition()
59 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition()
99 .expect(&format!("Invalid definition in testcase: {}", display_name)) in test_definition()
115 .expect(&format!( in test_definition()

Completed in 13 milliseconds

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