From da7ed65e1f3f954fcbd0bc99c40b5ae1169ec1dc Mon Sep 17 00:00:00 2001 From: Youngjae Shin Date: Wed, 30 Oct 2019 11:23:50 +0900 Subject: [PATCH] remove trouble action rule --- unittests/mdsp_test_vconf.cpp | 6 ++++-- unittests/mode/tizen_quickpanel_mode.xml | 1 - vconf/tizen_vconf_rule.xml | 8 -------- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/unittests/mdsp_test_vconf.cpp b/unittests/mdsp_test_vconf.cpp index 9729dff..c90023b 100644 --- a/unittests/mdsp_test_vconf.cpp +++ b/unittests/mdsp_test_vconf.cpp @@ -181,8 +181,10 @@ TEST_F(VconfPluginTest, VconfStr) TEST_F(VconfPluginTest, callbackPluginVconf) { int oldVal = 0; - vconf_get_int("db/setting/psmode", &oldVal); - int ret = plugin->setChangedCallback(valChangedCb, "db.setting.psmode", nullptr); + int ret = vconf_get_int("db/setting/psmode", &oldVal); + EXPECT_EQ(ret, 0); + + ret = plugin->setChangedCallback(valChangedCb, "db.setting.psmode", nullptr); EXPECT_EQ(ret, MODES_ERROR_NONE); g_idle_add(changedCallbackidler, nullptr); g_main_loop_run(loop); diff --git a/unittests/mode/tizen_quickpanel_mode.xml b/unittests/mode/tizen_quickpanel_mode.xml index 0f1c396..836d74e 100644 --- a/unittests/mode/tizen_quickpanel_mode.xml +++ b/unittests/mode/tizen_quickpanel_mode.xml @@ -5,6 +5,5 @@ 1 1 1 - VCONFKEY_BT_STATUS_ON diff --git a/vconf/tizen_vconf_rule.xml b/vconf/tizen_vconf_rule.xml index 60fc32a..2d36876 100644 --- a/vconf/tizen_vconf_rule.xml +++ b/vconf/tizen_vconf_rule.xml @@ -14,14 +14,6 @@ test System - - 0 - 1 - 2 - 4 - test - Network & Connectivity - test Multimedia -- 2.34.1