interactive: Remove test-offscreen
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 16 Dec 2010 15:08:11 +0000 (15:08 +0000)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 16 Dec 2010 15:08:11 +0000 (15:08 +0000)
The test-offscreen interactive test was a dummy test for the
ClutterStage:offscreen property, which has been deprecated and
not implemented since Clutter 1.0, and never really worked except
briefly in Clutter 0.2 or something.

tests/interactive/Makefile.am
tests/interactive/test-offscreen.c [deleted file]

index a364999..3c8595a 100644 (file)
@@ -5,7 +5,6 @@ UNIT_TESTS = \
        test-texture-async.c \
        test-texture-material.c \
        test-events.c \
-       test-offscreen.c \
        test-scale.c \
         test-actors.c \
         test-actor-clone.c \
diff --git a/tests/interactive/test-offscreen.c b/tests/interactive/test-offscreen.c
deleted file mode 100644 (file)
index f89a422..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#include <gmodule.h>
-#include <clutter/clutter.h>
-
-/* Very simple test just to see what happens setting up offscreen rendering */
-
-G_MODULE_EXPORT int
-test_offscreen_main (int argc, char *argv[])
-{
-  ClutterActor    *stage;
-  gboolean         offscreen;
-
-  clutter_init (&argc, &argv);
-
-  stage = clutter_stage_get_default ();
-
-  /* Attempt to set up rendering offscreen */
-  g_object_set (stage, "offscreen", TRUE, NULL);
-
-  /* See if it worked */
-  g_object_get (stage, "offscreen", &offscreen, NULL);
-
-  if (offscreen == FALSE)
-    printf ("FAIL: Unable to setup offscreen rendering\n.");
-  else
-    printf ("SUCCESS: Able to setup offscreen rendering\n.");
-
-  clutter_actor_show_all (CLUTTER_ACTOR (stage));
-
-  clutter_main();
-
-  return 0;
-}