Change-Id: Icff43e11a30fdc5b6076d0e0fc95c4525b432b11
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
#include <tbm_bufmgr.h>
#include <tbm_surface.h>
#include <tbm_surface_internal.h>
+#include <climits>
#include "ut.h"
/* int tbm_surface_internal_query_supported_formats(uint32_t **formats, uint32_t *num) */
TEST_F(UtSurfaceInternal, DeleteUserDataSuccess)
{
- unsigned long key_ud = 9787524897;
+ unsigned long key_ud = UINT_MAX;
ASSERT_TRUE(tbm_surface_internal_add_user_data(surface, key_ud, data_free_handle));
ASSERT_TRUE(tbm_surface_internal_set_user_data(surface, key_ud, &tbm_data_free_is_called));