0001_easy: Change method to create fake window. 02/183102/1
authorJunSeok, Kim <juns.kim@samsung.com>
Mon, 2 Jul 2018 07:44:32 +0000 (16:44 +0900)
committerJunSeok, Kim <juns.kim@samsung.com>
Mon, 2 Jul 2018 07:44:32 +0000 (16:44 +0900)
fix coverity

Change-Id: Iad05f8cb6e1c681a56bf17c0e7386144b3d92d2f

src/testcase/0001_easy.cpp

index f174a48..f0a2e2a 100644 (file)
@@ -137,7 +137,7 @@ TEST_F(etTestEasy, win_register)
    Eina_Bool res = EINA_FALSE;
    Eldbus_Pending *p = NULL;
 
-   etWin *tw = new etWin();
+   etWin *tw = initFakeWin();
    ASSERT_TRUE(tw != NULL);
 
    tw->native_win = _WIN_ID;