Home
last modified time | relevance | path

Searched refs:jsonObject1 (Results 1 - 3 of 3) sorted by relevance

/foundation/distributedhardware/distributed_audio/common/test/unittest/src/
H A Ddaudio_utils_test.cpp332 cJSON *jsonObject1 = cJSON_CreateObject(); in HWTEST_F() local
333 CHECK_NULL_VOID(jsonObject1); in HWTEST_F()
334 cJSON_AddStringToObject(jsonObject1, "key", key.c_str()); in HWTEST_F()
335 EXPECT_EQ(false, IsString(jsonObject1, key)); in HWTEST_F()
336 cJSON_Delete(jsonObject1); in HWTEST_F()
356 cJSON *jsonObject1 = cJSON_CreateObject(); in HWTEST_F() local
357 CHECK_NULL_VOID(jsonObject1); in HWTEST_F()
358 cJSON_AddNumberToObject(jsonObject1, "key", INT32_MAX); in HWTEST_F()
359 EXPECT_EQ(false, IsInt32(jsonObject1, key)); in HWTEST_F()
360 cJSON_Delete(jsonObject1); in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/fuzztest/napicommonwant_fuzzer/
H A Dnapicommonwant_fuzzer.cpp210 napi_value jsonObject1 = WrapAbilityResult(env, resultCode, want); // env not null in NapiCommonWantFuzztest4() local
212 UnWrapAbilityResult(env, jsonObject1, resultCode, want); // null param in NapiCommonWantFuzztest4()
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_credential_manager.cpp711 nlohmann::json jsonObject1 = nlohmann::json(credentialDataInfo); in HWTEST_F() local
713 credentialJson.push_back(jsonObject1); in HWTEST_F()

Completed in 4 milliseconds