Lines Matching refs:string
75 EXPECT_EQ(UDMF_META_PLAIN_TEXT, *(std::get_if<std::string>(&(plainText->obj->value_[UNIFORM_DATA_TYPE]))));
89 EXPECT_EQ(UDMF_META_PLAIN_TEXT, std::string(OH_UdsPlainText_GetType(plainText)));
111 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetContent(plainText)));
133 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetAbstract(plainText)));
156 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetContent(plainText)));
182 EXPECT_EQ("doing something", std::string(OH_UdsPlainText_GetAbstract(plainText)));
206 EXPECT_EQ(UDMF_META_HYPERLINK, *(std::get_if<std::string>(&(hyperlink->obj)->value_[UNIFORM_DATA_TYPE])));
220 EXPECT_EQ(UDMF_META_HYPERLINK, std::string(OH_UdsHyperlink_GetType(hyperlink)));
242 EXPECT_EQ("www.xxx.com", std::string(OH_UdsHyperlink_GetUrl(hyperlink)));
264 EXPECT_EQ("do something", std::string(OH_UdsHyperlink_GetDescription(hyperlink)));
287 EXPECT_EQ("www.xxx.com", std::string(OH_UdsHyperlink_GetUrl(hyperlink)));
313 EXPECT_EQ("doing something", std::string(OH_UdsHyperlink_GetDescription(hyperlink)));
337 EXPECT_EQ(UDMF_META_HTML, *(std::get_if<std::string>(&(html->obj)->value_[UNIFORM_DATA_TYPE])));
351 EXPECT_EQ(UDMF_META_HTML, std::string(OH_UdsHtml_GetType(html)));
373 EXPECT_EQ("htmlxxxxx", std::string(OH_UdsHtml_GetContent(html)));
395 EXPECT_EQ("do something", std::string(OH_UdsHtml_GetPlainContent(html)));
418 EXPECT_EQ("htmlxxx", std::string(OH_UdsHtml_GetContent(html)));
444 EXPECT_EQ("doing something", std::string(OH_UdsHtml_GetPlainContent(html)));
468 EXPECT_EQ(UDMF_META_OPENHARMONY_APP_ITEM, *(std::get_if<std::string>(&(appItem->obj)->value_[UNIFORM_DATA_TYPE])));
482 EXPECT_EQ(UDMF_META_OPENHARMONY_APP_ITEM, std::string(OH_UdsAppItem_GetType(appItem)));
504 EXPECT_EQ("com.xxx", std::string(OH_UdsAppItem_GetId(appItem)));
526 EXPECT_EQ("OH", std::string(OH_UdsAppItem_GetName(appItem)));
548 EXPECT_EQ("icon", std::string(OH_UdsAppItem_GetIconId(appItem)));
570 EXPECT_EQ("label", std::string(OH_UdsAppItem_GetLabelId(appItem)));
592 EXPECT_EQ("bundle", std::string(OH_UdsAppItem_GetBundleName(appItem)));
614 EXPECT_EQ("ability", std::string(OH_UdsAppItem_GetAbilityName(appItem)));
637 EXPECT_EQ("com.xxx", std::string(OH_UdsAppItem_GetId(appItem)));
663 EXPECT_EQ("OH", std::string(OH_UdsAppItem_GetName(appItem)));
689 EXPECT_EQ("icon", std::string(OH_UdsAppItem_GetIconId(appItem)));
715 EXPECT_EQ("label", std::string(OH_UdsAppItem_GetLabelId(appItem)));
741 EXPECT_EQ("bundle", std::string(OH_UdsAppItem_GetBundleName(appItem)));
767 EXPECT_EQ("ability", std::string(OH_UdsAppItem_GetAbilityName(appItem)));
790 EXPECT_EQ(UDMF_META_GENERAL_FILE_URI, *(std::get_if<std::string>(&(fileUri->obj)->value_[UNIFORM_DATA_TYPE])));
802 EXPECT_EQ(UDMF_META_GENERAL_FILE_URI, std::string(OH_UdsFileUri_GetType(fileUri)));
822 EXPECT_EQ("fileUri", std::string(OH_UdsFileUri_GetFileUri(fileUri)));
842 EXPECT_EQ("fileType", std::string(OH_UdsFileUri_GetFileType(fileUri)));
863 EXPECT_EQ("file uri", std::string(OH_UdsFileUri_GetFileUri(fileUri)));
887 EXPECT_EQ("file type", std::string(OH_UdsFileUri_GetFileType(fileUri)));
910 *(std::get_if<std::string>(&(pixelMap->obj)->value_[UNIFORM_DATA_TYPE])));
922 EXPECT_EQ(UDMF_META_OPENHARMONY_PIXEL_MAP, std::string(OH_UdsPixelMap_GetType(pixelMap)));
1093 EXPECT_EQ(UDMF_METE_GENERAL_CONTENT_FORM, std::string(OH_UdsContentForm_GetType(contentForm)));
1103 EXPECT_EQ("description", std::string(OH_UdsContentForm_GetDescription(contentForm)));
1104 EXPECT_EQ("title", std::string(OH_UdsContentForm_GetTitle(contentForm)));
1105 EXPECT_EQ("appName", std::string(OH_UdsContentForm_GetAppName(contentForm)));
1106 EXPECT_EQ("link url", std::string(OH_UdsContentForm_GetLinkUri(contentForm)));