| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_modifier/entry/src/main/ets/test/ |
| H A D | GaugeJsunit.test.ets | 30 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 D | LocalStorageAbsTestJsunit.test.ets | 30 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_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api11/entry/src/main/ets/test/SwiperTest/ |
| H A D | swiper1.test.ets | 30 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_standard/entry/src/main/js/default/test/ |
| H A D | pickerViewProps42.test.js | 64 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 D | pickerViewProps42.test.js | 64 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/communication/wifi_p2p/entry/src/ohosTest/js/test/ |
| H A D | WifiManagerP2PFunction.test.js | 35 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 D | transitive-references-with-deleting-referenced-config-file.js | 1 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...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectReferenceErrors/ |
| H A D | with-non-module-when-the-depedency-file-is-open-geterrForProject.js | 1 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/ |
| H A D | nodeModulesImportAssertions(module=node16).types | 2 import json from "./package.json" assert { type: "json" };
3 >json : { name: string; private: boolean; type: string; }
7 import json from "./package.json" assert { type: "json" }; // should error, cjs mode imports don't support assertions
8 >json : { name: string; private: boolean; type: string; }
11 const json2 = import("./package.json", { assert: { type: "json" } }); // shoul [all...] |
| H A D | nodeModulesImportAssertions(module=nodenext).types | 2 import json from "./package.json" assert { type: "json" };
3 >json : { name: string; private: boolean; type: string; }
7 import json from "./package.json" assert { type: "json" }; // should error, cjs mode imports don't support assertions
8 >json : { name: string; private: boolean; type: string; }
11 const json2 = import("./package.json", { assert: { type: "json" } }); // shoul [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api11/entry/src/main/ets/test/TextAreaTest/ |
| H A D | TextAreaJsunit3.test.ets | 31 console.info("get textArea state pages:" + JSON.stringify(pages)); 33 console.info("get textArea state pages.name:" + JSON.stringify(pages.name)); 39 console.error("push textArea page error:" + JSON.stringify(err)); 53 console.info("[textAreaTest01] JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson))); 54 expect(JSON.parse(strJson).$type).assertEqual('TextArea'); 55 expect(JSON.parse(strJson).$attrs.fontSize).assertEqual('30.00fp'); 80 console.info("[textAreaTest02] JSON.parse(strJson) is: " + JSON [all...] |
| /test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_theme/ace_ets_module_theme_hvigor/entry/src/main/ets/test/components/ |
| H A D | Swiper.test.ets | 47 console.error(`${SUITE} beforeAll error:` + JSON.stringify(err));
67 console.error(`${SUITE} afterAll error:` + JSON.stringify(err));
83 const json = getInspectorByKey(SwiperKeys.dotIndicatorSystem);
84 const indicatorJson: string = JSON.parse(json)?.$attrs?.indicator?.toString();
85 const indicatorColor: string = JSON.parse(indicatorJson)?.color?.toString().toUpperCase() ?? EMPTY_ATTR;
86 const indicatorSelectedColor: string = JSON.parse(indicatorJson)?.selectedColor?.toString().toUpperCase()
88 const arrowColor: string = JSON.parse(json)?.$attrs?.arrowColor?.toString().toUpperCase() ?? EMPTY_ATTR;
89 const arrowBackgroundColor: string = JSON [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/cachingFileSystemInformation/ |
| H A D | npm-install-works-when-timeout-occurs-after-installation.js | 1 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...] |
| /test/xts/acts/telephony/networkmanager/http/httpCache/entry/src/ohosTest/ets/test/ |
| H A D | HttpFlush.test.ets | 25 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...] |
| /test/xts/acts/commonlibrary/ets_utils/sendable_lib_taskpool/entry/src/ohosTest/ets/test/ |
| H A D | taskPoolSendable.test.ets | 67 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 D | AnimateJsunit.test.ets | 31 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...] |
| /test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/ohosTest/ets/test/ |
| H A D | StatisticsTest.test.ets | 50 console.log(`${caseName} getIfaceRxBytes fail ${JSON.stringify(err)} `); 54 console.log(`${caseName} getIfaceRxBytes ${JSON.stringify(data)}`); 73 console.log(`${caseName} getIfaceRxBytes fail ${JSON.stringify(err)} `); 77 console.log(`${caseName} getIfaceRxBytes success ${JSON.stringify(data)}`); 96 console.log(`${caseName} getIfaceRxBytes fail ${JSON.stringify(err)} `); 100 console.log(`${caseName} getIfaceRxBytes success ${JSON.stringify(data)}`); 120 console.log(`${caseName} getIfaceRxBytes fail ${JSON.stringify(err)}`); 124 console.log(`${caseName} getIfaceRxBytes success ${JSON.stringify(data)}`); 130 console.log(`${caseName} getIfaceRxBytes into catch ${JSON.stringify(err)}`); 147 console.log(`${caseName} getIfaceRxBytes success ${JSON [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectReferences/ |
| H A D | solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js | 1 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/arkui/ace_ets_component_apilack/entry/src/main/ets/test/ |
| H A D | text.test.ets | 30 console.info("get text state success " + JSON.stringify(pages)); 32 console.info("get text state success " + JSON.stringify(pages.name)); 35 console.info("push text page success " + JSON.stringify(result)); 57 let obj: Record<string, Object> = JSON.parse(strJson); 59 expect(JSON.parse(strJson).$attrs.width).assertEqual("100.00vp"); 60 console.info("[testtextMinFontSize0001] width value :" + JSON.parse(strJson).$attrs.width); 74 let obj: Record<string, Object> = JSON.parse(strJson); 76 expect(JSON.parse(strJson).$attrs.height).assertEqual("70.00vp"); 77 console.info("[testtextMinFontSize0002] height value :" + JSON.parse(strJson).$attrs.height); 91 let obj: Record<string, Object> = 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 D | ImageJsunit.test.ets | 40 console.info("get Image state success " + JSON.stringify(pages));
42 console.info("get Image state success " + JSON.stringify(pages.name));
44 console.info("push Image page success " + JSON.stringify(result));
47 console.error("push image page error " + JSON.stringify(err));
66 let obj: ESObject = JSON.parse(strJson);
67 console.info("component obj is: " + JSON.stringify(obj));
68 console.log("image1 matchTextDirection" + JSON.stringify(obj.$attrs.matchTextDirection));
69 console.log("image1 objectFit" + JSON.stringify(obj.$attrs.objectFit));
70 console.log("image1 fitOriginalSize" + JSON.stringify(obj.$attrs.fitOriginalSize));
71 console.log("image1 fillColor" + JSON [all...] |
| /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 D | text.test.ets | 30 console.info("get text state success " + JSON.stringify(pages)); 32 console.info("get text state success " + JSON.stringify(pages.name)); 35 console.info("push text page success " + JSON.stringify(result)); 57 let obj: Record<string, Object> = JSON.parse(strJson); 59 expect(JSON.parse(strJson).$attrs.width).assertEqual("100.00vp"); 60 console.info("[testtextMinFontSize0001] width value :" + JSON.parse(strJson).$attrs.width); 74 let obj: Record<string, Object> = JSON.parse(strJson); 76 expect(JSON.parse(strJson).$attrs.height).assertEqual("70.00vp"); 77 console.info("[testtextMinFontSize0002] height value :" + JSON.parse(strJson).$attrs.height); 91 let obj: Record<string, Object> = JSON [all...] |
| /foundation/distributeddatamgr/relational_store/interfaces/inner_api/appdatafwk/include/ |
| H A D | serializable.h | 25 #include <nlohmann/json.hpp> 32 using json = nlohmann::json; 33 using size_type = nlohmann::json::size_type; 35 API_EXPORT json Marshall() const; 39 json root; in Marshall() 50 API_EXPORT static json ToJson(const std::string &jsonStr); 52 virtual bool Marshal(json &node) const = 0; 53 virtual bool Unmarshal(const json &node) = 0; 54 API_EXPORT static bool GetValue(const json [all...] |
| /foundation/distributeddatamgr/relational_store/frameworks/native/appdatafwk/src/ |
| H A D | serializable.cpp | 18 Serializable::json Serializable::Marshall() const in Marshall() 20 json root; in Marshall() 27 json jsonObj = json::parse(jsonStr, nullptr, false); in Unmarshall() 33 jsonObj = json::parse(jsonStr.substr(1), nullptr, false); // drop first char to adapt A's value; in Unmarshall() 41 Serializable::json Serializable::ToJson(const std::string &jsonStr) in ToJson() 43 json jsonObj = json::parse(jsonStr, nullptr, false); in ToJson() 49 jsonObj = json::parse(jsonStr.substr(1), nullptr, false); // drop first char to adapt A's value; in ToJson() 59 if (!json in IsJson() [all...] |
| /third_party/vulkan-loader/ |
| H A D | README_OpenHarmony.md | 24 在OpenHarmony上,Vulkan-Loader会扫描指定路径下的GPU驱动的**json清单文件**并读取该文件加载GPU驱动。 33 建议:GPU驱动的json清单文件应放在`/vendor/etc/vulkan/icd.d/`目录中。 35 Vulkan-Loader会根据GPU驱动的**json清单文件**中配置的`library_path`找到GPU驱动的动态链接库文件(.so文件)并加载。 37 ### GPU驱动的json清单文件示例 39 ```json 62 在OpenHarmony上,Vulkan-Loader通过读取指定路径下的Layer的**json清单文件**加载Vulkan Layer。 65 1. layer对应json文件和so文件放置 66 1. json文件放置位置: entry\src\main\resources\rawfile\layerName.json 69 2. json文件指定s [all...] |
| /third_party/python/Lib/test/test_json/ |
| H A D | __init__.py | 2 import json namespace 10 # import json with and without accelerations 11 cjson = import_helper.import_fresh_module('json', fresh=['_json']) 12 pyjson = import_helper.import_fresh_module('json', blocked=['_json']) 14 cjson.JSONDecodeError = cjson.decoder.JSONDecodeError = json.JSONDecodeError 18 json = pyjson variable in PyTest 26 json = cjson variable in CTest 34 self.assertEqual(self.json.scanner.make_scanner.__module__, 35 'json.scanner') 36 self.assertEqual(self.json [all...] |