From 427cc53d833a170d0047d56b9aeec5f2245eff44 Mon Sep 17 00:00:00 2001 From: Seungha Son Date: Fri, 3 Nov 2017 13:46:08 +0900 Subject: [PATCH] fix testapp Signed-off-by: Seungha Son Change-Id: Ibddd855a6bc7916338452b307069dcd18683cb1d --- test-app/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test-app/main.c b/test-app/main.c index 47b3505..d562082 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); -- 2.7.4