summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-09-20 19:14:02 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-20 19:29:08 -0300
commit01875756ebacc3e4578106f638ca7e57cdcd21f0 (patch)
treea5a0fddff6ab2e829d2b5c2d7db54d6defda66fc /src/tests/efl_mono
parent53a3326ddc74634093d9bd06e3d5c23fcd783b54 (diff)
eolian_mono: add more verbs to generate C# method beginning with verb
Summary: C# language binding generates C# method name beginning with verb by checking verb list in name_helpers.hh. Some verbs used in eo method are missing in the current verb list. So they are added into the verb list. In this scheme, there is a problem that some words can be used as a verb in some methods but they also can be used as a noun in other methods. (e.g. drag_start as a verb / cursor_word_start as a noun) So "start" and "scroll" are not added to verb list in this patch. To resolve the above problem, we may need a new eo syntax to rename or reverse the name in language bindings. Test Plan: Check C# method names in .eo.cs files if the name begins with verb. Reviewers: felipealmeida, SanghyeonLee, woohyun, Jaehyun_Cho, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10001
Diffstat (limited to 'src/tests/efl_mono')
-rw-r--r--src/tests/efl_mono/Parts.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/efl_mono/Parts.cs b/src/tests/efl_mono/Parts.cs
index a27c1b4..14743ac 100644
--- a/src/tests/efl_mono/Parts.cs
+++ b/src/tests/efl_mono/Parts.cs
@@ -55,7 +55,7 @@ public static class TestMVVMParts
55 { 55 {
56 var factory = new Efl.Ui.ItemFactory<Efl.Ui.ListDefaultItem>(); 56 var factory = new Efl.Ui.ItemFactory<Efl.Ui.ListDefaultItem>();
57 var iconFactory = new Efl.Ui.ImageFactory(null); 57 var iconFactory = new Efl.Ui.ImageFactory(null);
58 iconFactory.PropertyBind("filename", "modelProperty"); 58 iconFactory.BindProperty("filename", "modelProperty");
59 var error = factory.IconPart().BindFactory(iconFactory); 59 var error = factory.IconPart().BindFactory(iconFactory);
60 60
61 Test.AssertEquals(error, Eina.Error.NO_ERROR); 61 Test.AssertEquals(error, Eina.Error.NO_ERROR);