Home
last modified time | relevance | path

Searched full:json (Results 1 - 25 of 15990) sorted by relevance

12345678910>>...640

/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api11/entry/src/main/ets/test/textTest/
H A DtextSpanFont.test.ets34 console.info("get textSpanFont state success " + JSON.stringify(pages));
36 console.info("get textSpanFont state success " + JSON.stringify(pages.name));
38 console.info("push textSpanFont page success " + JSON.stringify(result));
59 console.info('ArkUX_Stage_Text_Font_FontWeight_0100 START :' + JSON.stringify(strJson));
61 JSON.stringify(JSON.parse(strJson).$attrs.font));
63 JSON.stringify(JSON.parse(JSON.parse(strJson).$attrs.font)));
64 expect(JSON
[all...]
H A DtextObscuredTest.test.ets34 console.info("get textObscured state success " + JSON.stringify(pages));
36 console.info("get textObscured state success " + JSON.stringify(pages.name));
38 console.info("push textObscured page success " + JSON.stringify(result));
60 console.info('ArkUX_Redacted_Text_0090 START :' + JSON.stringify(strJson));
61 console.info("ArkUX_Redacted_Text_0090 JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
62 console.info("ArkUX_Redacted_Text_0090 JSON.parse(strJson).$attrs is: " +
63 JSON.stringify(JSON
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Djson_serializer.h32 #include "nlohmann/json.hpp"
42 * form_json and to_json is global static overload method, which need callback by json library,
45 void to_json(nlohmann::json &jsonObject, const CustomizeData &customizeData);
46 void from_json(const nlohmann::json &jsonObject, CustomizeData &customizeData);
47 void to_json(nlohmann::json &jsonObject, const MetaData &metaData);
48 void from_json(const nlohmann::json &jsonObject, MetaData &metaData);
49 void to_json(nlohmann::json &jsonObject, const HnpPackage &hnpPackage);
50 void from_json(const nlohmann::json &jsonObject, HnpPackage &hnpPackage);
51 void to_json(nlohmann::json &jsonObject, const Metadata &metadata);
52 void from_json(const nlohmann::json
[all...]
/test/xts/acts/arkui/ace_ets_ux_one/ace_ets_component_GeneralLayout/entry/src/main/ets/test/
H A DGeneralLayoutMarkAnchor.test.ets40 console.info("get IndexMark state success " + JSON.stringify(pages));
42 console.info("get IndexMark state success " + JSON.stringify(pages.name));
44 console.info("push IndexMark page success " + JSON.stringify(result));
67 console.info('0100_TextM START :' + JSON.stringify(strJson));
68 original_rect_top = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[1];
69 original_rect_right = JSON.parse('[' + JSON.parse('[' + JSON
[all...]
H A DGeneralLayoutPosition.test.ets42 console.info("get Index state success " + JSON.stringify(pages));
44 console.info("get Index state success " + JSON.stringify(pages.name));
46 console.info("push Index page success " + JSON.stringify(result));
68 original_rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0];
69 original_rect_top = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[1];
70 original_rect_right = JSON
[all...]
H A DGeneralLayoutOriginal.test.ets37 console.info("get IndexOrig state success " + JSON.stringify(pages));
39 console.info("get IndexOrig state success " + JSON.stringify(pages.name));
41 console.info("push IndexOrig page success " + JSON.stringify(result));
62 original_rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0];
63 original_rect_top = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[1];
66 let top: number = JSON
[all...]
H A DGeneralLayoutOffset.test.ets40 console.info("get IndexOff state success " + JSON.stringify(pages));
42 console.info("get IndexOff state success " + JSON.stringify(pages.name));
44 console.info("push IndexOff page success " + JSON.stringify(result));
66 console.info('0100_Text START :' + JSON.stringify(strJson));
67 original_rect_left = JSON.parse('[' + JSON.parse('[' + JSON.parse(strJson).$rect + ']')[0] + ']')[0];
68 original_rect_top = JSON.parse('[' + JSON.parse('[' + JSON
[all...]
/foundation/distributedhardware/device_manager/services/implementation/src/authentication/
H A Dauth_message_processor.cpp43 void AuthMessageProcessor::GetJsonObj(nlohmann::json &jsonObj) in GetJsonObj()
86 nlohmann::json jsonObj; in CreateAuthRequestMessage()
92 nlohmann::json jsonThumbnailObj; in CreateAuthRequestMessage()
112 nlohmann::json jsonObj; in CreateSimpleMessage()
144 void AuthMessageProcessor::CreatePublicKeyMessageExt(nlohmann::json &json) in CreatePublicKeyMessageExt() argument
146 json[TAG_PUBLICKEY] = authResponseContext_->publicKey; in CreatePublicKeyMessageExt()
149 void AuthMessageProcessor::CreateResponseAuthMessageExt(nlohmann::json &json) in CreateResponseAuthMessageExt() argument
151 json[TAG_REPL in CreateResponseAuthMessageExt()
157 CreateNegotiateMessage(nlohmann::json &json) CreateNegotiateMessage() argument
186 CreateRespNegotiateMessage(nlohmann::json &json) CreateRespNegotiateMessage() argument
219 CreateSyncGroupMessage(nlohmann::json &json) CreateSyncGroupMessage() argument
225 CreateResponseAuthMessage(nlohmann::json &json) CreateResponseAuthMessage() argument
253 CreateResponseFinishMessage(nlohmann::json &json) CreateResponseFinishMessage() argument
302 ParsePublicKeyMessageExt(nlohmann::json &json) ParsePublicKeyMessageExt() argument
309 ParseAuthResponseMessageExt(nlohmann::json &json) ParseAuthResponseMessageExt() argument
326 ParseResponseFinishMessage(nlohmann::json &json) ParseResponseFinishMessage() argument
336 GetAuthReqMessage(nlohmann::json &json) GetAuthReqMessage() argument
369 ParseAuthRequestMessage(nlohmann::json &json) ParseAuthRequestMessage() argument
411 ParseAuthResponseMessage(nlohmann::json &json) ParseAuthResponseMessage() argument
444 ParsePkgNegotiateMessage(const nlohmann::json &json) ParsePkgNegotiateMessage() argument
494 ParseNegotiateMessage(const nlohmann::json &json) ParseNegotiateMessage() argument
531 ParseRespNegotiateMessage(const nlohmann::json &json) ParseRespNegotiateMessage() argument
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/vpn_manager_ext_test/
H A Dnetworkvpn_service_ext_test.cpp102 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
103 if (json != nullptr) { in HWTEST_F()
104 instance_->ConvertNetAddrToJson(sourAddr, json); in HWTEST_F()
105 instance_->ConvertNetAddrToConfig(destAddr, json); in HWTEST_F()
106 cJSON_Delete(json); in HWTEST_F()
107 json = nullptr; in HWTEST_F()
115 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
116 if (json != nullptr) { in HWTEST_F()
117 instance_->ConvertNetAddrToConfig(destAddr, json); in HWTEST_F()
118 cJSON_Delete(json); in HWTEST_F()
128 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
149 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
172 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
184 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
205 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
225 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Djson_util.h27 #include <core/json/json.h>
33 return CORE_NS::json::unescape(str); in JsonUnescape()
38 const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue()
56 const CORE_NS::json::value& jsonData, const BASE_NS::string_view element, BASE_NS::string& error, T& output) in SafeGetJsonValue()
70 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
80 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
89 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson()
98 inline bool FromJson(const CORE_NS::json::value& jsonIn, BASE_NS::Uid& output) in FromJson()
109 inline bool FromJsonArray(const CORE_NS::json
180 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
189 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
199 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
209 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
220 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
231 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
243 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_commonAttrsVisual/ace_ets_module_commonAttrsVisual_api11/entry/src/main/ets/test/imageEffectsTest/
H A DblendModeTest.test.ets44 console.info("get blendModeTest state pages: " + JSON.stringify(pages));
46 console.info("get blendModeTest state pages.name: " + JSON.stringify(pages.name));
49 console.info("push blendModeTest success: " + JSON.stringify(result));
70 console.info("[blendModeTest_0100] component JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
71 console.info("[blendModeTest_0100] component JSON.parse(strJson).$attrs is: " + JSON.stringify(JSON.parse(strJson).$attrs));
72 console.info("[blendModeTest_0100] text: " + JSON
[all...]
/foundation/communication/dsoftbus/adapter/common/json/nlohmann/
H A Dsoftbus_adapter_json.cpp21 #include "nlohmann/json.hpp"
33 nlohmann::json *json = new (std::nothrow) nlohmann::json(); in JSON_CreateObject() local
34 if (json == nullptr) { in JSON_CreateObject()
40 obj->context = reinterpret_cast<void *>(json); in JSON_CreateObject()
50 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); in JSON_Delete() local
51 if (json ! in JSON_Delete()
73 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_PrintUnformatted() local
100 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_Parse() local
125 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddBoolToObject() local
140 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetBoolFromOject() local
161 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddIntegerToObject() local
177 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetIntegerFromObject() local
239 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddStringToObject() local
254 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetStringFromOject() local
279 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddStringArrayToObject() local
298 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetStringArrayFromOject() local
338 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_AddBytesToObject() local
353 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_GetBytesFromObject() local
381 nlohmann::json *json = reinterpret_cast<nlohmann::json *>(obj->context); JSON_IsArrayExist() local
[all...]
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/
H A Djson_util.h28 #include <core/json/json.h>
36 return CORE_NS::json::unescape(str); in JsonUnescape()
41 const CORE_NS::json::value& jsonData, const ::string_view element, ::string& error, T& output) in SafeGetJsonValue()
59 const CORE_NS::json::value& jsonData, const ::string_view element, ::string& error, T& output) in SafeGetJsonValue()
73 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
83 inline bool FromJson(const CORE_NS::json::value& jsonIn, T& output) in FromJson()
92 inline bool FromJson(const CORE_NS::json::value& jsonIn, bool& output) in FromJson()
101 inline bool FromJson(const CORE_NS::json::value& jsonIn, ::Uid& output) in FromJson()
112 inline bool FromJsonArray(const CORE_NS::json
183 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
191 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
200 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
209 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
219 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
229 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
240 CORE_NS::json::standalone_value json = CORE_NS::json::standalone_value::array(); ToJson() local
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/scroll_container/entry/src/main/ets/pages/MyTest/
H A DSwiperIndicatorTest.ets57 assertEqual(JSON.parse(JSON.parse(indicator1).$attrs.indicator).itemWidth, '30.00px')
58 assertEqual(JSON.parse(JSON.parse(indicator1).$attrs.indicator).itemHeight, '40.00px')
59 assertEqual(JSON.parse(JSON.parse(indicator1).$attrs.indicator).selectedItemWidth,
61 assertEqual(JSON.parse(JSON.parse(indicator1).$attrs.indicator).selectedItemHeight,
63 assertFalse(JSON.parse(JSON
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/common/entry/src/main/ets/pages/MyTest/
H A DBorderImageTest_two.ets55 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).slice, '10.00px')
56 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).colors, 'rgb(72, 61, 139)')
57 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).direction, GradientDirection.Left)
61 assertEqual(JSON.parse(JSON.parse(borderImage2).$attrs.borderImage).slice, 10)
62 assertEqual(JSON.parse(JSON
[all...]
H A DBorderTest.ets61 assertEqual(JSON.parse(JSON.parse(border1).$attrs.border).width, '10.00vp')
62 assertEqual(JSON.parse(JSON.parse(border1).$attrs.border).color.toLowerCase(), Color.Black)
63 assertEqual(JSON.parse(JSON.parse(border1).$attrs.border).radius, '30.00vp')
64 assertEqual(JSON.parse(JSON.parse(border1).$attrs.border).style, 'BorderStyle.Solid')
67 assertEqual(JSON.parse(JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_information/ace_ets_module_information_api11/entry/src/main/ets/test/gaugeTest/
H A Dgaugeux.test.ets33 console.info("get gaugeUx state success " + JSON.stringify(pages));
35 console.info("get gaugeUx state success " + JSON.stringify(pages.name));
38 console.info("push gaugeUx page success " + JSON.stringify(result));
64 console.info('ArkUX_Gauge_Colors_InterfaceName_0100 START :' + JSON.stringify(strJson));
65 console.info("ArkUX_Gauge_Colors_InterfaceName_0100 component JSON.parse(strJson).$attrs.colors is: " +
66 JSON.stringify(JSON.parse(strJson).$attrs.colors));
71 expect(JSON.parse(strJson).$attrs.colors).assertEqual("#FF0000FF");
75 console.info('ArkUX_Gauge_Colors_InterfaceName_0100 ERR ' + JSON.stringify(err));
92 console.info('ArkUX_Gauge_Colors_InterfaceName_0200 START :' + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_picker/ace_ets_module_picker_api11/entry/src/main/ets/test/CheckboxTest/
H A DcheckBox.ets27 console.info("get checkBox state success " + JSON.stringify(pages));
29 console.info("get checkBox state success " + JSON.stringify(pages.name));
31 console.info("push checkBox page success " + JSON.stringify(result));
34 console.error("push checkBox page error " + JSON.stringify(err));
49 console.info('ArkUX_Stage_Checkbox_unselectedColor_0100 START :' + JSON.stringify(strJson));
50 let obj: Record<string, ESObject> = JSON.parse(strJson);
51 console.info("ArkUX_Stage_Checkbox_unselectedColor_0100 component obj is: " + JSON.stringify(obj));
53 JSON.stringify(obj.$attrs));
55 JSON.stringify(obj.$attrs.unselectedColor));
60 console.info('ArkUX_Stage_Checkbox_unselectedColor_0100 ERR ' + JSON
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/button_and_selection/entry/src/main/ets/pages/MyTest/
H A DButtonLabelStyleTest.ets82 assertEqual(JSON.parse(JSON.parse(labelStyle1).$attrs.labelStyle).overflow, 'TextOverflow.None')
85 assertEqual(JSON.parse(JSON.parse(labelStyle2).$attrs.labelStyle).overflow, 'TextOverflow.Clip')
88 assertEqual(JSON.parse(JSON.parse(labelStyle3).$attrs.labelStyle).overflow, 'TextOverflow.Ellipsis')
91 assertEqual(JSON.parse(JSON.parse(labelStyle4).$attrs.labelStyle).maxLines, '3')
92 assertEqual(JSON.parse(JSON
[all...]
/test/xts/acts/graphic/vktest/
H A DREADME_zh.md24 │ │ └── Test.json
29 │ │ └── Test.json
34 │ │ └── Test.json
39 │ │ └── Test.json
44 │ │ └── Test.json
49 │ │ └── Test.json
54 │ │ └── Test.json
59 │ │ └── Test.json
64 │ │ └── Test.json
69 │ │ └── Test.json
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api11/entry/src/main/ets/test/SwiperTest/
H A Dswiper.test.ets35 "arrowStyle": JSON.stringify(arrowStyle)
43 console.info("setArrowStyle backData :" + JSON.stringify(backData));
46 console.info("setArrowStyle emit emitKey err: " + JSON.stringify(err));
60 console.info("get Swipersec state success " + JSON.stringify(pages));
62 console.info("get Swipersec state success " + JSON.stringify(pages.name));
64 console.info("push Swipersec page success " + JSON.stringify(result));
67 console.error("push Swipersec page error " + JSON.stringify(err));
89 console.info('ArkUX_Stage_Swiper_SelectedItemWidth_0100 START :' + JSON.stringify(strJson));
90 let obj: ESObject = JSON.parse(strJson);
91 console.info("ArkUX_Stage_Swiper_SelectedItemWidth_0100 component obj is: " + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api11/entry/src/main/ets/test/imageTest/
H A DimageObscuredTest.test.ets34 console.info("get imageObscuredTest state success " + JSON.stringify(pages));
36 console.info("get imageObscuredTest state success " + JSON.stringify(pages.name));
38 console.info("push imageObscuredTest page success " + JSON.stringify(result));
60 console.info('ArkUX_Redacted_Image_0150 START :' + JSON.stringify(strJson));
61 console.info("ArkUX_Redacted_Image_0150 JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
62 console.info("ArkUX_Redacted_Image_0150 JSON.parse(strJson).$attrs is: " +
63 JSON.stringify(JSON
[all...]
/foundation/communication/dsoftbus/tests/core/common/json_utils/uttest/
H A Dsoftbus_json_utils_test.cpp54 * @tc.desc: When the json parameter is nullptr, the return value is SOFTBUS_INVALID_PARAM
73 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
75 int32_t ret = GetStringItemByJsonObject(json, nullptr, target, ARRAY_LEN); in HWTEST_F()
77 cJSON_Delete(json); in HWTEST_F()
88 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
89 int32_t ret = GetStringItemByJsonObject(json, "string", nullptr, ARRAY_LEN); in HWTEST_F()
91 cJSON_Delete(json); in HWTEST_F()
96 * @tc.desc: Test returns SOFTBUS_PARSE_JSON_ERR when the specified string does not exist in the json object
102 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
104 int32_t ret = GetStringItemByJsonObject(json, "strin in HWTEST_F()
117 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
134 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
150 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
173 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
210 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
225 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
239 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
254 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
284 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
299 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
313 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
328 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
345 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
382 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
397 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
411 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
427 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
443 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
473 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
487 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
502 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
517 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
534 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
571 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
585 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
600 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
614 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
634 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
652 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
684 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
699 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
731 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
745 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
759 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
775 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
803 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
818 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
834 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
851 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
884 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
900 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
916 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
933 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
963 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
978 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
992 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
1007 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
1023 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/
H A Dcomponent_loader_test.cpp459 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
460 if (json == nullptr) { in HWTEST_F()
463 cJSON_AddNumberToObject(json, COMP_NAME.c_str(), 4801); in HWTEST_F()
465 from_json(json, cfg); in HWTEST_F()
466 cJSON_Delete(json); in HWTEST_F()
479 cJSON *json = cJSON_CreateObject(); in HWTEST_F() local
480 if (json == nullptr) { in HWTEST_F()
483 cJSON_AddStringToObject(json, COMP_NAME.c_str(), "name"); in HWTEST_F()
484 cJSON_AddNumberToObject(json, COMP_TYPE.c_str(), 0x02); in HWTEST_F()
486 from_json(json, cf in HWTEST_F()
500 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
522 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
545 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
569 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
594 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
620 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
647 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
675 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
704 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
727 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
740 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
754 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
769 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
796 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
829 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
861 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
901 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
914 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
928 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
943 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
959 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
975 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
988 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
1002 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
1017 cJSON *json = cJSON_CreateObject(); HWTEST_F() local
[all...]
/test/xts/acts/arkui/ace_ets_module_noui/ace_ets_module_StateMangagement/ace_ets_module_StateMangagement_api11/entry/src/main/ets/test/AppStorage/
H A DAppStorageJsunit.test.ets40 console.info("get AppStorage state success " + JSON.stringify(pages));
42 console.info("get AppStorage state success " + JSON.stringify(pages.name));
44 console.info("push AppStorage page success " + JSON.stringify(result));
47 console.error("push AppStorage page error " + JSON.stringify(err));
67 let obj: Record<string, Object> = JSON.parse(strJson);
69 console.log(JSON.stringify(obj.$type))
70 console.info("yr AppStorage0 type: " + JSON.stringify(obj.$type));
71 console.info("component obj is: " + JSON.stringify(obj));
72 expect(JSON.parse(strJson).$attrs.label).assertEqual('20');
73 console.log("yr AppStorage0 label-'47'" + JSON
[all...]

Completed in 12 milliseconds

12345678910>>...640