From: Youngjae Shin Date: Thu, 2 Apr 2020 04:55:13 +0000 (+0900) Subject: fix errors related with display plugin X-Git-Tag: submit/tizen/20200406.072014~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f6bdfe2ccbecd4abd887751660fc5c31aa93d33;p=platform%2Fcore%2Fsystem%2Fmodes-plugins.git fix errors related with display plugin --- diff --git a/unittests/mdsp_test_display.cpp b/unittests/mdsp_test_display.cpp index 226760e..2820043 100644 --- a/unittests/mdsp_test_display.cpp +++ b/unittests/mdsp_test_display.cpp @@ -53,10 +53,10 @@ protected: return G_SOURCE_REMOVE; } - static gboolean displayPluginAllowPalmTouchIdler(gpointer data) + static gboolean displayPluginDenyPalmTouchIdler(gpointer data) { PluginAction *action; - result = plugin->set("allowPalmTouch", true, &action); + result = plugin->set("denyPalmTouch", true, &action); EXPECT_EQ(MODES_ERROR_NONE, result); plugin->undo(action); @@ -121,9 +121,9 @@ TEST_F(displayPluginTest, setAlwaysOn) g_main_loop_run(loop); } -TEST_F(displayPluginTest, setAllowPalmTouch) +TEST_F(displayPluginTest, setDenyPalmTouch) { - g_idle_add(displayPluginAllowPalmTouchIdler, plugin); + g_idle_add(displayPluginDenyPalmTouchIdler, plugin); g_main_loop_run(loop); } diff --git a/unittests/mode/tizen_displayBlock_mode.xml b/unittests/mode/tizen_displayBlock_mode.xml index 4ddd334..66a027d 100644 --- a/unittests/mode/tizen_displayBlock_mode.xml +++ b/unittests/mode/tizen_displayBlock_mode.xml @@ -2,6 +2,6 @@ ALWAYS_ON - off + on