utest: add SurfaceInternalQueryFormatsTest testcase 00/170600/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 20 Feb 2018 11:30:45 +0000 (20:30 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 20 Feb 2018 11:30:45 +0000 (20:30 +0900)
Change-Id: Ide3d3a40f855ad252c6b91bb84a485535a3cb968

utests/ut.h
utests/ut_tbm_surface_internal.cpp

index e8d7bb7..ac2fce6 100644 (file)
@@ -94,6 +94,7 @@ public:
 };
 
 typedef SurfaceTest SurfaceInternalTest;
+typedef SurfaceQueryFormatsTest SurfaceInternalQueryFormatsTest;
 
 #define QUEUE_SIZE 3
 
index 361359f..bcbbbce 100644 (file)
@@ -8,7 +8,7 @@
 #include "ut.h"
 
 /* int tbm_surface_internal_query_supported_formats(uint32_t **formats, uint32_t *num) */
-TEST_F(UtInit, SurfaceInternalQueryFormatsFailNull)
+TEST_F(SurfaceInternalQueryFormatsTest, SurfaceInternalQueryFormatsFailNull)
 {
        uint32_t num = 0;
        tbm_format *formats = NULL;
@@ -20,7 +20,7 @@ TEST_F(UtInit, SurfaceInternalQueryFormatsFailNull)
        ASSERT_FALSE(tbm_surface_internal_query_supported_formats(NULL, &num));
 }
 
-TEST_F(UtInit, SurfaceInternalQueryFormatsSuccess)
+TEST_F(SurfaceInternalQueryFormatsTest, SurfaceInternalQueryFormatsSuccess)
 {
        uint32_t num = 0;
        tbm_format *formats = NULL;