summaryrefslogtreecommitdiff
path: root/src/tests/efl_mono
diff options
context:
space:
mode:
authorBruno da Silva Belo <brunodasilvabelo@gmail.com>2019-09-17 19:35:31 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2019-09-17 19:37:30 -0300
commit1f767c81e5d30d8caf88934bb36a71603fd5fc19 (patch)
tree0608517504fe96e6d5c676f17697376eb2f04114 /src/tests/efl_mono
parente44811043957c40206ea0b2d170c221bdb8f30fd (diff)
eolian-mono: add compiler's complaint methods.
Summary: New default checkers breaks mono's test. Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9999
Diffstat (limited to 'src/tests/efl_mono')
-rw-r--r--src/tests/efl_mono/dummy_test_object.c22
-rw-r--r--src/tests/efl_mono/dummy_test_object.eo3
2 files changed, 25 insertions, 0 deletions
diff --git a/src/tests/efl_mono/dummy_test_object.c b/src/tests/efl_mono/dummy_test_object.c
index a880dc4..110af73 100644
--- a/src/tests/efl_mono/dummy_test_object.c
+++ b/src/tests/efl_mono/dummy_test_object.c
@@ -16,6 +16,8 @@ typedef struct Dummy_Test_Object_Data
16 Eina_List *list_for_accessor; 16 Eina_List *list_for_accessor;
17 int setter_only; 17 int setter_only;
18 int iface_prop; 18 int iface_prop;
19 int protected_prop;
20 int public_getter_private_setter;
19 Eo *provider; 21 Eo *provider;
20 Eo *iface_provider; 22 Eo *iface_provider;
21 int prop1; 23 int prop1;
@@ -4672,6 +4674,26 @@ int _dummy_test_object_get_setter_only(EINA_UNUSED Eo *obj, Dummy_Test_Object_Da
4672 return pd->setter_only; 4674 return pd->setter_only;
4673} 4675}
4674 4676
4677void _dummy_test_object_dummy_test_iface_protected_prop_set(EINA_UNUSED Eo *obj, Dummy_Test_Object_Data *pd, int value)
4678{
4679 pd->protected_prop = value;
4680}
4681
4682int _dummy_test_object_dummy_test_iface_protected_prop_get(EINA_UNUSED const Eo *obj, Dummy_Test_Object_Data *pd)
4683{
4684 return pd->protected_prop;
4685}
4686
4687void _dummy_test_object_dummy_test_iface_public_getter_private_setter_set(EINA_UNUSED Eo *obj, Dummy_Test_Object_Data *pd, int value)
4688{
4689 pd->public_getter_private_setter = value;
4690}
4691
4692int _dummy_test_object_dummy_test_iface_public_getter_private_setter_get(EINA_UNUSED const Eo *obj, Dummy_Test_Object_Data *pd)
4693{
4694 return pd->public_getter_private_setter;
4695}
4696
4675void _dummy_test_object_dummy_test_iface_iface_prop_set(EINA_UNUSED Eo *obj, Dummy_Test_Object_Data *pd, int value) 4697void _dummy_test_object_dummy_test_iface_iface_prop_set(EINA_UNUSED Eo *obj, Dummy_Test_Object_Data *pd, int value)
4676{ 4698{
4677 pd->iface_prop = value; 4699 pd->iface_prop = value;
diff --git a/src/tests/efl_mono/dummy_test_object.eo b/src/tests/efl_mono/dummy_test_object.eo
index 676b68a..52eab41 100644
--- a/src/tests/efl_mono/dummy_test_object.eo
+++ b/src/tests/efl_mono/dummy_test_object.eo
@@ -1653,6 +1653,9 @@ class Dummy.Test_Object extends Efl.Object implements Dummy.Test_Iface {
1653 Efl.Object.provider_find; 1653 Efl.Object.provider_find;
1654 Dummy.Test_Iface.emit_nonconflicted; 1654 Dummy.Test_Iface.emit_nonconflicted;
1655 Dummy.Test_Iface.iface_prop { get; set; } 1655 Dummy.Test_Iface.iface_prop { get; set; }
1656 Dummy.Test_Iface.protected_prop { get; set; }
1657 Dummy.Test_Iface.public_getter_private_setter{ get; set; }
1658 Dummy.Test_Iface.static_prop{ get; set; }
1656 Dummy.Test_Iface.method_protected; 1659 Dummy.Test_Iface.method_protected;
1657 Dummy.Test_Iface.call_method_protected; 1660 Dummy.Test_Iface.call_method_protected;
1658 } 1661 }