summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorYeongjong Lee <yj34.lee@samsung.com>2019-08-05 08:48:04 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-05 08:51:22 -0400
commitf2b1f312a97a6ef3f909109161db25d1d3b3f1d5 (patch)
tree36eba72e96c33ce9091c94d558c85b71388d8580 /src/tests
parentfb023ee6d2c7859446960512433bd633c77a420a (diff)
efl_input_key: replace key property name with key_sym
Summary: Sorry to touch stable eo classes. there is name conflict issue between class and property when binding language is generated from eo. for example in C#, compiler error occurs. ``` src/bindings/mono/efl_input_key.eo.cs(272,26): error CS0542: `Efl.Input.Key.Key': member names cannot be the same as their enclosing type ``` This patch changes Efl.Input.Key.GetKey/SetKey method to Efl.Input.Key.GetKeySym/SetKeySym and generates Efl.Input.Key.KeySym property. Note that CAPI is not changed. ref T8093 Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true Reviewers: lauromoura, woohyun, zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8093 Differential Revision: https://phab.enlightenment.org/D9483 zmike note: this class was not released at the point of this patch, the class was only recently marked as stable
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/elementary/efl_ui_test_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elementary/efl_ui_test_win.c b/src/tests/elementary/efl_ui_test_win.c
index aecd1362d0..4e61e5bff2 100644
--- a/src/tests/elementary/efl_ui_test_win.c
+++ b/src/tests/elementary/efl_ui_test_win.c
@@ -139,7 +139,7 @@ _check_key_event(void *data, const Efl_Event *ev)
139 139
140 ck_assert_int_eq(efl_input_timestamp_get(ev->info), TIMESTAMP); 140 ck_assert_int_eq(efl_input_timestamp_get(ev->info), TIMESTAMP);
141 ck_assert_str_eq(efl_input_key_name_get(ev->info), "odiaeresis"); 141 ck_assert_str_eq(efl_input_key_name_get(ev->info), "odiaeresis");
142 ck_assert_str_eq(efl_input_key_get(ev->info), "ö"); 142 ck_assert_str_eq(efl_input_key_sym_get(ev->info), "ö");
143 ck_assert_str_eq(efl_input_key_string_get(ev->info), "Ö"); 143 ck_assert_str_eq(efl_input_key_string_get(ev->info), "Ö");
144 ck_assert_str_eq(efl_input_key_compose_string_get(ev->info), "Ö"); 144 ck_assert_str_eq(efl_input_key_compose_string_get(ev->info), "Ö");
145 ck_assert_int_eq(efl_input_key_code_get(ev->info), 0xffe1); 145 ck_assert_int_eq(efl_input_key_code_get(ev->info), 0xffe1);