Home
last modified time | relevance | path

Searched full:json (Results 776 - 800 of 21411) sorted by relevance

1...<<31323334353637383940>>...857

/third_party/typescript/tests/baselines/reference/
H A DnodeModulesImportAssertions(module=node16).symbols2 import json from "./package.json" assert { type: "json" };
3 >json : Symbol(json, Decl(index.ts, 0, 6))
6 import json from "./package.json" assert { type: "json" }; // should error, cjs mode imports don't support assertions
7 >json : Symbol(json, Dec
[all...]
H A DnodeModulesImportAssertions(module=nodenext).symbols2 import json from "./package.json" assert { type: "json" };
3 >json : Symbol(json, Decl(index.ts, 0, 6))
6 import json from "./package.json" assert { type: "json" }; // should error, cjs mode imports don't support assertions
7 >json : Symbol(json, Dec
[all...]
H A DmoduleResolutionWithSuffixes_one_jsonModule.trace.json2 "======== Resolving module './foo.json' from '/index.ts'. ========",
4 "Loading module as file / folder, candidate module location '/foo.json', target file type 'TypeScript'.",
5 "File '/foo.json.ios.ts' does not exist.",
6 "File '/foo.json.ios.tsx' does not exist.",
7 "File '/foo.json.ios.d.ts' does not exist.",
8 "File '/foo.json.ios.ets' does not exist.",
9 "File '/foo.json.d.ios.ets' does not exist.",
10 "File name '/foo.json' has a '.json' extension - stripping it.",
11 "File '/foo.json
[all...]
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventjstest/entry/src/ohosTest/js/test/
H A DHiAppEvent.test.js35 console.log('HiAppEvent into json-callback');
37 console.error(`HiAppEvent json-callback-error code=${err.code}`);
41 console.log(`HiAppEvent json-callback-success value=${value}`);
82 console.log('HiAppEvent into json-callback');
84 console.error(`HiAppEvent json-callback-error code=${err.code}`);
88 console.log(`HiAppEvent json-callback-success value=${value}`);
108 console.log('HiAppEvent into json-callback');
110 console.error(`HiAppEvent json-callback-error code=${err.code}`);
114 console.log(`HiAppEvent json-callback-success value=${value}`);
134 console.log('HiAppEvent into json
[all...]
/test/xts/acts/multimodalinput/multimodalinput_ets_hvigor/InputDevice/entry/src/ohosTest/ets/test/
H A DMultimodalInputConsumer.test.ets53 console.info(`${caseName} hotkeyOptions: ${JSON.stringify(hotkeyOptions)}`);
61 console.info(`${caseName} Subscribe failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
66 console.info(`${caseName} fail, error: ${JSON.stringify(error, [`code`, `message`])}`);
90 console.info(`${caseName} hotkeyOptions: ${JSON.stringify(hotkeyOptions)}`);
98 console.info(`${caseName} Subscribe failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
103 console.info(`${caseName} fail, error: ${JSON.stringify(error, [`code`, `message`])}`);
126 console.info(`${caseName} hotkeyOptions: ${JSON.stringify(hotkeyOptions)}`);
134 console.info(`${caseName} Subscribe failed, error: ${JSON.stringify(error, [`code`, `message`])}`);
139 console.info(`${caseName} fail, error: ${JSON.stringify(error, [`code`, `message`])}`);
162 console.info(`${caseName} hotkeyOptions: ${JSON
[all...]
/third_party/json/tests/src/
H A Dunit-wstring.cpp2 // __| | __| | | | JSON for Modern C++ (supporting code)
4 // |_____|_____|_____|_|___| https://github.com/nlohmann/json
11 #include <nlohmann/json.hpp>
12 using nlohmann::json;
44 json j = json::parse(w);
54 json _;
55 CHECK_THROWS_AS(_ = json::parse(w), json::parse_error&);
64 json
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/
H A Dwhen-projects-are-not-built.js1 Info 0 [00:00:35.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
69 Info 3 [00:00:38.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json
70 Info 4 [00:00:39.000] Creating configuration project /user/username/projects/myproject/dependency/tsconfig.json
71 Info 5 [00:00:40.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Config file
72 Info 6 [00:00:41.000] Config: /user/username/projects/myproject/dependency/tsconfig.json : {
80 "configFilePath": "/user/username/projects/myproject/dependency/tsconfig.json"
[all...]
/test/xts/acts/arkui/ace_napi_test_es/entry/src/ohosTest/ets/test/
H A DNativeApiStringTest.test.ets119 console.info('napiCreateArrayBuffer testString result is: ' + JSON.stringify(value));
132 console.info('napiGetArrayBufferInfo testString result is: ' + JSON.stringify(value));
146 console.info('napiCreateFunction testString result is: ' + JSON.stringify(value));
160 console.info('napiDefineClass testString result is: ' + JSON.stringify(value));
173 console.info('napiCancelAsyncWork testString result is: ' + JSON.stringify(value));
186 console.info('napiCallThreadsafeFunction testString result is: ' + JSON.stringify(value));
199 console.info('napiCreateThreadsafeFunction testString result is: ' + JSON.stringify(value));
212 console.info('napiRefthreadSafeFunction testString result is: ' + JSON.stringify(value));
225 console.info('napiCreateDate testString result is: ' + JSON.stringify(value));
238 console.info('napiCreateBigintUint64 testString result is: ' + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/
H A Ddependency-dts-created.js1 Info 0 [00:01:01.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
196 Info 3 [00:01:04.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
197 Info 4 [00:01:05.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
198 Info 5 [00:01:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
199 Info 6 [00:01:07.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
206 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
H A Ddependency-dts-deleted.js1 Info 0 [00:01:00.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
204 Info 3 [00:01:03.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
205 Info 4 [00:01:04.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
207 Info 6 [00:01:06.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
214 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
H A Ddependency-dtsMap-created.js1 Info 0 [00:01:01.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
201 Info 3 [00:01:04.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
202 Info 4 [00:01:05.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
203 Info 5 [00:01:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
204 Info 6 [00:01:07.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
211 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
H A Ddependency-dtsMap-deleted.js1 Info 0 [00:01:00.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
204 Info 3 [00:01:03.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
205 Info 4 [00:01:04.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
207 Info 6 [00:01:06.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
214 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/symLinks/
H A Dmodule-resolution-when-project-compiles-from-sources.js1 Info 0 [00:00:39.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
30 //// [/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json]
36 //// [/users/username/projects/myproject/javascript/packages/recognizers-text/package.json]
47 Info 3 [00:00:42.000] For info: /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts :: Config file name: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json
48 Info 4 [00:00:43.000] Creating configuration project /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json
49 Info 5 [00:00:44.000] FileWatcher:: Added:: WatchInfo: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json 2000 undefined Project: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json WatchType: Config file
51 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json","reason":"Creating possible configured project for /users/username/projects/myproject/javascript/packages/recognizers-date-time/src/datetime/baseDate.ts to open"}}
52 Info 7 [00:00:46.000] Config: /users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json : {
57 "configFilePath": "/users/username/projects/myproject/javascript/packages/recognizers-date-time/tsconfig.json"
[all...]
/test/xts/acts/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/ohosTest/ets/MainAbility3/
H A DMainAbility3.ts23 console.log("[Demo] MainAbility3 context: " + JSON.stringify(this.context));
28 + JSON.stringify(ability));
31 + JSON.stringify(abilityname));
34 console.log("[Demo] 1listKey3:" + JSON.stringify(listKey3));
38 + JSON.stringify(ability));
41 + JSON.stringify(abilityname));
44 console.log("[Demo] 2listKey3:" + JSON.stringify(listKey3));
56 + JSON.stringify(ability));
59 + JSON.stringify(abilityname));
62 console.log("[Demo] 3listKey3:" + JSON
[all...]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
H A Dweb.test.ets30 console.info("get web state success " + JSON.stringify(pages));
32 console.info("get web state success " + JSON.stringify(pages.name));
35 console.info("push web page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.height).assertEqual("500.00vp");
60 console.info("[testwebGetTitle0001] height value :" + JSON.parse(strJson).$attrs.height);
69 let obj: Record<string, Object> = JSON.parse(strJson);
71 expect(JSON.parse(strJson).$attrs.fileAccess).assertEqual(undefined);
72 console.info("[testwebGetTitle0002] fileAccess value :" + JSON.parse(strJson).$attrs.fileAccess);
81 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_noui/ace_ets_module_global/ace_ets_module_global_api11/entry/src/main/ets/test/webTest/
H A Dweb2.test.ets30 console.info("get web state success " + JSON.stringify(pages));
32 console.info("get web state success " + JSON.stringify(pages.name));
35 console.info("push web page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.height).assertEqual("500.00vp");
60 console.info("[testwebGetTitle0001] height value :" + JSON.parse(strJson).$attrs.height);
69 let obj: Record<string, Object> = JSON.parse(strJson);
71 expect(JSON.parse(strJson).$attrs.fileAccess).assertEqual(undefined);
72 console.info("[testwebGetTitle0002] fileAccess value :" + JSON.parse(strJson).$attrs.fileAccess);
81 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_platform/ace_ets_module_platform_api11/entry/src/main/ets/test/video/
H A DVideoJsunit2.test.ets33 console.info("get video state pages:" + JSON.stringify(pages));
35 console.info("get video state pages.name:" + JSON.stringify(pages.name));
38 console.info("push video page result:" + JSON.stringify(result));
55 expect(JSON.parse(strJsonNew).$type).assertEqual('Video');
75 console.log("[testVideo02] change component data error: " + JSON.stringify((err as BusinessError)?.message));
79 console.info("[testVideo02] component JSON.parse(strJsonNew) is: " + JSON.stringify(JSON.parse(strJsonNew)));
99 console.log("[testVideo03] change component data error: " + JSON.stringify((err as BusinessError)?.message));
103 console.info("[testVideo03] component JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsbuild/resolveJsonModule/
H A Dinclude-of-json-along-with-other-include-and-file-name-matches-ts-file.js17 //// [/src/src/index.json]
21 import hello from "./index.json"
25 //// [/src/tsconfig_withFiles.json]
38 "src/index.ts", "src/hello.json"
42 //// [/src/tsconfig_withInclude.json]
59 //// [/src/tsconfig_withIncludeAndFiles.json]
72 "src/hello.json"
79 //// [/src/tsconfig_withIncludeOfJson.json]
92 "src/**/*", "src/**/*.json"
99 /lib/tsc --b /src/tsconfig_withIncludeOfJson.json
[all...]
H A Dinclude-of-json-along-with-other-include.js17 //// [/src/src/hello.json]
23 import hello from "./hello.json"
27 //// [/src/tsconfig_withFiles.json]
40 "src/index.ts", "src/hello.json"
44 //// [/src/tsconfig_withInclude.json]
61 //// [/src/tsconfig_withIncludeAndFiles.json]
74 "src/hello.json"
81 //// [/src/tsconfig_withIncludeOfJson.json]
94 "src/**/*", "src/**/*.json"
101 /lib/tsc --b /src/tsconfig_withIncludeOfJson.json
[all...]
/third_party/typescript/src/testRunner/unittests/tsbuild/
H A DjavascriptProjectEmit.ts14 "/src/common/tsconfig.json": Utils.dedent`
16 "extends": "../tsconfig.base.json",
29 "/src/sub-project/tsconfig.json": Utils.dedent`
31 "extends": "../tsconfig.base.json",
54 "/src/sub-project-2/tsconfig.json": Utils.dedent`
56 "extends": "../tsconfig.base.json",
65 "/src/tsconfig.json": Utils.dedent`
76 "/src/tsconfig.base.json": Utils.dedent`
101 "/src/common/tsconfig.json": Utils.dedent`
103 "extends": "../tsconfig.base.json",
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceErrors/
H A Dwith-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.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]
34 //// [/user/username/projects/myproject/usage/tsconfig.json]
58 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
59 Info 4 [00:00:33.000] Creating configuration project /user/username/projects/myproject/usage/tsconfig.json
60 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
61 Info 6 [00:00:35.000] Config: /user/username/projects/myproject/usage/tsconfig.json : {
67 "configFilePath": "/user/username/projects/myproject/usage/tsconfig.json"
76 Info 7 [00:00:36.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchTyp
[all...]
H A Dwith-non-module-when-the-depedency-file-is-open-getErr.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...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_picker/ace_ets_module_picker_api11/entry/src/main/ets/test/TextPicker/
H A DTextPickerSec.ets45 console.info("emit emitKey err: " + JSON.stringify(err));
60 console.info("get TextPickerSec state success " + JSON.stringify(pages));
62 console.info("get TextPickerSec state success " + JSON.stringify(pages.name));
64 console.info("push TextPickerSec page success " + JSON.stringify(result));
67 console.error("push TextPickerSec page error " + JSON.stringify(err));
84 console.info('ArkUX_Stage_TextPicker_CanLoop_0100 START :' + JSON.stringify(strJson));
85 let obj: ESObject = JSON.parse(strJson);
86 console.info('ArkUX_Stage_TextPicker_CanLoop_0100 obj $attrs.canLoop :' + JSON.stringify(obj.$attrs.canLoop));
91 console.info('ArkUX_Stage_TextPicker_CanLoop_0100 err :' + JSON.stringify(err))
107 console.info('ArkUX_Stage_TextPicker_CanLoop_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/SelectTest/
H A DSelectMenu.ets30 console.info("get SelectMenu state success " + JSON.stringify(pages));
32 console.info("get SelectMenu state success " + JSON.stringify(pages.name));
34 console.info("push SelectMenu page success " + JSON.stringify(result));
37 console.error("push SelectMenu page error " + JSON.stringify(err));
52 let obj: ESObject = JSON.parse(strJson);
53 console.info("[ArkUXII_Stage_Select_Menu_MenuAlign_0100]:" + JSON.stringify(obj.$attrs.menuAlign));
58 console.info('ArkUXII_Stage_Select_Menu_MenuAlign_0100 ERR ' + JSON.stringify(err));
74 let obj: ESObject = JSON.parse(strJson);
75 console.info("[ArkUXII_Stage_Select_Menu_MenuAlign_0200]:" + JSON.stringify(obj.$attrs.menuAlign));
80 console.info('ArkUXII_Stage_Select_Menu_MenuAlign_0200 ERR ' + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/
H A Dwhen-dependency-project-is-not-open-and-save-on-usage-with-project.js1 Info 0 [00:00:29.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
17 //// [/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
56 Info 6 [00:00:35.000] Config: /user/username/projects/myproject/usage/tsconfig.json : {
61 "configFilePath": "/user/username/projects/myproject/usage/tsconfig.json"
70 Info 7 [00:00:36.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchTyp
[all...]

Completed in 15 milliseconds

1...<<31323334353637383940>>...857