summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaehyub Kim <taehyub.kim@samsung.com>2019-10-16 00:26:12 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-16 00:46:59 -0300
commit8ca4dd068cc897968ef12a36f48d79c4dea3528f (patch)
tree42121bcc0d5ea91b441e9e1cd6856e0631c68963
parent98d7ee312b9da9c93175452b33d70a47870304d9 (diff)
testgen: sync the latest eolian grammardevs/lauromoura/tcautomated
Summary: sync the latest eolian grammar Reviewers: lauromoura, woohyun, Jaehyun_Cho Subscribers: felipealmeida, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10386
-rw-r--r--src/scripts/testgen/ekeys.py39
-rw-r--r--src/scripts/testgen/name_helpers.py4
2 files changed, 39 insertions, 4 deletions
diff --git a/src/scripts/testgen/ekeys.py b/src/scripts/testgen/ekeys.py
index 42d9889f8d..cb4dcb990b 100644
--- a/src/scripts/testgen/ekeys.py
+++ b/src/scripts/testgen/ekeys.py
@@ -70,7 +70,7 @@ class EMonoKeys(EKeys):
70 "mstring": "System.String", 70 "mstring": "System.String",
71 "stringshare": "System.String", 71 "stringshare": "System.String",
72 "any_value": "Eina.Value", 72 "any_value": "Eina.Value",
73 "any_value_ptr": "Eina.Value" 73 "any_value_ref": "Eina.Value"
74 # complex Types 74 # complex Types
75 , 75 ,
76 "list": "Eina.List", 76 "list": "Eina.List",
@@ -144,12 +144,47 @@ class EMonoKeys(EKeys):
144 "emit", 144 "emit",
145 "call", 145 "call",
146 "append", 146 "append",
147 "apply",
148 "bind",
149 "cancel",
150 "copy",
151 "create",
152 "cut",
153 "delete",
154 "deselect",
155 "detach",
156 "do",
157 "gen",
158 "insert",
159 "iterate",
160 "join",
161 "leave",
162 "limit",
163 "paste",
164 "parse",
165 "prepend",
166 "process",
167 "query",
168 "refresh",
169 "remove",
170 "register",
171 "reject",
172 "release",
173 "reply",
174 "send",
175 "select",
176 "serialize",
177 "steal",
178 "sync",
179 "toggle",
180 "unbind",
181 "unregister"
147 ] 182 ]
148 183
149 self.blacklist = [ 184 self.blacklist = [
150 "efl_event_callback_array_priority_add", 185 "efl_event_callback_array_priority_add",
151 "efl_event_callback_forwarder_priority_add", 186 "efl_event_callback_forwarder_priority_add",
152 "efl_player_position_get", 187 "efl_player_playback_position_get",
153 "efl_text_font_source", 188 "efl_text_font_source",
154 "efl_ui_focus_manager_focus_get", 189 "efl_ui_focus_manager_focus_get",
155 "efl_ui_widget_focus", 190 "efl_ui_widget_focus",
diff --git a/src/scripts/testgen/name_helpers.py b/src/scripts/testgen/name_helpers.py
index e03ad23a41..4b5a70009a 100644
--- a/src/scripts/testgen/name_helpers.py
+++ b/src/scripts/testgen/name_helpers.py
@@ -77,13 +77,13 @@ def event_args_managed_name(event, cls):
77 77
78 ret = class_managed_name(cls) 78 ret = class_managed_name(cls)
79 79
80 return ret + managed_name(event.myname) + "Evt_Args" 80 return ret + managed_name(event.myname) + "EventArgs"
81 81
82 82
83def event_managed_short_name(event): 83def event_managed_short_name(event):
84 """Gets the managed short name of an event""" 84 """Gets the managed short name of an event"""
85 85
86 return managed_name(event.name.replace(",", "_")) + "Evt" 86 return managed_name(event.name.replace(",", "_")) + "Event"
87 87
88 88
89def enum_field_managed_name(field): 89def enum_field_managed_name(field):