Home
last modified time | relevance | path

Searched refs:objectValue (Results 1 - 8 of 8) sorted by relevance

/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpaste_data_record_test.cpp151 auto objectValue = (*object)->value_; in CheckPlainUds() local
152 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
155 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
166 auto objectValue = (*object)->value_; in CheckFileUriUds() local
167 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds()
170 auto value = std::get_if<std::string>(&objectValue[UDMF::FILE_URI_PARAM]); in CheckFileUriUds()
181 auto objectValue = (*object)->value_; in CheckHtmlUds() local
182 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckHtmlUds()
185 auto value = std::get_if<std::string>(&objectValue[UDMF::HTML_CONTENT]); in CheckHtmlUds()
196 auto objectValue in CheckPixelMapUds() local
215 auto objectValue = (*object)->value_; CheckLinkUds() local
[all...]
H A Dconvert_utils_test.cpp261 auto objectValue = (*object)->value_; in CheckPlainUds() local
262 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
265 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
277 auto objectValue = (*object)->value_; in CheckFileUriUds() local
278 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckFileUriUds()
281 auto value = std::get_if<std::string>(&objectValue[UDMF::FILE_URI_PARAM]); in CheckFileUriUds()
293 auto objectValue = (*object)->value_; in CheckHtmlUds() local
294 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckHtmlUds()
297 auto value = std::get_if<std::string>(&objectValue[UDMF::HTML_CONTENT]); in CheckHtmlUds()
309 auto objectValue in CheckPixelMapUds() local
329 auto objectValue = (*object)->value_; CheckLinkUds() local
[all...]
H A Dpaste_data_entry_test.cpp115 auto objectValue = (*object)->value_; in CheckPlainUds() local
116 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPlainUds()
119 auto value = std::get_if<std::string>(&objectValue[UDMF::CONTENT]); in CheckPlainUds()
131 auto objectValue = (*object)->value_; in CheckPixelMapUds() local
132 auto typeValue = std::get_if<std::string>(&objectValue[UDMF::UNIFORM_DATA_TYPE]); in CheckPixelMapUds()
135 auto value = std::get_if<std::shared_ptr<PixelMap>>(&objectValue[UDMF::PIXEL_MAP]); in CheckPixelMapUds()
/foundation/arkui/ace_engine/test/unittest/base/
H A Djson_util_test.cpp234 std::unique_ptr<JsonValue> objectValue = JsonUtil::ParseJsonString(testJson); in HWTEST_F() local
235 ASSERT_TRUE(objectValue); in HWTEST_F()
236 EXPECT_TRUE(objectValue->IsValid()); in HWTEST_F()
237 EXPECT_FALSE(objectValue->IsNull()); in HWTEST_F()
238 EXPECT_TRUE(objectValue->IsObject()); in HWTEST_F()
239 EXPECT_TRUE(objectValue->Contains(TEST_KEY)); in HWTEST_F()
240 EXPECT_FALSE(objectValue->Contains(TEST_FALSE_KEY)); in HWTEST_F()
241 EXPECT_TRUE(objectValue->GetValue(TEST_KEY)->GetString() == TEST_STRING); in HWTEST_F()
242 EXPECT_TRUE(objectValue->GetValue(TEST_FALSE_KEY)->GetString().empty()); in HWTEST_F()
261 std::unique_ptr<JsonValue> objectValue in HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Djson_object.cpp149 if (value_.type() != Json::ValueType::objectValue) { in Parse()
211 if (value_.type() != Json::ValueType::objectValue) { in Parse()
324 if (valueNode.type() != Json::ValueType::objectValue) { in GetSubFieldPath()
359 if (valueNode.type() != Json::ValueType::objectValue) { in GetSubFieldPathAndType()
489 leafNode = Json::Value(Json::ValueType::objectValue); in LeafJsonNodeAssignValue()
511 if (nearest->type() != Json::ValueType::objectValue) { // path ends with type not object in MoveToPath()
529 value_ = Json::Value(Json::ValueType::objectValue); in InsertField()
554 value_ = Json::Value(Json::ValueType::objectValue); in InsertField()
589 if (nearest == nullptr || nearest->type() != Json::ValueType::objectValue || nearDepth != inPath.size() - 1) { in DeleteField()
659 case Json::ValueType::objectValue in GetFieldTypeByJsonValue()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/configuration/src/
H A Djson_parser.cpp68 Json::Value root(Json::ValueType::objectValue); in SaveConfig()
142 Json::Value tagObject(Json::ValueType::objectValue); in SaveModuleConfig()
/foundation/resourceschedule/qos_manager/services/src/
H A Dconcurrent_task_controller.cpp919 if (type != Json::objectValue) { in CheckJsonValid()
/foundation/multimedia/player_framework/services/services/screen_capture/server/
H A Dscreen_capture_server.cpp255 if (!parsingSuccessful || root.type() != Json::objectValue) { in GetChoiceFromJson()
277 if (root.type() != Json::objectValue) { in PrepareSelectWindow()

Completed in 15 milliseconds