tests: Fix build break 02/315502/1 accepted/tizen/unified/20240805.114525 accepted/tizen/unified/dev/20240807.093113 accepted/tizen/unified/x/20240806.012823
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 1 Aug 2024 23:50:19 +0000 (08:50 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 2 Aug 2024 01:21:25 +0000 (10:21 +0900)
Since 6bb5d8e, the following test has been failed.

[  FAILED  ] 2 tests, listed below:
[  FAILED  ] EViewTest.Test_E_View_Place_Above
[  FAILED  ] EViewTest.Test_E_View_Place_Below

Change-Id: Id512b2792819ffcf78cb2ffa6d1f021f61b2614f

tests/tc-e_view.cpp

index 91c85e5..49856c1 100644 (file)
@@ -219,7 +219,7 @@ TEST(EViewTest, Test_E_View_Place_Above)
        EXPECT_EQ(view.link.prev, &(sibling.link));
 
        EXPECT_CALL(*evasMock, evas_object_stack_above(obj_view, obj_sibling))
-               .Times(0);
+               .Times(1);
        e_view_place_above(&view, &sibling);
 
        free(obj_sibling);
@@ -310,7 +310,7 @@ TEST(EViewTest, Test_E_View_Place_Below)
        EXPECT_EQ(view.link.next, &(sibling.link));
 
        EXPECT_CALL(*evasMock, evas_object_stack_below(obj_view, obj_sibling))
-               .Times(0);
+               .Times(1);
        e_view_place_below(&view, &sibling);
 
        EXPECT_EQ(view.link.next, &(sibling.link));