assert(!notification);
+ notification_free(notification);
return 0;
}
assert(notification);
+ notification_free(notification);
return 0;
}
assert(notification);
+ notification_free(notification);
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_INDICATOR, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_FOR_LOCK, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_THUMBNAIL_FOR_LOCK, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON_SUB, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BACKGROUND, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_1, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_2, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_3, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_ICON, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_LIST_5, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_1, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_2, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_3, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_4, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_5, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_image(notification, NOTIFICATION_IMAGE_TYPE_BUTTON_6, TEST_IMAGE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
assert_eq(strcmp(image, TEST_IMAGE), 0);
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
/**
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_neq(image, NULL);
image = NULL;
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
assert_eq(t, TEST_TIME);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, -1);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
assert_neq(t, 0);
+ notification_free(notification);
+
return 0;
}
NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, TEST_TEXT, NULL, NOTIFICATION_VARIABLE_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_get_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, &value);
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_TITLE, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_EVENT_COUNT, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_1, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_1, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_2, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_2, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_3, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_INFO_SUB_3, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_TITLE, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_GROUP_CONTENT_FOR_DISPLAY_OPTION_IS_OFF, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_1, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_2, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_3, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_4, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_5, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
/**
ret = notification_set_time_to_text(notification, NOTIFICATION_TEXT_TYPE_BUTTON_6, time(NULL));
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(t, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(strcmp(value, TEST_PATH), 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(strcmp(value, TEST_PATH), 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, -1);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value2, -1);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value2, TEST_INT);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_APP_LAUNCH);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_UPDATE_ON_INSERT);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_DISABLE_UPDATE_ON_DELETE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_property(notification, NOTIFICATION_PROP_VOLATILE_DISPLAY);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, -1);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value, NOTIFICATION_PROP_DISABLE_AUTO_DELETE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value, NOTIFICATION_DISPLAY_APP_ALL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, -1.0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value, TEST_DOUBLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(value, -1.0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(value, TEST_DOUBLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_EVENT_MULTIPLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_layout(notification, NOTIFICATION_LY_NOTI_THUMBNAIL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_layout(notification, NOTIFICATION_LY_ONGOING_EVENT);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
ret = notification_set_layout(notification, NOTIFICATION_LY_ONGOING_PROGRESS);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(type, NOTIFICATION_LY_NOTI_EVENT_SINGLE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(type, NOTIFICATION_TYPE_NONE);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(type, NOTIFICATION_TYPE_NOTI);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(tag, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(strcmp(tag, TEST_TAG_FOR_NOTI), 0);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert(notification);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_INVALID_PARAMETER);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}
assert_neq(tag, NULL);
assert_eq(ret, NOTIFICATION_ERROR_NONE);
+ notification_free(notification);
+
return 0;
}