[clutter] tests/interactive: Add some descriptions



commit ac8e174eca31a28dae4a7aa5b3336b8cf27d6767
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Wed Sep 28 13:32:57 2011 +0100

    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(+), 0 deletions(-)
---
diff --git a/tests/interactive/test-animation.c b/tests/interactive/test-animation.c
index 85b7213..aba1a9d 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 6c292d0..6edd83b 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 9f9a5f2..3e45ce9 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 2b511d4..0427b02 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 2bd8a9c..876ad95 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 209659b..62f3b17 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 e837a02..2897bef 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 6347962..a69690b 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 d8094e9..f86a76e 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";
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]