From 955fa2167e539d243395251971ab7c61c925dc90 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Wed, 18 Aug 2021 10:32:32 +0900 Subject: [PATCH] tzsh_quickpanel: change scrollable_retain test code Change-Id: Ibdc65a3d7193587bacdbe076a7970f5e847034d2 --- src/testcase/0015_tzsh_quickpanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testcase/0015_tzsh_quickpanel.cpp b/src/testcase/0015_tzsh_quickpanel.cpp index 4e03473..6fefd24 100644 --- a/src/testcase/0015_tzsh_quickpanel.cpp +++ b/src/testcase/0015_tzsh_quickpanel.cpp @@ -315,7 +315,7 @@ TEST_F(etTestTzshQuickpanel, quickpanel_scrollable_retain) ASSERT_TRUE(ret == TZSH_ERROR_NONE); ASSERT_EQ(visible, TZSH_QUICKPANEL_STATE_VISIBLE_HIDDEN); - ret = tzsh_quickpanel_scrollable_state_set(tz_qp_client2, TZSH_QUICKPANEL_STATE_SCROLLABLE_SET); + ret = tzsh_quickpanel_scrollable_state_set(tz_qp_client, TZSH_QUICKPANEL_STATE_SCROLLABLE_SET); ASSERT_TRUE(ret == TZSH_ERROR_NONE); ret = tzsh_quickpanel_show(tz_qp_client2); @@ -324,7 +324,7 @@ TEST_F(etTestTzshQuickpanel, quickpanel_scrollable_retain) etRunner::get().work(2.0); ret = tzsh_quickpanel_scrollable_state_get(tz_qp_client2, &scrollable_state); - ASSERT_EQ(scrollable_state, TZSH_QUICKPANEL_STATE_SCROLLABLE_SET); + ASSERT_EQ(scrollable_state, TZSH_QUICKPANEL_STATE_SCROLLABLE_RETAIN); ret = tzsh_quickpanel_visible_get(tz_qp_client2, &visible); ASSERT_EQ(visible, TZSH_QUICKPANEL_STATE_VISIBLE_SHOWN); -- 2.7.4