Home
last modified time | relevance | path

Searched full:json (Results 601 - 625 of 25842) sorted by relevance

1...<<21222324252627282930>>...1034

/test/xts/acts/communication/wifi_p2p/entry/src/ohosTest/js/test/
H A DWifiManagerP2PFunction.test.js35 console.info('[permission] case grantUserGrantedPermission success :' + JSON.stringify(result));
37 console.info('[permission] case grantUserGrantedPermission failed :' + JSON.stringify(err));
90 console.info("[wifi_test] getCurrentP2pGroup promise result :" + JSON.stringify(data));
93 console.error('[wifi_test] getCurrentP2pGroup promise failed :' + JSON.stringify(error));
97 console.info("[wifi_test]getCurrentP2pGroup promise error: " + JSON.stringify(error.message));
98 expect(true).assertEqual( (JSON.stringify(error.message)) !=null);
105 console.info("[wifi_test]failed to get getCurrentP2pGroup:" + JSON.stringify(err));
108 console.info("[wifi_test]getCurrentP2pGroup callback:" + JSON.stringify(result));
118 console.info("[wifi_test] clientDevices:" + JSON.stringify(result.clientDevices));
119 console.info("[wifi_test] ownerInfo:" + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectsWithReferences/
H A Dtransitive-references-with-deleting-referenced-config-file.js1 Info 0 [00:00:39.000] Provided types map file "/typesMap.json" doesn't exist
16 //// [/user/username/projects/myproject/a/tsconfig.json]
19 //// [/user/username/projects/myproject/b/tsconfig.json]
22 //// [/user/username/projects/myproject/c/tsconfig.json]
50 Info 2 [00:00:41.000] For info: /user/username/projects/myproject/c/index.ts :: Config file name: /user/username/projects/myproject/c/tsconfig.json
51 Info 3 [00:00:42.000] Creating configuration project /user/username/projects/myproject/c/tsconfig.json
52 Info 4 [00:00:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file
53 Info 5 [00:00:44.000] Config: /user/username/projects/myproject/c/tsconfig.json : {
65 "configFilePath": "/user/username/projects/myproject/c/tsconfig.json"
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/common/entry/src/main/ets/pages/MyTest/
H A DResponseRegionTest.ets44 assertEqual(JSON.parse(JSON.parse(responseRegion1).$attrs.responseRegion).x, '0.00vp')
45 assertEqual(JSON.parse(JSON.parse(responseRegion1).$attrs.responseRegion).y, '0.00vp')
46 assertEqual(JSON.parse(JSON.parse(responseRegion1).$attrs.responseRegion).width, '50.00vp')
47 assertEqual(JSON.parse(JSON.parse(responseRegion1).$attrs.responseRegion).height, '100.00vp')
50 assertEqual(JSON.parse(JSON
[all...]
H A DDecorationTest.ets59 assertEqual(JSON.parse(JSON.parse(decoration1).$attrs.decoration).type, 'TextDecorationType.None')
60 assertEqual(JSON.parse(JSON.parse(decoration1).$attrs.decoration).color, $r("app.string.common_color"))
61 assertEqual(JSON.parse(JSON.parse(decoration1).$attrs.decoration).style, "TextDecorationStyle.SOLID")
65 assertEqual(JSON.parse(JSON.parse(decoration2).$attrs.decoration).type, 'TextDecorationType.LineThrough')
66 assertEqual(JSON.parse(JSON
[all...]
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h21 #include "nlohmann/json.hpp"
31 * @brief load json value from file
33 * @param jsonValue json value from the file content
37 static bool LoadJsonValueFromFile(nlohmann::json& jsonValue, const std::string& filePath);
40 * @brief load json value from string
42 * @param jsonValue json value from the string
46 static bool LoadJsonValueFromContent(nlohmann::json& jsonValue, const std::string& content);
49 * @brief dump json value to file
51 * @param jsonValue json value to be dumped to the file
52 * @param filePath the absolute file path to dump json valu
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_navigation/ace_ets_module_navigation_api11/entry/src/main/ets/test/Navigator/
H A DNavigatorJsunit.test.ets41 console.info("get Navigator state success " + JSON.stringify(pages));
43 console.info("get Navigator state success " + JSON.stringify(pages.name));
45 console.info("push Navigator page success " + JSON.stringify(result));
48 console.error("push Navigator page error " + JSON.stringify(err));
67 let obj: Record<string, Object> = JSON.parse(strJson);
68 console.info("get inspector value is: " + JSON.stringify(obj));
69 console.log(JSON.stringify(obj.$type))
71 console.log('Navigator‘s target is ' + JSON.stringify(JSON.parse(strJson).$attrs.target))
72 console.log('Navigator‘s type is ' + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_dialog/ace_ets_module_dialog_api11/entry/src/main/ets/test/Panel/
H A DPanelJsunit2.test.ets29 console.info("get panel state success " + JSON.stringify(pages));
31 console.info("get panel state success " + JSON.stringify(pages.name));
34 console.info("push panel page success " + JSON.stringify(result));
37 console.error("push panel page error " + JSON.stringify(err));
67 console.info("testPanel_100 component JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
69 expect(JSON.parse(strJson).$attrs.type).assertEqual("PanelType.Minibar");
94 console.info("testPanel_200 component JSON.parse(strJson) is: " + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_picker/ace_ets_module_picker_api11/entry/src/main/ets/test/Toggle/
H A DToggle3Jsunit.test.ets30 console.info("get toggle state pages:" + JSON.stringify(pages));
32 console.info("get toggle state pages.name:" + JSON.stringify(pages.name));
35 console.info("push toggle page result:" + JSON.stringify(result));
52 console.info("[testToggle01] JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
53 expect(JSON.parse(strJson).$type).assertEqual('Toggle');
54 expect(JSON.parse(strJson).$attrs.selectedColor).assertEqual('#330A59F7');
63 console.info("[testToggle02] JSON.parse(strJson) is: " + 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 DSwiperJsunit2.test.ets65 console.info("get Swiper state success " + JSON.stringify(pages));
67 console.info("get Swiper state success " + JSON.stringify(pages.name));
69 console.info("push Swiper page success " + JSON.stringify(result));
72 console.error("push Swiper page error " + JSON.stringify(err));
91 let obj: Record<string, Object> = JSON.parse(strJson);
92 console.info("get inspector value is: " + JSON.stringify(obj));
93 console.log(JSON.stringify(obj.$type))
95 console.log('Swiper‘s index is ' + JSON.stringify(JSON.parse(strJson).$attrs.index))
96 console.log('Swiper‘s autoPlay is ' + JSON
[all...]
H A Dswiper1.test.ets30 console.info("get swiper state success " + JSON.stringify(pages));
32 console.info("get swiper state success " + JSON.stringify(pages.name));
35 console.info("push swiper page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.curve).assertEqual("Curves.Linear");
60 console.info("[testswiperCurve0001] curve value :" + JSON.parse(strJson).$attrs.curve);
74 let obj: Record<string, Object> = JSON.parse(strJson);
76 expect(JSON.parse(strJson).$attrs.cachedCount).assertEqual(2);
77 console.info("[testswiperCurve0002] cachedCount value :" + JSON.parse(strJson).$attrs.cachedCount);
91 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
H A Dswiper.test.ets30 console.info("get swiper state success " + JSON.stringify(pages));
32 console.info("get swiper state success " + JSON.stringify(pages.name));
35 console.info("push swiper page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.curve).assertEqual("Curves.Linear");
60 console.info("[testswiperCurve0001] curve value :" + JSON.parse(strJson).$attrs.curve);
74 let obj: Record<string, Object> = JSON.parse(strJson);
76 expect(JSON.parse(strJson).$attrs.cachedCount).assertEqual(2);
77 console.info("[testswiperCurve0002] cachedCount value :" + JSON.parse(strJson).$attrs.cachedCount);
91 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_modifier/entry/src/main/ets/test/
H A DGaugeJsunit.test.ets30 console.info("get gauge state success " + JSON.stringify(pages));
32 console.info("get gauge state success " + JSON.stringify(pages.name));
54 console.info("[testGauge0121] JSON.parse(strJsonNew) testGauge0121JSON.parse(strJsonNew) is: " + JSON.stringify(JSON.parse(strJsonNew)
56 expect(JSON.parse(strJsonNew).$attrs.strokeWidth).assertEqual('5.00vp');
74 console.info("[testGauge0122] JSON.parse(strJsonNew) testGauge0122JSON.parse(strJsonNew) is: " + JSON.stringify(JSON.parse(strJsonNew)
76 expect(JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_noui/ace_ets_module_StateMangagement/ace_ets_module_StateMangagement_api12/entry/src/main/ets/test/local_storage/
H A DLocalStorageAbsTestJsunit.test.ets30 console.info("get LocalStorageAbsTestJsunit state pages:" + JSON.stringify(pages));
32 console.info("get LocalStorageAbsTestJsunit pages.name:" + JSON.stringify(pages.name));
35 console.info("push LocalStorageAbsTestJsunit page result:" + JSON.stringify(result));
59 let obj: ESObject = JSON.parse(getInspectorByKey('tvLocalStorageAbsNum'));
60 console.info("[LocalStorageAbsTestJsunit_001] component obj is: " + JSON.stringify(obj));
63 let obj1: ESObject = JSON.parse(getInspectorByKey('tvLocalStorageAbsStr'));
64 console.info("[LocalStorageAbsTestJsunit_001] component obj1 is: " + JSON.stringify(obj1));
67 let obj2: ESObject = JSON.parse(getInspectorByKey('tvLocalStorageAbsBoo'));
68 console.info("[LocalStorageAbsTestJsunit_001] component obj2 is: " + JSON.stringify(obj2));
71 let obj3: ESObject = JSON
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/main/js/default/test/
H A DpickerViewProps42.test.js64 console.info("push pickerViewProps page success " + JSON.stringify(result));
66 console.error("push pickerViewProps page error " + JSON.stringify(result));
88 console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.forPropNull);
91 console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
97 console.info("[pickerViewProps] get for value is: " + JSON.stringify(obj.$attrs.for));
108 console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.forPropOne);
111 console.info("[pickerViewProps] get inspector value is: " + JSON
[all...]
/test/xts/acts/arkui/ace_standard/entry/src/ohosTest/js/default/test/
H A DpickerViewProps42.test.js64 console.info("push pickerViewProps page success " + JSON.stringify(result));
66 console.error("push pickerViewProps page error " + JSON.stringify(result));
88 console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
90 let obj = JSON.parse(globalThis.value.forPropNull);
91 console.info("[pickerViewProps] get inspector value is: " + JSON.stringify(obj));
92 console.info("[pickerViewProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs));
97 console.info("[pickerViewProps] get for value is: " + JSON.stringify(obj.$attrs.for));
108 console.info("[pickerViewProps] get globalThis.value is: " + JSON.stringify(globalThis.value));
110 let obj = JSON.parse(globalThis.value.forPropOne);
111 console.info("[pickerViewProps] get inspector value is: " + JSON
[all...]
/third_party/json/tests/src/
H A Dunit-noexcept.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
15 #include <nlohmann/json.hpp>
17 using nlohmann::json;
28 void to_json(json& /*unused*/, pod /*unused*/) noexcept;
29 void to_json(json& /*unused*/, pod_bis /*unused*/);
30 void from_json(const json& /*unused*/, pod /*unused*/) noexcept;
31 void from_json(const json& /*unused*/, pod_bis /*unused*/);
32 void to_json(json& /*unused*/, pod /*unused*/) noexcept {}
33 void to_json(json
[all...]
/third_party/typescript/tests/baselines/reference/
H A Djson.stringify.types1 === tests/cases/compiler/json.stringify.ts ===
6 JSON.stringify(value, undefined, 2);
7 >JSON.stringify(value, undefined, 2) : string
8 >JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
9 >JSON : JSON
15 JSON.stringify(value, null, 2);
16 >JSON.stringify(value, null, 2) : string
17 >JSON.stringify : { (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string; }
18 >JSON
[all...]
/third_party/typescript/src/testRunner/unittests/tsserver/
H A DmoduleResolution.ts3 describe("package json file is edited", () => {
6 path: `${tscWatch.projectRoot}/src/tsconfig.json`,
7 content: JSON.stringify({
17 path: `${tscWatch.projectRoot}/package.json`,
42 it("package json file is edited", () => {
43 const { host, session, packageFile, verifyErr } = setup(JSON.stringify({ name: "app", version: "1.0.0" }));
45 session.logger.info("Modify package json file to add type module");
46 host.writeFile(packageFile.path, JSON.stringify({
53 session.logger.info("Modify package json file to remove type module");
59 session.logger.info("Delete package.json");
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceErrors/
H A Dwith-non-module-when-the-depedency-file-is-open-geterrForProject.js1 Info 0 [00:00:29.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
29 //// [/user/username/projects/myproject/usage/tsconfig.json]
53 Info 3 [00:00:32.000] For info: /user/username/projects/myproject/usage/usage.ts :: Config file name: /user/username/projects/myproject/usage/tsconfig.json
54 Info 4 [00:00:33.000] Creating configuration project /user/username/projects/myproject/usage/tsconfig.json
55 Info 5 [00:00:34.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file
57 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/user/username/projects/myproject/usage/tsconfig.json","reason":"Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open"}}
58 Info 7 [00:00:36.000] Config: /user/username/projects/myproject/usage/tsconfig.json : {
65 "configFilePath": "/user/username/projects/myproject/usage/tsconfig.json"
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/cachingFileSystemInformation/
H A Dnpm-install-works-when-timeout-occurs-after-installation.js1 Info 0 [00:00:27.000] Provided types map file "/typesMap.json" doesn't exist
19 //// [/user/username/rootfolder/otherfolder/a/b/tsconfig.json]
22 //// [/user/username/rootfolder/otherfolder/a/b/package.json]
54 Info 2 [00:00:29.000] For info: /user/username/rootfolder/otherfolder/a/b/app.ts :: Config file name: /user/username/rootfolder/otherfolder/a/b/tsconfig.json
55 Info 3 [00:00:30.000] Creating configuration project /user/username/rootfolder/otherfolder/a/b/tsconfig.json
56 Info 4 [00:00:31.000] FileWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/tsconfig.json 2000 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Config file
57 Info 5 [00:00:32.000] Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json : {
62 "configFilePath": "/user/username/rootfolder/otherfolder/a/b/tsconfig.json"
65 Info 6 [00:00:33.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchTyp
[all...]
/third_party/json/docs/examples/
H A Dstd_hash.cpp3 #include <nlohmann/json.hpp>
5 using json = nlohmann::json;
10 std::cout << "hash(null) = " << std::hash<json> {}(json(nullptr)) << '\n' in main()
11 << "hash(false) = " << std::hash<json> {}(json(false)) << '\n' in main()
12 << "hash(0) = " << std::hash<json> {}(json(0)) << '\n' in main()
13 << "hash(0U) = " << std::hash<json> {}(jso in main()
[all...]
/test/xts/acts/telephony/networkmanager/http/httpCache/entry/src/ohosTest/ets/test/
H A DHttpFlush.test.ets25 console.info(`exportFail failed err: ${JSON.stringify(err)}`);
33 console.info(`exportTrue failed err: ${JSON.stringify(err)}`);
64 console.info(`${caseName} flush failed ${JSON.stringify(err)}`);
68 console.info(`${caseName} failed err: ${JSON.stringify(err)}`);
76 console.info(`${caseName} try...catch err: ${JSON.stringify(err)}`);
107 console.info(`${caseName} flush fail err:${JSON.stringify(err)}`);
114 console.info(`${caseName} try...catch err: ${JSON.stringify(err)}`);
144 console.info(`${caseName} request fail err:${JSON.stringify(err)}`);
148 console.info(`${caseName} firstResponse performanceTiming ${JSON.stringify(data?.performanceTiming)}`);
151 console.info(`${caseName} flush fail err:${JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferences/
H A Dsolution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js1 Info 0 [00:00:57.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
3 Info 2 [00:00:59.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json
4 Info 3 [00:01:00.000] Creating configuration project /user/username/projects/myproject/tsconfig.json
5 Info 4 [00:01:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file
7 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/user/username/projects/myproject/tsconfig.json","reason":"Creating possible configured project for /user/username/projects/myproject/src/main.ts to open"}}
8 Info 6 [00:01:03.000] Config: /user/username/projects/myproject/tsconfig.json : {
15 "configFilePath": "/user/username/projects/myproject/tsconfig.json"
19 "path": "/user/username/projects/myproject/tsconfig-src.json",
20 "originalPath": "./tsconfig-src.json"
[all...]
/test/xts/acts/commonlibrary/ets_utils/sendable_lib_taskpool/entry/src/ohosTest/ets/test/
H A DtaskPoolSendable.test.ets67 console.info(` task1 ${JSON.stringify(sendAble)} then ${JSON.stringify(e)}`);
69 console.info(` task1 catch ${JSON.stringify(e)}`);
151 console.info(`${caseName} task1 then ${JSON.stringify(e)}`);
154 console.info(`${caseName} task1 catch ${JSON.stringify(e)}`);
159 console.log(`${caseName} catchError ${JSON.stringify(error)}}`);
181 console.info(`${caseName} task1 then ${JSON.stringify(sendAble)}`);
184 console.info(`${caseName} task1 catch ${JSON.stringify(sendAble)}}`);
189 console.log(`${caseName} catchError ${JSON.stringify(error)}}`);
211 console.info(`${caseName} task1 then ${JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_animation/ace_ets_module_animation_api11/entry/src/main/ets/test/AnimationTest/
H A DAnimateJsunit.test.ets31 console.info("get animate state pages:" + JSON.stringify(pages));
33 console.info("get animate state pages.name:" + JSON.stringify(pages.name));
36 console.info("push animate page result:" + JSON.stringify(result));
57 console.info("animateTest_0100 get state result is: " + JSON.stringify(indexEvent))
61 console.info("animateTest_0100 get state result is errr: " + JSON.stringify(err));
67 console.info("animateTest_0100 on events_emitter err : " + JSON.stringify(err));
69 console.info("animateTest_0100 click result is: " + JSON.stringify(sendEventByKey('button1', 10, "")));
83 console.info("animateTest_0200 get state result is: " + JSON.stringify(indexEvent))
89 console.info("animateTest_0200 on events_emitter err : " + JSON.stringify(err));
91 console.info("animateTest_0200 click result is: " + JSON
[all...]

Completed in 16 milliseconds

1...<<21222324252627282930>>...1034