Home
last modified time | relevance | path

Searched refs:expect (Results 551 - 575 of 993) sorted by relevance

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

/foundation/distributeddatamgr/relational_store/test/js/relationalstore/performance/src/
H A DRdbStoreCallbackPerf.js16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, Assert} from 'deccjsunit/index';
86 expect(averageTime < BASE_LINE).assertTrue();
117 expect(averageTime < BASE_LINE).assertTrue();
/foundation/distributeddatamgr/relational_store/test/js/rdb/performance/src/
H A DRdbStoreCallbackPerf.js16 import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect, Assert} from 'deccjsunit/index';
85 expect(averageTime < BASE_LINE).assertTrue();
116 expect(averageTime < BASE_LINE).assertTrue();
/test/testfwk/arkxtest/jsunit/src/
H A Dinterface.js45 const expect = function (actualValue) {
46 return Reflect.has(core, 'expect') ? core.expect(actualValue) : (actualValue) => { };
67 describe, it, beforeAll, beforeEach, afterEach, afterAll, expect, beforeItSpecified, afterItSpecified, xdescribe, xit
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dnnrt_utils.h73 float* expect);
79 int ExecuteGraphMock(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, float* expect);
85 bool CheckOutput(const float* output, const float* expect);
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dnnrt_utils.h73 float* expect);
79 int ExecuteGraphMock(OH_NNExecutor *executor, const OHNNGraphArgs &graphArgs, float* expect);
85 bool CheckOutput(const float* output, const float* expect);
/third_party/rust/crates/clap/examples/
H A Dgit.rs66 sub_matches.get_one::<String>("REMOTE").expect("required") in main()
73 .expect("defaulted in clap"); in main()
94 sub_matches.get_one::<String>("REMOTE").expect("required") in main()
/third_party/pulseaudio/src/tests/
H A Datomic-test.c70 size_t expect = 0; in read_func() local
77 ck_assert_uint_eq(value, expect); in read_func()
78 ++expect; in read_func()
/foundation/communication/ipc/example/rust_test/service/src/
H A Daccess_token.rs41 let name = CString::new("com.ipc.calc").expect("process name is invalid"); in init_access_token()
42 let apl = CString::new("normal").expect("apl string is invalid"); in init_access_token()
/third_party/node/test/parallel/
H A Dtest-async-hooks-fatal-error.js42 for (const [valueType, expect] of valueTypes) {
50 assert.strictEqual(cp.stderr.trim().split(os.EOL)[0], expect, type);
H A Dtest-cli-node-options-disallowed.js37 const expect = `${process.execPath}: ${opt} is not allowed in NODE_OPTIONS`;
40 assert.strictEqual(message, expect);
/third_party/ltp/testcases/network/tcp_cmds/telnet/
H A Dtelnet01.sh27 tst_require_cmds telnet expect
60 expect -c "
63 expect -re \"login:\"
66 expect -re \"Password:\"
69 expect {
/third_party/rust/crates/clap/examples/tutorial_builder/
H A D04_01_enum.rs26 .expect("no values are skipped") in fmt()
57 .expect("'MODE' is required and parsing will fail if its missing") in main()
/third_party/rust/crates/bindgen/bindgen-cli/
H A Dmain.rs52 builder.generate().expect("Unable to generate bindings"); in main()
56 bindings.write(output).expect("Unable to write output"); in main()
/third_party/python/Lib/test/test_json/
H A Dtest_separators.py10 expect = textwrap.dedent("""\
40 self.assertEqual(d2, expect)
/third_party/python/Lib/test/
H A Dtest_glob.py297 expect = [('a', 'bcd', 'EF'), ('EF',)]
299 expect += [('sym3', 'EF')]
300 eq(self.rglob('**', 'EF'), self.joins(*expect))
301 expect = [('a', 'bcd', 'EF'), ('aaa', 'zzzF'), ('aab', 'F'), ('EF',)]
303 expect += [('sym3', 'EF')]
304 eq(self.rglob('**', '*F'), self.joins(*expect))
326 expect = [join('a', 'bcd', 'EF'), 'EF']
328 expect += [join('sym3', 'EF')]
329 eq(glob.glob(join('**', 'EF'), recursive=True), expect)
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs393 let inode = fstat(fd).expect("fstat failed").st_ino as usize; in test_ofd_write_lock()
403 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("write lock failed"); in test_ofd_write_lock()
410 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("write unlock failed"); in test_ofd_write_lock()
431 let inode = fstat(fd).expect("fstat failed").st_ino as usize; in test_ofd_read_lock()
441 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("read lock failed"); in test_ofd_read_lock()
448 fcntl(fd, FcntlArg::F_OFD_SETLKW(&flock)).expect("read unlock failed"); in test_ofd_read_lock()
456 let file = File::open("/proc/locks").expect("open /proc/locks failed"); in lock_info()
496 .expect("posix_fadvise failed"); in test_success()
541 assert_eq!(tmp.read(&mut data).expect("read failure"), LEN); in success()
/third_party/icu/icu4c/source/test/intltest/
H A Dnumfmtst.cpp446 expect(df, -1, u"1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
666 expect(*fmt, num, "$12.34"); in TestScientific2()
668 expect(*fmt, num, "$1.23E1"); in TestScientific2()
670 expect(*fmt, num, "$12.34"); in TestScientific2()
681 expect(fmt, .01234, "12.3E-3"); in TestScientificGrouping()
682 expect(fmt, .1234, "123E-3"); in TestScientificGrouping()
683 expect(fmt, 1.234, "1.23E0"); in TestScientificGrouping()
684 expect(fmt, 12.34, "12.3E0"); in TestScientificGrouping()
685 expect(fmt, 123.4, "123E0"); in TestScientificGrouping()
686 expect(fm in TestScientificGrouping()
2866 void NumberFormatTest::expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) { expect() function in NumberFormatTest
2940 void NumberFormatTest::expect(NumberFormat& fmt, const Formattable& n, expect() function in NumberFormatTest
2978 void NumberFormatTest::expect(NumberFormat* fmt, const Formattable& n, expect() function in NumberFormatTest
7181 UnicodeString expect = "0001"; TestFormatFastpaths() local
7205 UnicodeString expect = "-9223372036854775808"; TestFormatFastpaths() local
7229 UnicodeString expect = "9223372036854775807"; TestFormatFastpaths() local
7253 UnicodeString expect = "0000000000000000000"; TestFormatFastpaths() local
7272 UnicodeString expect = "-9223372036854775807"; TestFormatFastpaths() local
[all...]
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dpty_process.rs114 write_pty.resize(24, 80, 0, 0).expect("resize set fail!"); in sdv_pty_split_test()
146 write_pty.resize(24, 80, 0, 0).expect("resize set fail!"); in sdv_pty_into_split_test()
175 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in sdv_pty_unsplit_test()
207 let mut pty = Pty::unsplit(read_pty, write_pty).expect("unsplit fail!"); in sdv_pty_debug_test()
/third_party/mesa3d/src/util/tests/
H A Ddag_test.cpp33 struct util_dynarray expect, actual; member in dag_test
40 util_dynarray_init(&expect, mem_ctx); in dag_test()
94 util_dynarray_append(&expect, result_type, res); \
143 #define TEST_CHECK() EXPECT_PRED_FORMAT2(int_dynarrays_equal_pred, &expect, &actual)
/third_party/node/test/common/
H A Dreport.js79 function checkLoop(actual, rest, expect) {
82 assert.strictEqual(actual, expect);
85 checkLoop(actual, rest, expect);
88 let actual, expect;
90 [actual, expect] = field;
93 expect = undefined;
95 checkLoop(report, actual.split('.'), expect);
/test/xts/hats/ai/nnrt/hdi/v1_0/common/
H A Dhdi_nnrt_test_utils.cpp266 bool CheckExpectOutput(const std::vector<float> &output, const std::vector<float> &expect) in CheckExpectOutput() argument
268 if (output.empty() || expect.empty()) { in CheckExpectOutput()
269 printf("[NNRtTest] [CheckExpectOutput] output or expect is empty.\n"); in CheckExpectOutput()
273 int expectSize = expect.size(); in CheckExpectOutput()
275 printf("[NNRtTest] [CheckExpectOutput] output size not match: expect:%d, actual:%d\n", outputSize, expectSize); in CheckExpectOutput()
279 if (std::abs(float(output[i]) - float(expect[i])) > 1e-8) { in CheckExpectOutput()
280 printf("[NNRtTest] [CheckExpectOutput] output %d not match: expect:%f, actual:%f\n", i, float(expect[i]), in CheckExpectOutput()
/test/xts/hats/ai/nnrt/hdi/v2_0/common/
H A Dhdi_nnrt_test_utils.cpp266 bool CheckExpectOutput(const std::vector<float> &output, const std::vector<float> &expect) in CheckExpectOutput() argument
268 if (output.empty() || expect.empty()) { in CheckExpectOutput()
269 printf("[NNRtTest] [CheckExpectOutput] output or expect is empty.\n"); in CheckExpectOutput()
273 int expectSize = expect.size(); in CheckExpectOutput()
275 printf("[NNRtTest] [CheckExpectOutput] output size not match: expect:%d, actual:%d\n", outputSize, expectSize); in CheckExpectOutput()
279 if (std::abs(float(output[i]) - float(expect[i])) > 1e-8) { in CheckExpectOutput()
280 printf("[NNRtTest] [CheckExpectOutput] output %d not match: expect:%f, actual:%f\n", i, float(expect[i]), in CheckExpectOutput()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DNumberFormatTest.java276 expect(df, -1, "1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
630 expect(df, "1.23\u20AC", 1.23); in TestMismatchedCurrencyFormatFail()
952 ", expect pos/val " + item.getDoubExpectPos() + "/" + item.getDoubExpectVal() + in TestParseCurrency()
956 ", expect pos/val " + item.getDoubExpectPos() + "/" + item.getDoubExpectVal() + in TestParseCurrency()
968 ", expect pos/val/curr " + curExpectPos + "/" + item.getCurExpectVal() + "/" + item.getCurExpectCurr() + in TestParseCurrency()
972 ", expect pos/val/curr " + curExpectPos + "/" + item.getCurExpectVal() + "/" + item.getCurExpectCurr() + in TestParseCurrency()
1130 expect(f, 123456789L, "12,34,56,789"); in TestSecondaryGrouping()
1135 expect(f, 123456789L, "12,3456,789"); in TestSecondaryGrouping()
1143 // expect "1,87,65,43,210", but with Hindi digits in TestSecondaryGrouping()
1198 expect(fmt in TestExponent()
2677 public void expect(NumberFormat fmt, Number n, String exp, boolean rt) { expect() method in NumberFormatTest
2742 public void expect(NumberFormat fmt, Number n, String exp) { expect() method in NumberFormatTest
2747 public void expect(NumberFormat fmt, double n, String exp) { expect() method in NumberFormatTest
2752 public void expect(NumberFormat fmt, long n, String exp) { expect() method in NumberFormatTest
2757 public void expect(NumberFormat fmt, String str, Number n) { expect() method in NumberFormatTest
2799 public void expect(NumberFormat fmt, String str, double n) { expect() method in NumberFormatTest
2804 public void expect(NumberFormat fmt, String str, long n) { expect() method in NumberFormatTest
3214 private final double expect; global() field in NumberFormatTest.ParseThreadJB5358
3217 ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) ParseThreadJB5358() argument
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTest.java273 expect(df, -1, "1.00"); // parses as 1, not -1 in Test20186_SpacesAroundSemicolon()
627 expect(df, "1.23\u20AC", 1.23); in TestMismatchedCurrencyFormatFail()
949 ", expect pos/val " + item.getDoubExpectPos() + "/" + item.getDoubExpectVal() + in TestParseCurrency()
953 ", expect pos/val " + item.getDoubExpectPos() + "/" + item.getDoubExpectVal() + in TestParseCurrency()
965 ", expect pos/val/curr " + curExpectPos + "/" + item.getCurExpectVal() + "/" + item.getCurExpectCurr() + in TestParseCurrency()
969 ", expect pos/val/curr " + curExpectPos + "/" + item.getCurExpectVal() + "/" + item.getCurExpectCurr() + in TestParseCurrency()
1127 expect(f, 123456789L, "12,34,56,789"); in TestSecondaryGrouping()
1132 expect(f, 123456789L, "12,3456,789"); in TestSecondaryGrouping()
1140 // expect "1,87,65,43,210", but with Hindi digits in TestSecondaryGrouping()
1195 expect(fmt in TestExponent()
2674 public void expect(NumberFormat fmt, Number n, String exp, boolean rt) { expect() method in NumberFormatTest
2739 public void expect(NumberFormat fmt, Number n, String exp) { expect() method in NumberFormatTest
2744 public void expect(NumberFormat fmt, double n, String exp) { expect() method in NumberFormatTest
2749 public void expect(NumberFormat fmt, long n, String exp) { expect() method in NumberFormatTest
2754 public void expect(NumberFormat fmt, String str, Number n) { expect() method in NumberFormatTest
2796 public void expect(NumberFormat fmt, String str, double n) { expect() method in NumberFormatTest
2801 public void expect(NumberFormat fmt, String str, long n) { expect() method in NumberFormatTest
3211 private final double expect; global() field in NumberFormatTest.ParseThreadJB5358
3214 ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) ParseThreadJB5358() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dgen-tag-table.py38 def expect (condition, message=None): function
362 expect (2 <= len (self._current_tr) <= 3)
367 expect (tag.endswith (' (deprecated)'), 'ill-formed OpenType tag: %s' % tag)
397 expect (self.header)
597 expect (self.header)
984 expect (next (iter (bcp_47.prefixes[lt.variant])) == lt.language,
1107 expect (ot_tag not in disambiguation, 'unnecessary disambiguation for OT tag: %s' % ot_tag)
1115 expect (ot_tag not in disambiguation, 'There is no possible valid disambiguation for %s' % ot_tag)
1123 expect (ot_tag in disambiguation, 'ambiguous OT tag: %s %s' % (ot_tag, str (macrolanguages)))
1124 expect (disambiguatio
[all...]

Completed in 23 milliseconds

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