Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 285) sorted by relevance

12345678910>>...12

/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/not_support_interface/cpp_target/
H A Dfail_output.txt2 [IDL-GEN]: [ParseMethod:682] [IFoo.idl:19:5] error:expected method name before 'void' token
3 [IDL-GEN]: [ParseMethodParamList:820] [IFoo.idl:19:5] error:expected '(' before 'void' token
4 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:19:5] error:expected '[' before 'void' token
6 [IDL-GEN]: [ParseParam:872] [IFoo.idl:19:25] error:expected param name before ')' token
9 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:20:5] error:expected '[' before 'boolean' token
11 [IDL-GEN]: [ParseParam:872] [IFoo.idl:20:48] error:expected param name before ',' token
14 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:21:5] error:expected '[' before 'byte' token
16 [IDL-GEN]: [ParseParam:872] [IFoo.idl:21:42] error:expected param name before ',' token
19 [IDL-GEN]: [CheckParamAttr:932] [IFoo.idl:22:5] error:expected '[' before 'short' token
21 [IDL-GEN]: [ParseParam:872] [IFoo.idl:22:45] error:expected param name before ',' token
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/not_support_interface/dump_ast_target/
H A Dfail_output.txt1 [IDL-GEN]: [ParseMethod:558] [IFoo.idl:19:5] error:expected method name before 'void' token
2 [IDL-GEN]: [ParseMethodParamList:685] [IFoo.idl:19:5] error:expected '(' before 'void' token
3 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:19:5] error:expected '[' before 'void' token
5 [IDL-GEN]: [ParseParam:737] [IFoo.idl:19:25] error:expected param name before ')' token
8 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:20:5] error:expected '[' before 'boolean' token
10 [IDL-GEN]: [ParseParam:737] [IFoo.idl:20:48] error:expected param name before ',' token
13 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:21:5] error:expected '[' before 'byte' token
15 [IDL-GEN]: [ParseParam:737] [IFoo.idl:21:42] error:expected param name before ',' token
18 [IDL-GEN]: [CheckParamAttr:797] [IFoo.idl:22:5] error:expected '[' before 'short' token
20 [IDL-GEN]: [ParseParam:737] [IFoo.idl:22:45] error:expected param name before ',' token
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/
H A Dtest_ng.h59 if (NearEqual(actual, expected)) { in IsEqual()
67 if (NearEqual(actual.start, expected.start) && NearEqual(actual.end, expected.end)) { in IsEqual()
71 … << " Expected: " << "{ " << expected.start << " , " << expected.end << " }"; in IsEqual()
76 if (NearEqual(actual, expected)) { in IsEqual()
84 if (NearEqual(actual, expected)) { in IsEqual()
92 if (NearEqual(actual, expected)) { in IsEqual()
100 if (NearEqual(actual, expected)) { in IsEqual()
108 if (actual.index == expected.index && actual.area == expected.area && in IsEqual()
114 << expected.area << " , " << expected.indexInGroup << " }"; in IsEqual()
119 if (NearEqual(actual, expected)) { in IsEqual()
[all …]
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dserializer_compact.rs528 let expected = "123"; in ut_serialize_simple() localVariable
536 let expected = "123"; in ut_serialize_simple() localVariable
540 let expected = "123"; in ut_serialize_simple() localVariable
544 let expected = "123"; in ut_serialize_simple() localVariable
548 let expected = "123"; in ut_serialize_simple() localVariable
552 let expected = "123"; in ut_serialize_simple() localVariable
556 let expected = "123"; in ut_serialize_simple() localVariable
560 let expected = "123"; in ut_serialize_simple() localVariable
564 let expected = "123"; in ut_serialize_simple() localVariable
568 let expected = "1.0"; in ut_serialize_simple() localVariable
[all …]
H A Ddeserializer.rs868 let expected = true; in ut_deserialize_simple() localVariable
872 let expected = false; in ut_deserialize_simple() localVariable
876 let expected: u8 = 123; in ut_deserialize_simple() localVariable
888 let expected: i8 = -12; in ut_deserialize_simple() localVariable
904 let expected = 'c'; in ut_deserialize_simple() localVariable
916 let expected = None; in ut_deserialize_simple() localVariable
927 expected, in ut_deserialize_simple()
939 expected, in de_map()
1068 let expected = Test { in ut_deserialize_struct() localVariable
1080 let expected = Test { in ut_deserialize_struct() localVariable
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/test/ut/testcase/
H A Dut_ffrt_io.cpp176 struct TestData testData {.fd = testFd, .expected = expected};
223 struct TestData testData {.fd = testFd, .expected = expected};
250 struct TestData testData {.fd = testFd, .expected = expected};
278 struct TestData testData {.fd = testFd, .expected = expected};
315 struct TestData testData {.fd = testFd, .expected = expected};
344 struct TestData testData {.fd = testFd, .expected = expected};
373 struct TestData testData {.fd = testFd, .expected = expected};
401 struct TestData testData {.fd = testFd, .expected = expected};
430 struct TestData testData {.fd = testFd, .expected = expected};
460 struct TestData testData {.fd = testFd, .expected = expected};
[all …]
H A Dut_coroutine.cpp116 uint64_t expected; member
125 EXPECT_EQ(value, testData->expected); in testCallBack()
130 uint64_t expected = 0xabacadae; variable
134 ssize_t n = write(testFd, &expected, sizeof(uint64_t)); in __anon9765910f0202()
138 struct TestData testData {.fd = testFd, .expected = expected};
/ohos5.0/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_layout_unittest.cpp182 expected.commonInfo.visible = false;
185 EXPECT_EQ(expected, pageInfo.viewInfos[0]);
189 EXPECT_EQ(expected, pageInfo.viewInfos[1]);
193 EXPECT_EQ(expected, pageInfo.viewInfos[2]);
196 std::get<UxLabelInfo>(expected.specificInfo).text = "Tip";
197 std::get<UxLabelInfo>(expected.specificInfo).fontSize = 40;
198 EXPECT_EQ(expected, pageInfo.viewInfos[3]);
202 EXPECT_EQ(expected, pageInfo.viewInfos[4]);
206 EXPECT_EQ(expected, pageInfo.viewInfos[5]);
210 EXPECT_EQ(expected, pageInfo.viewInfos[6]);
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_display_soloist___expected_rate_range.md6 The DisplaySoloist_ExpectedRateRange struct describes the expected frame rate range.
20 | int32_t [min](#min) | Minimum value of the expected frame rate range. The value range is [0,120].…
21 | int32_t [max](#max) | Maximum value of the expected frame rate range. The value range is [0,120].…
22 | int32_t [expected](#expected) | Expected frame rate. The value range is [0,120].|
28 ### expected subsection
31 int32_t DisplaySoloist_ExpectedRateRange::expected
47 Maximum value of the expected frame rate range. The value range is [0,120].
58 Minimum value of the expected frame rate range. The value range is [0,120].
/ohos5.0/foundation/multimedia/av_codec/test/unittest/http_source_test/
H A Ddownloader_unit_test.cpp80 string expected = "hello world"; variable
82 EXPECT_EQ(expected, actual);
93 EXPECT_EQ(expected, actual);
102 string expected = "hello woryld"; variable
104 EXPECT_EQ(expected, actual);
110 string expected = ""; variable
111 EXPECT_EQ(Trim(input), expected);
117 string expected = "Hello"; variable
124 string expected = "Hello"; variable
131 string expected = "Hello"; variable
[all …]
/ohos5.0/base/security/security_guard/services/data_collect/sa/
H A Ddata_collect_manager_stub.cpp70 uint32_t expected = sizeof(uint64_t); in HandleStartCmd() local
72 if (expected >= actual) { in HandleStartCmd()
99 if (expected >= actual) { in HandleStopCmd()
124 uint32_t expected = sizeof(int64_t); in HandleDataCollectCmd() local
126 if (expected >= actual) { in HandleDataCollectCmd()
141 const uint32_t expected = 4; in HandleDataRequestCmd() local
143 if (expected >= actual) { in HandleDataRequestCmd()
163 if (expected >= actual) { in HandleDataSubscribeCmd()
190 if (expected >= actual) { in HandleDataUnsubscribeCmd()
210 if (expected >= actual) { in HandleSecurityEventQueryCmd()
[all …]
/ohos5.0/base/security/security_guard/services/security_collector/src/
H A Dsecurity_collector_manager_stub.cpp59 uint32_t expected = sizeof(uint64_t); in HandleSubscribeCmd() local
61 if (expected >= actual) { in HandleSubscribeCmd()
85 uint32_t expected = sizeof(uint64_t); in HandleUnsubscribeCmd() local
87 if (expected >= actual) { in HandleUnsubscribeCmd()
106 uint32_t expected = sizeof(uint64_t); in HandleStartCmd() local
108 if (expected >= actual) { in HandleStartCmd()
132 uint32_t expected = sizeof(uint64_t); in HandleStopCmd() local
134 if (expected >= actual) { in HandleStopCmd()
158 uint32_t expected = sizeof(uint32_t); in HandleSecurityEventQueryCmd() local
160 if (expected >= actual) { in HandleSecurityEventQueryCmd()
/ohos5.0/foundation/multimodalinput/input/intention/common/channel/test/
H A Dchannel_test.cpp60 for (size_t expected = 0; expected < count;) { variable
62 EXPECT_EQ(received, expected);
63 if ((++expected % 10) == 0) {
92 for (size_t expected = 0; expected < count; ++expected) { variable
94 ASSERT_EQ(received, expected);
/ohos5.0/base/msdp/device_status/test/unittest/intention/common/src/
H A Dchannel_test.cpp60 for (size_t expected = 0; expected < count;) { variable
62 EXPECT_EQ(received, expected);
63 if ((++expected % 10) == 0) {
92 for (size_t expected = 0; expected < count; ++expected) { variable
94 ASSERT_EQ(received, expected);
/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_usb_manager_other_test.cpp370 std::string expected = "printer"; in HWTEST_F() local
371 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
377 std::string expected = ""; in HWTEST_F() local
378 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
384 std::string expected = "!@#$%^&*()"; in HWTEST_F() local
385 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
391 std::string expected = "1234567890"; in HWTEST_F() local
392 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
398 std::string expected = "ThisIsALongNameForAPrinter"; in HWTEST_F() local
399 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A D_o_h___native_x_component___expected_rate_range.md6 Defines the expected frame rate range.
20 | [min](_o_h___native_x_component.md#min) | Minimum value of the expected frame rate range.|
21 | [max](_o_h___native_x_component.md#max) | Maximum value of the expected frame rate range.|
22 | [expected](_o_h___native_x_component.md#expected) | Expected frame rate range.|
H A D_ark_u_i___expected_frame_rate_range.md6 Defines the expected frame rate range of the animation.
22 | uint32_t [expected](#expected) | Expected optimal frame rate. |
28 ### expected subsection
31 uint32_t ArkUI_ExpectedFrameRateRange::expected
/ohos5.0/docs/en/application-dev/graphics/
H A Ddisplaysync-animation.md3 …i/arkui-ts/ts-explicit-animation.md#expectedframeraterange11) to set an expected frame rate range …
14 expected: 60, // Set the expected frame rate of the animation to 60 Hz.
31 expected: 30, // Set the expected frame rate of the animation to 30 Hz.
98 expected: 60, // Set the expected frame rate of the animation to 60 Hz.
122 expected: 30, // Set the expected frame rate of the animation to 30 Hz.
135 expected: 40, // Set the expected frame rate of the animation to 40 Hz.
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkgraphics2d/
H A D_display_soloist___expected_rate_range.md22 | int32_t [expected](#expected) | 期望帧率,取值范围为[0,120]。 |
28 ### expected subsection
31 int32_t DisplaySoloist_ExpectedRateRange::expected
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A D_ark_u_i___expected_frame_rate_range.md22 | uint32_t [expected](#expected) | 期望的最优帧率。 |
28 ### expected subsection
31 uint32_t ArkUI_ExpectedFrameRateRange::expected
/ohos5.0/foundation/multimodalinput/input/service/event_resample/test/
H A Devent_resample_test.cpp345 for (auto &it : expected) { in CheckResults()
355 dispX = expected[it.id].dispX; in CheckResults()
356 dispY = expected[it.id].dispY; in CheckResults()
360 dispX = expected[it.id].dispX; in CheckResults()
361 dispY = expected[it.id].dispY; in CheckResults()
364 dispX = expected[it.id].touchUpX; in CheckResults()
406 expected[idx].Reset(idx); in DoTest()
432 ReadQueue(testData, ctx, expected); in DoTest()
436 SendTouchUp(testData, ctx, expected); in DoTest()
448 expected[event.id].AddEvent(event); in ReadQueue()
[all …]
/ohos5.0/base/update/updater/test/unittest/diffpatch/
H A Ddiffpatch_unittest.cpp56 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in BlockDiffPatchTest() local
58 EXPECT_EQ(0, memcmp(expected.c_str(), restoreHash.c_str(), restoreHash.size())); in BlockDiffPatchTest()
73 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in ImgageDiffPatchFileTest() local
75 EXPECT_EQ(0, restoreHash.compare(expected)); in ImgageDiffPatchFileTest()
80 const std::string &expected, UpdatePatch::UpdateApplyPatch::ImageProcessor writer) const in TestApplyPatch() argument
106 ret = UpdatePatch::UpdateApplyPatch::ApplyImagePatch(param, empty, writer, expected); in TestApplyPatch()
122 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in ImgageDiffPatchFileTest2() local
131 ret = TestApplyPatch(TEST_PATH_FROM + patchFile, TEST_PATH_FROM + oldFile, expected, in ImgageDiffPatchFileTest2()
138 EXPECT_EQ(0, restoreHash.compare(expected)); in ImgageDiffPatchFileTest2()
203 std::string expected = GeneraterHash(TEST_PATH_FROM + newFile); in BlockDiffPatchTest2() local
[all …]
/ohos5.0/foundation/ability/idl_tool/test/sa_test/keyword_cacheable_test_003/target_cpp/
H A Dfail_output.txt3 [IDL-GEN]: [ParseAttributeInfo:373] [IFoo.idl:17:14] error:expected ',' or ']' before '.' token
5 [IDL-GEN]: [ParseAttributeInfo:373] [IFoo.idl:18:16] error:expected ',' or ']' before '-' token
7 [IDL-GEN]: [ParseAttributeInfo:373] [IFoo.idl:20:15] error:expected ',' or ']' before 'ab34cd' token
10 [IDL-GEN]: [ParseAttributeInfo:373] [IFoo.idl:22:13] error:expected ',' or ']' before 'cacheable' t…
/ohos5.0/base/security/security_guard/services/risk_classify/src/
H A Drisk_analysis_manager_stub.cpp51 uint32_t expected = sizeof(uint32_t); in HandleGetSecurityModelResult() local
53 if (expected >= actual) { in HandleGetSecurityModelResult()
74 uint32_t expected = sizeof(uint32_t) + sizeof(bool); in HandleSetModelState() local
76 if (expected >= actual) { in HandleSetModelState()
/ohos5.0/base/telephony/cellular_data/test/
H A Dapn_manager_test.cpp112 ASSERT_EQ(actual, expected);
123 int32_t expected = DATA_CONTEXT_ROLE_MMS_ID; variable
125 ASSERT_EQ(actual, expected);
138 ASSERT_EQ(actual, expected);
149 int32_t expected = DATA_CONTEXT_ROLE_IA_ID; variable
151 ASSERT_EQ(actual, expected);
164 ASSERT_EQ(actual, expected);
177 ASSERT_EQ(actual, expected);
188 int32_t expected = DATA_CONTEXT_ROLE_DUN_ID; variable
190 ASSERT_EQ(actual, expected);
[all …]

12345678910>>...12