summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungki Lee <mk5004.lee@samsung.com>2016-11-07 17:21:21 +0900
committerMyungki Lee <mk5004.lee@samsung.com>2016-11-07 17:21:21 +0900
commit2211447391e9e5aee6261f59217c1a2b0119dfe7 (patch)
tree6c25d6935366db935bf6553ded05e5bfe5a4190b
parent2915630b5fbef884044bf376e15fe9cb6b0f0c7d (diff)
downloadnotification-2211447391e9e5aee6261f59217c1a2b0119dfe7.tar.gz
notification-2211447391e9e5aee6261f59217c1a2b0119dfe7.tar.bz2
notification-2211447391e9e5aee6261f59217c1a2b0119dfe7.zip
Fix test-app
Change-Id: Id08e4f9bf6b375e7b80f1d8bdf95afbbcebe325e Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
-rwxr-xr-xtest-app/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-app/main.c b/test-app/main.c
index c6fd92f..f47c2a5 100755
--- a/test-app/main.c
+++ b/test-app/main.c
@@ -317,12 +317,12 @@ static int testapp_test_post_notification_on_indicator()
goto FINISH_OFF;
}
- snprintf(image_path, TIZEN_PATH_MAX, "%s/org.tizen.indicator/res/icons/Shealth/B03_shealth.png", PATH_FMT_RO_APP_ROOT);
- noti_err = notification_set_image(noti_handle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, image_path);
- /*
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", "This is very long message", NOTIFICATION_VARIABLE_TYPE_NONE);
- */
+ noti_err = notification_set_text(noti_handle, NOTIFICATION_TEXT_TYPE_CONTENT, "I'm Content", "CONTENT", NOTIFICATION_VARIABLE_TYPE_NONE);
+
+ snprintf(image_path, TIZEN_PATH_MAX, "%s/org.tizen.indicator/res/resource/icons/Notify/b03_notify_more.png", PATH_FMT_RO_APP_ROOT);
+ noti_err = notification_set_image(noti_handle, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, image_path);
+
noti_err = notification_set_display_applist(noti_handle, NOTIFICATION_DISPLAY_APP_TICKER | NOTIFICATION_DISPLAY_APP_INDICATOR);
if (noti_err != NOTIFICATION_ERROR_NONE) {