aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-11-30 17:37:19 +0000
committerAndy Williams <andy@andywilliams.me>2017-11-30 17:37:19 +0000
commit3a86af7db47816449082e02c28ece1b84a023a06 (patch)
treee3cc11b6582231e2612c87a6b5220a52d753061f
parentelm_code: Call parent theme_apply when we're applying (diff)
downloadefl-3a86af7db47816449082e02c28ece1b84a023a06.tar.gz
elm_code: Make test buttons more meaningful
And match window titles to buttons for clarity
-rw-r--r--src/bin/elementary/test.c4
-rw-r--r--src/bin/elementary/test_code.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c
index 726fc4bb67..c88bca9b13 100644
--- a/src/bin/elementary/test.c
+++ b/src/bin/elementary/test.c
@@ -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);
diff --git a/src/bin/elementary/test_code.c b/src/bin/elementary/test_code.c
index 235adde00b..b05240c1af 100644
--- a/src/bin/elementary/test_code.c
+++ b/src/bin/elementary/test_code.c
@@ -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));