utest: make NoBufmgrTest test case 89/170589/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 20 Feb 2018 07:34:30 +0000 (16:34 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 20 Feb 2018 07:58:54 +0000 (16:58 +0900)
Change-Id: I754ea35055262f88efe2b5f1eb0751132881faad

utests/ut_tbm_bufmgr.cpp

index cc9d028..0b5703d 100644 (file)
@@ -63,7 +63,7 @@ TEST_F(UtBufmgrInit, BoAllocSuccess)
 
 /* tbm_bo_ref() */
 
-TEST(tbm_bo_ref, BoRefFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoRefFailBufmgrWasNotInited)
 {
        int bo;
        tbm_bo ret_bo;
@@ -116,7 +116,7 @@ TEST_F(UtBoInit, BoUnrefSuccess)
 
 /* tbm_bo_map() */
 
-TEST(tbm_bo_map, BoMapFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoMapFailBufmgrWasNotInited)
 {
        int bo;
        tbm_bo_handle bo_handle;
@@ -156,7 +156,7 @@ TEST_F(UtBoInit, BoMapSuccess)
 
 /* tbm_bo_unmap() */
 
-TEST(tbm_bo_unmap, BoUnmapFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoUnmapFailBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -209,7 +209,7 @@ TEST_F(UtBoInit, BoUnmapSuccess)
 
 /* tbm_bo_get_handle() */
 
-TEST(tbm_bo_get_handle, BoGetHandleFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoGetHandleFailBufmgrWasNotInited)
 {
        int bo;
        tbm_bo_handle bo_handle;
@@ -249,7 +249,7 @@ TEST_F(UtBoInit, BoGetHandleSuccess)
 
 /* tbm_bo_export() */
 
-TEST(tbmBoExport, BoExportFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoExportFailBufmgrWasNotInited)
 {
        int bo;
        tbm_key ret_key;
@@ -298,7 +298,7 @@ TEST_F(UtBoInit, BoExportSuccess)
 
 /* tbmBoExportfd() */
 
-TEST(tbmBoExportfd, BoExportFdFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoExportFdFailBufmgrWasNotInited)
 {
        int bo;
        tbm_key ret_fd;
@@ -347,7 +347,7 @@ TEST_F(UtBoInit, BoExportFdSuccess)
 
 /* tbm_bo_import() */
 
-TEST(tbmBoImport, BoImportFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoImportFailBufmgrWasNotInited)
 {
        int bufmgr;
        tbm_bo ret_bo;
@@ -433,7 +433,7 @@ TEST_F(UtBoInit, BoImportSuccessWhenWeImportTwice)
 
 /* tbm_bo_import_fd() */
 
-TEST(tbmBoImportFd, BoImportFdFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoImportFdFailBufmgrWasNotInited)
 {
        int bufmgr;
        tbm_bo ret_bo;
@@ -519,7 +519,7 @@ TEST_F(UtBoInit, BoImportFdSuccessWhenWeImportTwice)
 
 /* tbm_bo_size() */
 
-TEST(BoSize, BoSizeFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoSizeFailBufmgrWasNotInited)
 {
        int bo;
        int ret_size;
@@ -559,7 +559,7 @@ TEST_F(UtBoInit, BoSizeSuccess)
 
 /* tbm_bo_locked() */
 
-TEST(BoLocked, BoLockedFailWhenBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoLockedFailWhenBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -667,7 +667,7 @@ TEST_F(UtInit, BoLockedNone)
 
 /* tbm_bo_swap() */
 
-TEST(BoSwap, BoSwapFailWhenBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoSwapFailWhenBufmgrWasNotInited)
 {
        int bo1, bo2;
        int ret;
@@ -749,7 +749,7 @@ TEST_F(UtBufmgrInit, BoSwapSuccess)
 
 /* tbm_bo_add_user_data() */
 
-TEST(BoAddUserData, BoAddUserDataFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoAddUserDataFailBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -798,7 +798,7 @@ TEST_F(UtBoInit, BoAddUserDataFailDataAlreadyExist)
 
 /* tbm_bo_delete_user_data() */
 
-TEST(BoDeleteUserData, BoDeleteUserDataFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoDeleteUserDataFailBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -862,7 +862,7 @@ TEST_F(UtBoInit, BoDeleteUserSuccess)
 
 /* tbm_bo_set_user_data() */
 
-TEST(BoSetUserData, BoSetUserDataFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoSetUserDataFailBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -945,7 +945,7 @@ TEST_F(UtBoInit,  BoSetUserDataSuccess)
 
 /* tbm_bo_get_user_data() */
 
-TEST(BoGetUserData, BoGetUserDataFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoGetUserDataFailBufmgrWasNotInited)
 {
        int bo;
        int ret;
@@ -1040,7 +1040,7 @@ TEST_F(UtBoInit,  BoGetUserDataFailDataWasRemoved)
 
 /* tbm_bufmgr_get_capability() */
 
-TEST(BufmgrGetCapability, BufmgrGetCapabilityFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BufmgrGetCapabilityFailBufmgrWasNotInited)
 {
        int bufmgr;
        unsigned int capability;
@@ -1080,7 +1080,7 @@ TEST_F(UtBufmgrInit, BufmgrGetCapabilitySuccess)
 
 /* tbm_bo_get_flags() */
 
-TEST(BoGetFlags, BoGetFlagsFailBufmgrWasNotInited)
+TEST(NoBufmgrTest, BoGetFlagsFailBufmgrWasNotInited)
 {
        int bo;
        int flags;