Home
last modified time | relevance | path

Searched refs:json (Results 1 – 25 of 26) sorted by relevance

12

/ark/js_runtime/ecmascript/tooling/test/
Dpt_json_test.cpp46 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() local
47 ASSERT_TRUE(json->IsBool()); in HWTEST_F_L0()
48 EXPECT_FALSE(json->GetBool()); in HWTEST_F_L0()
49 EXPECT_EQ(json->Stringify(), str); in HWTEST_F_L0()
50 json->ReleaseRoot(); in HWTEST_F_L0()
56 std::unique_ptr<PtJson> json = PtJson::Parse(str.c_str()); in HWTEST_F_L0() local
57 ASSERT_TRUE(json->IsBool()); in HWTEST_F_L0()
58 EXPECT_TRUE(json->GetBool()); in HWTEST_F_L0()
59 EXPECT_EQ(json->Stringify(), str); in HWTEST_F_L0()
60 json->ReleaseRoot(); in HWTEST_F_L0()
[all …]
Ddebugger_types_test.cpp1733 auto json = samplingHeapProfileSampleData->ToJson(); in HWTEST_F_L0() local
1735 ret = json->GetInt("size", &tmpInt); in HWTEST_F_L0()
1738 ret = json->GetInt("nodeId", &tmpInt); in HWTEST_F_L0()
1741 ret = json->GetInt("ordinal", &tmpInt); in HWTEST_F_L0()
1811 auto json = samplingHeapProfileNode->ToJson(); in HWTEST_F_L0() local
1813 ret = json->GetObject("callFrame", &tmpJson); in HWTEST_F_L0()
1826 ret = json->GetInt("selfSize", &tmpInt); in HWTEST_F_L0()
1829 ret = json->GetInt("id", &tmpInt); in HWTEST_F_L0()
1832 ret = json->GetArray("children", &tmpJson); in HWTEST_F_L0()
1922 auto json = samplingHeapProfile->ToJson(); in HWTEST_F_L0() local
[all …]
Ddebugger_events_test.cpp73 std::unique_ptr<PtJson> json; in HWTEST_F_L0() local
74 ASSERT_EQ(breakpointResolved.ToJson()->GetObject("params", &json), Result::SUCCESS); in HWTEST_F_L0()
76 ASSERT_EQ(json->GetString("breakpointId", &breakpointId), Result::SUCCESS); in HWTEST_F_L0()
80 ASSERT_EQ(json->GetObject("location", &locationJson), Result::SUCCESS); in HWTEST_F_L0()
/ark/js_runtime/ecmascript/tooling/
Ddispatcher.cpp31 std::unique_ptr<PtJson> json = PtJson::Parse(message); in DispatchRequest() local
32 if (json == nullptr || !json->IsObject()) { in DispatchRequest()
40 ret = json->GetInt("id", &callId); in DispatchRequest()
49 ret = json->GetString("method", &wholeMethod); in DispatchRequest()
70 ret = json->GetObject("params", &params); in DispatchRequest()
/ark/ts2abc/testTs/
DREADME_zh.md4 1.skip_tests.json:进行代码文件的规避执行,能对文件中存放的ts文件进行不执行操作。<br>
5 2.import_tests.json:存放import的ts代码文件路径,对import类型文件进行添加。<br>
Dconfig.py22 import json
50 IMPORT_TEST = json.loads(content)
Drun_testTs.py27 import json
51 skip_test = json.loads(sk_content)
182 out_txt = json.loads(out_do)
186 c = json.loads(out_list[i])
218 i = json.loads(i.replace("'", '"').replace('\n', ''))
DREADME.md4 1. skip_tests.json:avoids code files and does not perform operations on TS files stored in the file.
5 2. import_tests.json:Is the path to the TS code file where import files are stored to add import fi…
Dutils.py27 import json
Dtest-case.patch114 .../typeReferenceRelatedFiles/package.json | 4 +
575 create mode 100644 tests/cases/conformance/declarationEmit/typeReferenceRelatedFiles/package.json
4134 …typeReferenceRelatedFiles/package.json b/tests/cases/conformance/declarationEmit/typeReferenceRela…
4138 +++ b/tests/cases/conformance/declarationEmit/typeReferenceRelatedFiles/package.json
4155 +// @filename: node_modules/@types/node/package.json
5653 +import './0' assert { type: "json" }
5654 +import { a, b } from './0' assert { "type": "json" }
5655 +import * as foo from './0' assert { type: "json" }
5671 +const b = import('./0', { assert: { type: "json" } })
5672 +const c = import('./0', { assert: { type: "json", ttype: "typo" } })
[all …]
/ark/ts2abc/ts2panda/
DBUILD.gn36 "${ts2abc_root}/package-lock.json",
37 "${ts2abc_root}/package.json",
38 "${ts2abc_root}/tsconfig.json",
53 rebase_path("scripts/diagnosticMessages.json", root_build_dir),
/ark/js_runtime/
D.gitignore1 **/compile_commands.json
/ark/runtime_core/
D.gitignore2 **/compile_commands.json
DREADME_zh.md64 …133011"><a name="p13151527133011"></a><a name="p13151527133011"></a>将结果保存到json文件中,以支持在VS Code中的deb…
/ark/runtime_core/cmake/
DREADME.md66 * `compile_commands.json` - json nija-commands file to correct execution clang-tidy.
/ark/runtime_core/tests/cts-generator/
DREADME.md19 -s, --schema FILE Path to json schema for template yaml (required)
30 -s ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/yaml-schema.json \
97 -s ./cts-template/yaml-schema.json \
DCMakeLists.txt57 set(CTS_TEMPLATE_SCHEMA "${PROJECT_BINARY_DIR}/cts-template/yaml-schema.json")
/ark/runtime_core/isa/
DREADME.md11 - schema.json
/ark/ts2abc/ts2panda/ts2abc/
DBUILD.gn113 "$jsoncpp_root/include/json/",
/ark/ts2abc/test262/
Drun_test262.py24 import json
130 json_data = json.load(jsonfile)
Dharness.patch107 .choices('reporter', ['simple', 'json'])
DREADME.md5 skip_tests.json: This file contains a list of use cases that do not meet the requirements. If usefu…
/ark/ts2abc/
DLICENSE179 The "ts2panda\scripts\diagnosticMessages.json" file may contain
/ark/js_runtime/docs/
Dusing-the-toolchain-zh.md167 …133011"><a name="p13151527133011"></a><a name="p13151527133011"></a>将结果保存到json文件中,以支持在VS Code中的deb…
/ark/js_runtime/ecmascript/napi/include/
Djsnapi.h713 static Local<JSValueRef> Stringify(const EcmaVM *vm, Local<JSValueRef> json);

12