From: Seungha Son Date: Fri, 3 Nov 2017 04:46:08 +0000 (+0900) Subject: fix testapp X-Git-Tag: submit/tizen/20171120.105459~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=427cc53d833a170d0047d56b9aeec5f2245eff44;p=platform%2Fcore%2Fapi%2Fnotification.git fix testapp Signed-off-by: Seungha Son Change-Id: Ibddd855a6bc7916338452b307069dcd18683cb1d --- diff --git a/test-app/main.c b/test-app/main.c index 47b3505b..d5620820 100755 --- a/test-app/main.c +++ b/test-app/main.c @@ -288,11 +288,6 @@ static int testapp_test_post_notifications() goto FINISH_OFF; } - if (repeat_count > 30) { - testapp_print("Too many count"); - goto FINISH_OFF; - } - for (i = 0; i < repeat_count; i++) { if ((err = testapp_add_a_notification()) != NOTIFICATION_ERROR_NONE) { testapp_print("testapp_add_a_notification failed[%d]", err); @@ -562,7 +557,7 @@ static int testapp_test_get_list() bool ongoing_flag; bool auto_remove; - noti_err = notification_get_detail_list("./notification-test-app", NOTIFICATION_PRIV_ID_NONE, NOTIFICATION_GROUP_ID_NONE, 10, ¬i_list_handle); + noti_err = notification_get_list(NOTIFICATION_TYPE_NONE, -1, ¬i_list_handle); if (noti_err != NOTIFICATION_ERROR_NONE) { testapp_print("notification_get_detail_list failed[%d]\n", noti_err);