From ac8e174eca31a28dae4a7aa5b3336b8cf27d6767 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 28 Sep 2011 13:32:57 +0100 Subject: [PATCH] tests/interactive: Add some descriptions --- tests/interactive/test-animation.c | 6 ++++++ tests/interactive/test-cairo-clock.c | 6 ++++++ tests/interactive/test-constraints.c | 6 ++++++ tests/interactive/test-drop.c | 6 ++++++ tests/interactive/test-easing.c | 6 ++++++ tests/interactive/test-table-layout.c | 6 ++++++ tests/interactive/test-text-field.c | 11 +++++++++++ tests/interactive/test-texture-async.c | 6 ++++++ tests/interactive/test-texture-slicing.c | 6 ++++++ 9 files changed, 59 insertions(+) diff --git a/tests/interactive/test-animation.c b/tests/interactive/test-animation.c index 85b7213bc..aba1a9d50 100644 --- a/tests/interactive/test-animation.c +++ b/tests/interactive/test-animation.c @@ -114,3 +114,9 @@ test_animation_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_animation_describe (void) +{ + return "Simple clutter_actor_animate() demo"; +} diff --git a/tests/interactive/test-cairo-clock.c b/tests/interactive/test-cairo-clock.c index 6c292d0df..6edd83ba2 100644 --- a/tests/interactive/test-cairo-clock.c +++ b/tests/interactive/test-cairo-clock.c @@ -111,3 +111,9 @@ test_cairo_clock_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_cairo_clock_describe (void) +{ + return "Simple 2D canvas using a Cairo texture actor"; +} diff --git a/tests/interactive/test-constraints.c b/tests/interactive/test-constraints.c index 9f9a5f2c2..3e45ce990 100644 --- a/tests/interactive/test-constraints.c +++ b/tests/interactive/test-constraints.c @@ -247,3 +247,9 @@ test_constraints_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_constraints_describe (void) +{ + return "Visualize usage of Bind and Align constraints"; +} diff --git a/tests/interactive/test-drop.c b/tests/interactive/test-drop.c index 2b511d4e8..0427b02e0 100644 --- a/tests/interactive/test-drop.c +++ b/tests/interactive/test-drop.c @@ -243,3 +243,9 @@ test_drop_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_drop_describe (void) +{ + return "Drop action support"; +} diff --git a/tests/interactive/test-easing.c b/tests/interactive/test-easing.c index 2bd8a9c18..876ad957f 100644 --- a/tests/interactive/test-easing.c +++ b/tests/interactive/test-easing.c @@ -262,3 +262,9 @@ test_easing_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_easing_describe (void) +{ + return "Visualize all easing modes provided by Clutter"; +} diff --git a/tests/interactive/test-table-layout.c b/tests/interactive/test-table-layout.c index 209659b48..62f3b17a1 100644 --- a/tests/interactive/test-table-layout.c +++ b/tests/interactive/test-table-layout.c @@ -274,3 +274,9 @@ test_table_layout_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_table_layout_describe (void) +{ + return "Table layout manager"; +} diff --git a/tests/interactive/test-text-field.c b/tests/interactive/test-text-field.c index e837a021a..2897befa8 100644 --- a/tests/interactive/test-text-field.c +++ b/tests/interactive/test-text-field.c @@ -334,3 +334,14 @@ test_text_field_main (gint argc, return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_text_field_describe (void) +{ + return +"Text actor single-line and password mode support\n" +"\n" +"This test checks the :single-line-mode and :password-char properties of\n" +"the ClutterText actor, plus the password hint feature and the :max-length\n" +"property."; +} diff --git a/tests/interactive/test-texture-async.c b/tests/interactive/test-texture-async.c index 634796240..a69690b27 100644 --- a/tests/interactive/test-texture-async.c +++ b/tests/interactive/test-texture-async.c @@ -147,3 +147,9 @@ test_texture_async_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_texture_async_describe (void) +{ + return "Texture asynchronous loading using threads"; +} diff --git a/tests/interactive/test-texture-slicing.c b/tests/interactive/test-texture-slicing.c index d8094e947..f86a76e0c 100644 --- a/tests/interactive/test-texture-slicing.c +++ b/tests/interactive/test-texture-slicing.c @@ -110,3 +110,9 @@ test_textures_main (int argc, char *argv[]) return EXIT_SUCCESS; } + +G_MODULE_EXPORT const char * +test_texture_slicing_describe (void) +{ + return "Check texture slicing support in CoglTexture"; +}