From: Semun Lee Date: Sun, 17 Jul 2016 02:34:27 +0000 (+0900) Subject: Change test app for setting text domain X-Git-Tag: submit/tizen/20160803.012753~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9bc1464305faadf499c3d46d5346f70dfde914b;p=platform%2Fcore%2Fapi%2Fnotification.git Change test app for setting text domain Change-Id: I5317e89b9a98bef889358b80bc67c6c8f4cfd779 Signed-off-by: Semun Lee --- diff --git a/test-app/main.c b/test-app/main.c index b0457bdc..36833c63 100755 --- a/test-app/main.c +++ b/test-app/main.c @@ -494,10 +494,9 @@ static int testapp_test_post_notification_with_domain_text() goto FINISH_OFF; } - noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_TITLE, "I'm Title", "TITLE", NOTIFICATION_VARIABLE_TYPE_NONE); - noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, "I'm Content", "[%s] *** [%s]", - NOTIFICATION_VARIABLE_TYPE_STRING, "IDS_MSGF_BODY_NO_SUBJECT", - NOTIFICATION_VARIABLE_TYPE_STRING, "IDS_MSGF_POP_NEW_MESSAGE", + noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_TITLE, "I'm Title", "IDS_MSGF_POP_NEW_MESSAGES", NOTIFICATION_VARIABLE_TYPE_NONE); + noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, "I'm Content", "IDS_MSG_TPOP_MAXIMUM_MESSAGE_SIZE_HPS_EXCEEDED_RESIZING_ATTACHMENTS_ING", + NOTIFICATION_VARIABLE_TYPE_STRING, "200KB", NOTIFICATION_VARIABLE_TYPE_NONE); noti_err = notification_set_display_applist(noti_handle, NOTIFICATION_DISPLAY_APP_NOTIFICATION_TRAY);