summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2017-11-03 13:46:08 +0900
committerSeungha Son <seungha.son@samsung.com>2017-11-03 14:02:16 +0900
commit427cc53d833a170d0047d56b9aeec5f2245eff44 (patch)
tree4aa3e03ecd9aca103cf01a5ad47f1b15e8b7e5d8
parent33da84a9da50ebeb9e2358f0c2b1905287c57bbb (diff)
downloadnotification-427cc53d833a170d0047d56b9aeec5f2245eff44.tar.gz
notification-427cc53d833a170d0047d56b9aeec5f2245eff44.tar.bz2
notification-427cc53d833a170d0047d56b9aeec5f2245eff44.zip
fix testapp
Signed-off-by: Seungha Son <seungha.son@samsung.com> Change-Id: Ibddd855a6bc7916338452b307069dcd18683cb1d
-rwxr-xr-xtest-app/main.c7
1 files changed, 1 insertions, 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, &noti_list_handle);
+ noti_err = notification_get_list(NOTIFICATION_TYPE_NONE, -1, &noti_list_handle);
if (noti_err != NOTIFICATION_ERROR_NONE) {
testapp_print("notification_get_detail_list failed[%d]\n", noti_err);