summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-06-11 13:35:52 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-11 16:31:01 +0200
commitb4f5d652598b8384ecb7e8e66fdbc0bfcf12d39e (patch)
tree5f194b2b48ffb6cfccb6434c26bbc8b9dc4eb464
parent35ca2cbd0611be876feb812951b8764907f4e4fd (diff)
tests: elm: check return of efl_config_bool_set
Make sure we fail the test, unless this settign succeed. CID: 1403891 Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11968
-rw-r--r--src/tests/elementary/efl_ui_test_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elementary/efl_ui_test_config.c b/src/tests/elementary/efl_ui_test_config.c
index 62ab977ae1..d5c8e27ea1 100644
--- a/src/tests/elementary/efl_ui_test_config.c
+++ b/src/tests/elementary/efl_ui_test_config.c
@@ -142,7 +142,7 @@ EFL_START_TEST(efl_config_eoapi)
142 Eina_Bool b = elm_config_audio_mute_get(channels[i].chan); 142 Eina_Bool b = elm_config_audio_mute_get(channels[i].chan);
143 if (b != efl_config_bool_get(cfg, channels[i].name)) 143 if (b != efl_config_bool_get(cfg, channels[i].name))
144 fail(channels[i].name); 144 fail(channels[i].name);
145 efl_config_bool_set(cfg, channels[i].name, !b); 145 fail_unless(efl_config_bool_set(cfg, channels[i].name, !b));
146 if(efl_config_bool_get(cfg, channels[i].name) != !b) 146 if(efl_config_bool_get(cfg, channels[i].name) != !b)
147 fail(channels[i].name); 147 fail(channels[i].name);
148 if(elm_config_audio_mute_get(channels[i].chan) != !b) 148 if(elm_config_audio_mute_get(channels[i].chan) != !b)