tests/interactive: Add some descriptions

This commit is contained in:
Emmanuele Bassi 2011-09-28 13:32:57 +01:00
parent 5fc953cb5e
commit ac8e174eca
9 changed files with 59 additions and 0 deletions

View File

@ -114,3 +114,9 @@ test_animation_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_animation_describe (void)
{
return "Simple clutter_actor_animate() demo";
}

View File

@ -111,3 +111,9 @@ test_cairo_clock_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_cairo_clock_describe (void)
{
return "Simple 2D canvas using a Cairo texture actor";
}

View File

@ -247,3 +247,9 @@ test_constraints_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_constraints_describe (void)
{
return "Visualize usage of Bind and Align constraints";
}

View File

@ -243,3 +243,9 @@ test_drop_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_drop_describe (void)
{
return "Drop action support";
}

View File

@ -262,3 +262,9 @@ test_easing_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_easing_describe (void)
{
return "Visualize all easing modes provided by Clutter";
}

View File

@ -274,3 +274,9 @@ test_table_layout_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_table_layout_describe (void)
{
return "Table layout manager";
}

View File

@ -334,3 +334,14 @@ test_text_field_main (gint argc,
return EXIT_SUCCESS; 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.";
}

View File

@ -147,3 +147,9 @@ test_texture_async_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_texture_async_describe (void)
{
return "Texture asynchronous loading using threads";
}

View File

@ -110,3 +110,9 @@ test_textures_main (int argc, char *argv[])
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }
G_MODULE_EXPORT const char *
test_texture_slicing_describe (void)
{
return "Check texture slicing support in CoglTexture";
}