Home
last modified time | relevance | path

Searched refs:expect (Results 401 - 425 of 762) sorted by relevance

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

/third_party/icu/icu4c/source/test/cintltst/
H A Dncnvfbts.h25 static UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
27 static UBool testConvertToUnicode( const uint8_t *source, int sourcelen, const UChar *expect, int expectlen,
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_mainmenu.py13 expect = ['file', 'edit', 'format', 'run', 'shell',
15 self.assertEqual(actual, expect)
/third_party/rust/crates/rustix/tests/process/
H A Dwait.rs17 .expect("failed to execute child"); in test_waitpid()
22 .expect("failed to wait") in test_waitpid()
/third_party/rust/crates/syn/tests/common/
H A Dmod.rs13 Ok(s) => s.parse().expect("failed to parse ABORT_AFTER_FAILURE"), in abort_after()
21 Ok(s) => s.parse().expect("failed to parse RUST_MIN_STACK"), in rayon_init()
/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...]
/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()
/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);
/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)
/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/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...]
/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/node/deps/v8/third_party/jinja2/
H A Dext.py243 parser.stream.expect("comma")
249 name = parser.stream.expect("name")
278 parser.stream.expect("block_end")
297 name = parser.stream.expect("name")
306 parser.stream.expect("block_end")
357 name = parser.stream.expect("name").value
360 parser.stream.expect("variable_end")
494 lineno = parser.stream.expect("name:debug").lineno
/third_party/skia/third_party/externals/jinja2/
H A Dext.py243 parser.stream.expect("comma")
249 name = parser.stream.expect("name")
278 parser.stream.expect("block_end")
297 name = parser.stream.expect("name")
306 parser.stream.expect("block_end")
357 name = parser.stream.expect("name").value
360 parser.stream.expect("variable_end")
494 lineno = parser.stream.expect("name:debug").lineno
/test/xts/acts/security/huks/security_huks_basic/huks_agree_callback_BasicTest/entry/src/ohosTest/js/test/Agree/
H A DSecurityHuksECDHBasicFinish63KBCallbackJsunit.test.js16 import { describe, it, expect } from '@ohos/hypium';
71 expect(res).assertTrue();

Completed in 17 milliseconds

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