summaryrefslogtreecommitdiff
path: root/src/tests/elementary/efl_ui_test_layout.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 13:35:34 +0900
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-01-31 14:59:37 +0900
commit5525c89a3d1091cd17c5df6fbdc7378f0d0b4ff3 (patch)
tree16e710a757db55ef1f6de3201b5f4542de3a7680 /src/tests/elementary/efl_ui_test_layout.c
parentc713bb90d3fe4a56ebd5f4f88cd5a248c5b7e482 (diff)
efl_model : rename all efl_model based classes.
Summary: As the result of discussion in T7458, we need to rename all efl_model based classes with efl_XXX_Model sequence. I've run few vote for this, see V42, V43 few classes are totally renamed as our consideration of misnaming. | Efl.Model_Loop | Efl.Loop_Model | | Efl.Model_Item | Efl.Generic_Model | | Efl.Model_Container | Efl.Container_Model | | Efl.Model_Container_Item | Efl.Container_Model_Item | | Efl.Model_Composite | Efl.Composite_Model | | Efl.Model_Composite_Boolean | Efl.Boolean_Model | | Efl.Model_Composite_Boolean_Chlidren | Efl.Boolean_Model_Item | | Efl.Model_Composite_Selection | Efl.Select_Model | | Efl.Model_Composite_Selection_Chlidren | Efl.Select_Model_Item | | Efl.Model_View | Efl.View_Model | | Eio.Model | Efl.Io.Model | | Efl.Ui.Model_State | Efl.Ui.State_Model | | Efl.Ui.Model_Size | Efl.Ui.Size_Model | | Efl.Ui.Model_Exact | Efl.Ui.Exact_Model | | Efl.Ui.Model_Average | Efl.Ui.Average_Model | | Efl.Ui.Model_Homogeneous | Efl.Ui.Homogeneous_Model | I worried about Efl.Io.Model changes, cause it is widely used, but as I tested, there is no issue found yet. Eldbus.Model also may can changed Efl.Dbus.Model, but I cannot found any class who using Efl.Dbus namespace, so I left it future work. Test Plan: Run the Make Test, it works well except Efl test about selection. there are class inheritance problem exist in select_model, I reported it and will fix it in another patch. Reviewers: cedric, felipealmeida, woohyun, Hermet Reviewed By: cedric Subscribers: lauromoura Tags: #efl, #do_not_merge Differential Revision: https://phab.enlightenment.org/D7533
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/efl_ui_test_layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_layout.c b/src/tests/elementary/efl_ui_test_layout.c
index 45f603b958..e699cf448a 100644
--- a/src/tests/elementary/efl_ui_test_layout.c
+++ b/src/tests/elementary/efl_ui_test_layout.c
@@ -22,7 +22,7 @@ EFL_START_TEST(efl_ui_layout_test_model_connect)
22{ 22{
23 char buf[PATH_MAX]; 23 char buf[PATH_MAX];
24 Evas_Object *win, *ly; 24 Evas_Object *win, *ly;
25 Efl_Model_Item *model; 25 Efl_Generic_Model *model;
26 Eina_Value v; 26 Eina_Value v;
27 Eina_Future *f; 27 Eina_Future *f;
28 const char *part_text; 28 const char *part_text;
@@ -35,7 +35,7 @@ EFL_START_TEST(efl_ui_layout_test_model_connect)
35 efl_file_set(ly, buf, "layout"); 35 efl_file_set(ly, buf, "layout");
36 efl_gfx_entity_visible_set(ly, EINA_TRUE); 36 efl_gfx_entity_visible_set(ly, EINA_TRUE);
37 37
38 model = efl_add(EFL_MODEL_ITEM_CLASS, win); 38 model = efl_add(EFL_GENERIC_MODEL_CLASS, win);
39 ck_assert(!!eina_value_setup(&v, EINA_VALUE_TYPE_STRING)); 39 ck_assert(!!eina_value_setup(&v, EINA_VALUE_TYPE_STRING));
40 ck_assert(!!eina_value_set(&v, text_value)); 40 ck_assert(!!eina_value_set(&v, text_value));
41 f = efl_model_property_set(model, "text_property", &v); 41 f = efl_model_property_set(model, "text_property", &v);