/third_party/icu/icu4c/source/test/cintltst/ |
H A D | ncnvfbts.h | 25 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 D | test_mainmenu.py | 13 expect = ['file', 'edit', 'format', 'run', 'shell', 15 self.assertEqual(actual, expect)
|
/third_party/rust/crates/rustix/tests/process/ |
H A D | wait.rs | 17 .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 D | mod.rs | 13 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 D | NumberFormatTest.java | 276 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 D | NumberFormatTest.java | 273 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 D | interface.js | 45 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 D | nnrt_utils.h | 73 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 D | nnrt_utils.h | 73 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 D | git.rs | 66 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 D | atomic-test.c | 70 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 D | report.js | 79 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 D | dag_test.cpp | 33 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 D | hdi_nnrt_test_utils.cpp | 266 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 D | hdi_nnrt_test_utils.cpp | 266 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 D | gen-tag-table.py | 38 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 D | test-async-hooks-fatal-error.js | 42 for (const [valueType, expect] of valueTypes) { 50 assert.strictEqual(cp.stderr.trim().split(os.EOL)[0], expect, type);
|
H A D | test-cli-node-options-disallowed.js | 37 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 D | telnet01.sh | 27 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 D | 04_01_enum.rs | 26 .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 D | main.rs | 52 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 D | test_separators.py | 10 expect = textwrap.dedent("""\ 40 self.assertEqual(d2, expect)
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | ext.py | 243 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 D | ext.py | 243 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 D | SecurityHuksECDHBasicFinish63KBCallbackJsunit.test.js | 16 import { describe, it, expect } from '@ohos/hypium';
71 expect(res).assertTrue();
|