elm_code: Make test buttons more meaningful
authorAndy Williams <andy@andywilliams.me>
Thu, 30 Nov 2017 17:37:19 +0000 (17:37 +0000)
committerAndy Williams <andy@andywilliams.me>
Thu, 30 Nov 2017 17:37:19 +0000 (17:37 +0000)
And match window titles to buttons for clarity

src/bin/elementary/test.c
src/bin/elementary/test_code.c

index 726fc4b..c88bca9 100644 (file)
@@ -825,9 +825,9 @@ add_tests:
    ADD_TEST_EO(NULL, "Entries", "Efl.Ui.Text.Async", test_efl_ui_text_async);
 
    //------------------------------//
-   ADD_TEST(NULL, "Advanced Entries", "Code Entry Markup", test_code_welcome);
-   ADD_TEST(NULL, "Advanced Entries", "Code Editor", test_code_editor);
    ADD_TEST(NULL, "Advanced Entries", "Code Syntax", test_code_syntax);
+   ADD_TEST(NULL, "Advanced Entries", "Entry Markup", test_code_welcome);
+   ADD_TEST(NULL, "Advanced Entries", "Text Editor", test_code_editor);
    ADD_TEST(NULL, "Advanced Entries", "Mirrored Editor", test_code_mirror);
    ADD_TEST(NULL, "Advanced Entries", "Logger", test_code_log);
    ADD_TEST(NULL, "Advanced Entries", "Diff Comparison", test_code_diff);
index 235adde..b05240c 100644 (file)
@@ -217,7 +217,7 @@ test_code_editor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
 {
    Evas_Object *win, *screen;
 
-   win = _test_code_win_create("code-editor", "Code Editor");
+   win = _test_code_win_create("code-editor", "Text Editor");
    screen = elm_box_add(win);
    evas_object_size_hint_weight_set(screen, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(screen, _elm_code_test_editor_setup(screen, EINA_FALSE));
@@ -295,7 +295,7 @@ test_code_diff_inline(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
 {
    Evas_Object *win, *screen;
 
-   win = _test_code_win_create("code-diff-inline", "Code Diff Inline");
+   win = _test_code_win_create("code-diff-inline", "Diff Inline");
    screen = elm_box_add(win);
    evas_object_size_hint_weight_set(screen, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(screen, _elm_code_test_diff_inline_setup(screen));
@@ -310,7 +310,7 @@ test_code_diff(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
 {
    Evas_Object *win, *screen;
 
-   win = _test_code_win_create("code-diff", "Code Diff");
+   win = _test_code_win_create("code-diff", "Diff Comparison");
    screen = elm_box_add(win);
    evas_object_size_hint_weight_set(screen, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(screen, _elm_code_test_diff_setup(screen));
@@ -325,7 +325,7 @@ test_code_welcome(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
 {
    Evas_Object *win, *screen;
 
-   win = _test_code_win_create("code-welcome", "Code Welcome");
+   win = _test_code_win_create("code-welcome", "Entry Markup");
    screen = elm_box_add(win);
    evas_object_size_hint_weight_set(screen, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(screen, _elm_code_test_welcome_setup(screen));