tests: rename cogl conformance tests so they can be clearly identified

All Cogl conformance tests are now prefixed 'test-cogl-'
This commit is contained in:
Robert Bragg 2009-11-27 00:28:39 +00:00
parent 439f8c62b0
commit c12470666e
11 changed files with 48 additions and 46 deletions

View File

@ -12,33 +12,33 @@ test_conformance_SOURCES = \
test-timeline-interpolate.c \
test-timeline-rewind.c \
test-timeline.c \
test-vertex-buffer-contiguous.c \
test-vertex-buffer-interleved.c \
test-vertex-buffer-mutability.c \
test-cogl-vertex-buffer-contiguous.c \
test-cogl-vertex-buffer-interleved.c \
test-cogl-vertex-buffer-mutability.c \
test-cogl-fixed.c \
test-cogl-backface-culling.c \
test-cogl-npot-texture.c \
test-cogl-blend-strings.c \
test-cogl-premult.c \
test-cogl-materials.c \
test-cogl-viewport.c \
test-cogl-offscreen.c \
test-cogl-readpixels.c \
test-path.c \
test-pick.c \
test-clutter-rectangle.c \
test-clutter-fixed.c \
test-actor-invariants.c \
test-paint-opacity.c \
test-backface-culling.c \
test-binding-pool.c \
test-clutter-text.c \
test-text-cache.c \
test-anchors.c \
test-npot-texture.c \
test-model.c \
test-blend-strings.c \
test-color.c \
test-clutter-units.c \
test-premult.c \
test-materials.c \
test-group.c \
test-actor-size.c \
test-texture-fbo.c \
test-cogl-viewport.c \
test-cogl-offscreen.c \
test-cogl-readpixels.c \
test-script-parser.c \
$(NULL)

View File

@ -286,8 +286,8 @@ make_texture (void)
}
void
test_backface_culling (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_backface_culling (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
CoglHandle tex;

View File

@ -379,8 +379,8 @@ queue_redraw (gpointer stage)
}
void
test_blend_strings (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_blend_strings (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -4,8 +4,8 @@
#include "test-conform-common.h"
void
test_fixed_constants (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_fixed (TestConformSimpleFixture *fixture,
gconstpointer data)
{
g_assert_cmpint (COGL_FIXED_1, ==, COGL_FIXED_FROM_FLOAT (1.0));
g_assert_cmpint (COGL_FIXED_1, ==, COGL_FIXED_FROM_INT (1));

View File

@ -158,8 +158,8 @@ queue_redraw (gpointer stage)
}
void
test_materials (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_materials (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -182,8 +182,8 @@ make_texture (void)
}
void
test_npot_texture (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_npot_texture (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -348,8 +348,8 @@ queue_redraw (gpointer stage)
}
void
test_premult (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_premult (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -162,8 +162,8 @@ queue_redraw (gpointer stage)
void
test_vertex_buffer_contiguous (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_vertex_buffer_contiguous (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -93,8 +93,8 @@ queue_redraw (gpointer stage)
}
void
test_vertex_buffer_interleved (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_vertex_buffer_interleved (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -137,8 +137,8 @@ queue_redraw (gpointer stage)
}
void
test_vertex_buffer_mutability (TestConformSimpleFixture *fixture,
gconstpointer data)
test_cogl_vertex_buffer_mutability (TestConformSimpleFixture *fixture,
gconstpointer data)
{
TestState state;
ClutterActor *stage;

View File

@ -131,8 +131,6 @@ main (int argc, char **argv)
TEST_CONFORM_SIMPLE ("/rectangle", test_rect_set_size);
TEST_CONFORM_SIMPLE ("/rectangle", test_rect_set_color);
TEST_CONFORM_SIMPLE ("/fixed", test_fixed_constants);
TEST_CONFORM_SIMPLE ("/invariants", test_initial_state);
TEST_CONFORM_SIMPLE ("/invariants", test_shown_not_parented);
TEST_CONFORM_SIMPLE ("/invariants", test_realized);
@ -142,17 +140,10 @@ main (int argc, char **argv)
TEST_CONFORM_SIMPLE ("/invariants", test_show_on_set_parent);
TEST_CONFORM_SIMPLE ("/invariants", test_clone_no_map);
TEST_CONFORM_SIMPLE ("/vertex-buffer", test_vertex_buffer_contiguous);
TEST_CONFORM_SIMPLE ("/vertex-buffer", test_vertex_buffer_interleved);
TEST_CONFORM_SIMPLE ("/vertex-buffer", test_vertex_buffer_mutability);
TEST_CONFORM_SIMPLE ("/opacity", test_label_opacity);
TEST_CONFORM_SIMPLE ("/opacity", test_rectangle_opacity);
TEST_CONFORM_SIMPLE ("/opacity", test_paint_opacity);
TEST_CONFORM_SIMPLE ("/texture", test_backface_culling);
TEST_CONFORM_SIMPLE ("/texture", test_npot_texture);
TEST_CONFORM_SIMPLE ("/texture", test_premult);
TEST_CONFORM_SIMPLE ("/texture", test_texture_fbo);
TEST_CONFORM_SIMPLE ("/path", test_path);
@ -165,9 +156,6 @@ main (int argc, char **argv)
TEST_CONFORM_SIMPLE ("/model", test_list_model_iterate);
TEST_CONFORM_SIMPLE ("/model", test_list_model_filter);
TEST_CONFORM_SIMPLE ("/material", test_materials);
TEST_CONFORM_SIMPLE ("/material", test_blend_strings);
TEST_CONFORM_SIMPLE ("/color", test_color_from_string);
TEST_CONFORM_SIMPLE ("/color", test_color_to_string);
TEST_CONFORM_SIMPLE ("/color", test_color_hls_roundtrip);
@ -181,15 +169,29 @@ main (int argc, char **argv)
TEST_CONFORM_SIMPLE ("/sizing", test_fixed_size);
TEST_CONFORM_SIMPLE ("/sizing", test_preferred_size);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_viewport);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_offscreen);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_readpixels);
TEST_CONFORM_SIMPLE ("/script", test_script_single);
TEST_CONFORM_SIMPLE ("/script", test_script_child);
TEST_CONFORM_SIMPLE ("/script", test_script_implicit_alpha);
TEST_CONFORM_SIMPLE ("/script", test_script_object_property);
TEST_CONFORM_SIMPLE ("/script", test_script_animation);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_fixed);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_backface_culling);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_materials);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_blend_strings);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_premult);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_readpixels);
TEST_CONFORM_SIMPLE ("/cogl/texture", test_cogl_npot_texture);
TEST_CONFORM_SIMPLE ("/cogl/vertex-buffer", test_cogl_vertex_buffer_contiguous);
TEST_CONFORM_SIMPLE ("/cogl/vertex-buffer", test_cogl_vertex_buffer_interleved);
TEST_CONFORM_SIMPLE ("/cogl/vertex-buffer", test_cogl_vertex_buffer_mutability);
/* left to the end because they aren't currently very orthogonal and tend to
* break subsequent tests! */
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_viewport);
TEST_CONFORM_SIMPLE ("/cogl", test_cogl_offscreen);
return g_test_run ();
}