forked from enlightenment/efl
elm test_genlist.c: Use proper test name for genlist decorate item/all modes.
SVN revision: 69895
This commit is contained in:
parent
7b600cc59d
commit
4eafb0990e
|
@ -437,7 +437,8 @@ add_tests:
|
|||
ADD_TEST(NULL, "Lists", "Genlist Tree", test_genlist6);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Group", test_genlist8);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Group Tree", test_genlist9);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Mode", test_genlist10);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Decorate Item Mode", test_genlist10);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Decorate All Mode", test_genlist15);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Reorder Mode", test_genlist11);
|
||||
#ifdef HAVE_EIO
|
||||
ADD_TEST(NULL, "Lists", "Genlist Eio", test_eio);
|
||||
|
@ -445,7 +446,6 @@ add_tests:
|
|||
ADD_TEST(NULL, "Lists", "Genlist Textblock", test_genlist12);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Tree, Insert Sorted", test_genlist13);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Tree, Insert Relative", test_genlist14);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Edit Mode", test_genlist15);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Flip Mode", test_genlist16);
|
||||
ADD_TEST(NULL, "Lists", "Genlist Tree Effect", test_genlist17);
|
||||
ADD_TEST(NULL, "Lists", "GenGrid", test_gengrid);
|
||||
|
|
|
@ -1803,10 +1803,10 @@ _my_gl_mode_cancel(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
void
|
||||
test_genlist10(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *fr, *lb, *bx, *bx2, *bx3, *rd, *rdg, *gl;
|
||||
Evas_Object *win, *fr, *bx, *bx2, *rd, *rdg, *gl;
|
||||
int i;
|
||||
|
||||
win = elm_win_util_standard_add("genlist10", "Genlist Mode");
|
||||
win = elm_win_util_standard_add("genlist-decorate-item-mode", "Genlist Decorate Item Mode");
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
|
||||
bx = elm_box_add(win);
|
||||
|
@ -1815,7 +1815,7 @@ test_genlist10(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
|
|||
evas_object_show(bx);
|
||||
|
||||
fr = elm_frame_add(win);
|
||||
elm_object_text_set(fr, "Mode Type");
|
||||
elm_object_text_set(fr, "Decorate Mode Type");
|
||||
elm_box_pack_end(bx, fr);
|
||||
evas_object_show(fr);
|
||||
|
||||
|
@ -1823,33 +1823,21 @@ test_genlist10(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
|
|||
elm_object_content_set(fr, bx2);
|
||||
evas_object_show(bx2);
|
||||
|
||||
lb = elm_label_add(win);
|
||||
elm_object_text_set(lb,
|
||||
"Sweep genlist items to the right.<br/>"
|
||||
"Test this by changing Mode Type to Slide or Rotate.");
|
||||
elm_box_pack_end(bx2, lb);
|
||||
evas_object_show(lb);
|
||||
|
||||
bx3 = elm_box_add(win);
|
||||
elm_box_horizontal_set(bx3, EINA_TRUE);
|
||||
elm_box_pack_end(bx2, bx3);
|
||||
evas_object_show(bx3);
|
||||
|
||||
rd = elm_radio_add(win);
|
||||
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
elm_radio_state_value_set(rd, 0);
|
||||
elm_object_text_set(rd, "Slide ");
|
||||
elm_object_text_set(rd, "Slide : Sweep genlist items to the right.");
|
||||
evas_object_show(rd);
|
||||
elm_box_pack_end(bx3, rd);
|
||||
elm_box_pack_end(bx2, rd);
|
||||
rdg = rd;
|
||||
|
||||
rd = elm_radio_add(win);
|
||||
evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
elm_radio_state_value_set(rd, 1);
|
||||
elm_object_text_set(rd, "Rotate");
|
||||
elm_object_text_set(rd, "Rotate : Click each item.");
|
||||
elm_radio_group_add(rd, rdg);
|
||||
evas_object_show(rd);
|
||||
elm_box_pack_end(bx3, rd);
|
||||
elm_box_pack_end(bx2, rd);
|
||||
|
||||
gl = elm_genlist_add(win);
|
||||
evas_object_size_hint_align_set(gl, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
|
|
Loading…
Reference in New Issue