conformance: Clean up
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 27 Feb 2012 13:08:31 +0000 (13:08 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 27 Feb 2012 13:08:31 +0000 (13:08 +0000)
Remove the last inconsistent bits.

tests/conform/Makefile.am
tests/conform/actor-layout.c
tests/conform/actor-offscreen-redirect.c
tests/conform/actor-pick.c
tests/conform/actor-shader-effect.c [moved from tests/conform/shader-effect.c with 98% similarity]
tests/conform/path.c
tests/conform/test-conform-main.c

index 419a253..53017c3 100644 (file)
@@ -57,13 +57,13 @@ units_sources += \
        actor-offscreen-redirect.c      \
        actor-paint-opacity.c           \
        actor-pick.c                    \
+       actor-shader-effect.c           \
        actor-size.c                    \
        binding-pool.c                  \
        cairo-texture.c                 \
        group.c                         \
        path.c                          \
        rectangle.c                     \
-       shader-effect.c                 \
        texture-fbo.c                   \
        texture.c                       \
         text-cache.c                   \
index 62cab0e..2eeaecc 100644 (file)
@@ -204,8 +204,8 @@ test_state_run (TestState *state)
 }
 
 void
-basic_layout (TestConformSimpleFixture *fixture,
-              gconstpointer data)
+actor_basic_layout (TestConformSimpleFixture *fixture,
+                    gconstpointer data)
 {
   ClutterActor *stage = clutter_stage_new ();
   ClutterActor *vase;
@@ -248,8 +248,8 @@ basic_layout (TestConformSimpleFixture *fixture,
 }
 
 void
-margin_layout (TestConformSimpleFixture *fixture,
-               gconstpointer data)
+actor_margin_layout (TestConformSimpleFixture *fixture,
+                     gconstpointer data)
 {
   ClutterActor *stage = clutter_stage_new ();
   ClutterActor *vase;
index 44d7267..f4d1618 100644 (file)
@@ -294,8 +294,8 @@ timeout_cb (gpointer user_data)
 }
 
 void
-test_offscreen_redirect (TestConformSimpleFixture *fixture,
-                         gconstpointer test_data)
+actor_offscreen_redirect (TestConformSimpleFixture *fixture,
+                          gconstpointer test_data)
 {
   if (cogl_features_available (COGL_FEATURE_OFFSCREEN))
     {
index f293031..e2399ba 100644 (file)
@@ -240,7 +240,7 @@ on_timeout (gpointer data)
 }
 
 void
-actor_picking (void)
+actor_pick (void)
 {
   int y, x;
   State state;
similarity index 98%
rename from tests/conform/shader-effect.c
rename to tests/conform/actor-shader-effect.c
index bafcbe5..db3400b 100644 (file)
@@ -233,8 +233,8 @@ paint_cb (ClutterActor *stage)
 }
 
 void
-test_shader_effect (TestConformSimpleFixture *fixture,
-                    gconstpointer data)
+actor_shader_effect (TestConformSimpleFixture *fixture,
+                     gconstpointer data)
 {
   ClutterActor *stage;
   ClutterActor *rect;
index 9790c0e..25c81fb 100644 (file)
@@ -680,7 +680,7 @@ compare_nodes (CallbackData *data)
 }
 
 void
-test_path (TestConformSimpleFixture *fixture,
+path_base (TestConformSimpleFixture *fixture,
            gconstpointer _data)
 {
   CallbackData data;
index aaafacf..6852b11 100644 (file)
@@ -139,13 +139,13 @@ main (int argc, char **argv)
   TEST_CONFORM_SIMPLE ("/actor", actor_container_signals);
   TEST_CONFORM_SIMPLE ("/actor", actor_destruction);
   TEST_CONFORM_SIMPLE ("/actor", actor_anchors);
-  TEST_CONFORM_SIMPLE ("/actor", actor_picking);
+  TEST_CONFORM_SIMPLE ("/actor", actor_pick);
   TEST_CONFORM_SIMPLE ("/actor", actor_fixed_size);
   TEST_CONFORM_SIMPLE ("/actor", actor_preferred_size);
-  TEST_CONFORM_SIMPLE ("/actor", basic_layout);
-  TEST_CONFORM_SIMPLE ("/actor", margin_layout);
-  TEST_CONFORM_SIMPLE ("/actor", test_offscreen_redirect);
-  TEST_CONFORM_SIMPLE ("/actor", test_shader_effect);
+  TEST_CONFORM_SIMPLE ("/actor", actor_basic_layout);
+  TEST_CONFORM_SIMPLE ("/actor", actor_margin_layout);
+  TEST_CONFORM_SIMPLE ("/actor", actor_offscreen_redirect);
+  TEST_CONFORM_SIMPLE ("/actor", actor_shader_effect);
 
   TEST_CONFORM_SIMPLE ("/actor/iter", actor_iter_traverse_children);
   TEST_CONFORM_SIMPLE ("/actor/iter", actor_iter_traverse_remove);
@@ -187,7 +187,7 @@ main (int argc, char **argv)
   TEST_CONFORM_SIMPLE ("/texture", texture_fbo);
   TEST_CONFORM_SIMPLE ("/texture/cairo", texture_cairo);
 
-  TEST_CONFORM_SIMPLE ("/path", test_path);
+  TEST_CONFORM_SIMPLE ("/path", path_base);
 
   TEST_CONFORM_SIMPLE ("/binding-pool", binding_pool);