[clutter-gtkmm] Removed tests/ directory
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [clutter-gtkmm] Removed tests/ directory
- Date: Fri, 15 May 2009 12:17:35 -0400 (EDT)
commit 7afcb7bb73c5a4aaf122afcb6ca464f66c26ca19
Author: Murray Cumming <murrayc murrayc com>
Date: Fri May 15 18:17:27 2009 +0200
Removed tests/ directory
---
ChangeLog | 6 +++++
Makefile.am | 2 +-
configure.in | 1 -
tests/Makefile.am | 10 --------
tests/test-alpha-creation.cc | 31 ---------------------------
tests/test-alpha-func.cc | 48 ------------------------------------------
6 files changed, 7 insertions(+), 91 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d450216..0b063f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
2009-05-15 Murray Cumming <murrayc murrayc com>
+ * configure.in:
+ * Makefile.am: Removed tests/ directory because it is just an old copy of
+ the one from cluttermm.
+
+2009-05-15 Murray Cumming <murrayc murrayc com>
+
* Makefile.am: Mention the tests SUBDIR to fix the build.
2009-05-15 Siavash Safi <siavash siavashs org>
diff --git a/Makefile.am b/Makefile.am
index fdc3d8e..7256e69 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = tools clutter-gtk docs examples tests
+SUBDIRS = tools clutter-gtk docs examples
DIST_SUBDIRS = $(SUBDIRS) scripts
EXTRA_DIST = \
diff --git a/configure.in b/configure.in
index 2750933..8da2dee 100644
--- a/configure.in
+++ b/configure.in
@@ -121,6 +121,5 @@ AC_OUTPUT([
examples/Makefile
examples/events/Makefile
- tests/Makefile
])
:
diff --git a/tests/Makefile.am b/tests/Makefile.am
deleted file mode 100644
index 9a76782..0000000
--- a/tests/Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
-SUBDIRS =
-
-#EXTRA_DIST = Makefile.am_fragment README.txt
-
-include $(top_srcdir)/examples/Makefile.am_fragment
-
-noinst_PROGRAMS = test-alpha-creation test-alpha-func
-test_alpha_creation_SOURCES = test-alpha-creation.cc
-test_alpha_func_SOURCES = test-alpha-func.cc
-
diff --git a/tests/test-alpha-creation.cc b/tests/test-alpha-creation.cc
deleted file mode 100644
index 90a66cd..0000000
--- a/tests/test-alpha-creation.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <cluttermm.h>
-#include <clutter/clutter.h>
-
-int main(int argc, char** argv)
-{
- // initialize the C++ wrapper types
- Clutter::init(&argc, &argv);
-
- Glib::RefPtr<Clutter::Stage> stage = Clutter::Stage::get_default();
-
- // Create a timeline to manage animation
- Glib::RefPtr<Clutter::Timeline> timeline =
- Clutter::Timeline::create (360, 60); // num frames, fps
-
- // Set up some behaviours to handle scaling
- Glib::RefPtr<Clutter::Alpha> alpha =
- Clutter::Alpha::create(timeline, &Clutter::Alpha::sine_func);
-
- Glib::RefPtr<Clutter::BehaviourScale> scaler_1 =
- Clutter::BehaviourScale::create(alpha, 0.5, 0.5, 1.0, 1.0);
-
- // Show everying (and map window)
- stage->show();
-
- // and start it
- timeline->start();
-
- Clutter::main();
-
- return 0;
-}
diff --git a/tests/test-alpha-func.cc b/tests/test-alpha-func.cc
deleted file mode 100644
index 5900dbc..0000000
--- a/tests/test-alpha-func.cc
+++ /dev/null
@@ -1,48 +0,0 @@
-#include <cluttermm.h>
-#include <clutter/clutter.h>
-#include <iostream>
-
-Glib::RefPtr<Clutter::Actor> hand;
-
-guint32 alpha_val = 0;
-
-guint32 on_alpha(const Glib::RefPtr<Clutter::Alpha>& alpha)
-{
- return ++alpha_val;
-}
-
-int
-main (int argc, char *argv[])
-{
- // initialize the C++ wrapper types
- Clutter::init(&argc, &argv);
-
- Glib::RefPtr<Clutter::Stage> stage = Clutter::Stage::get_default ();
-
- // Create a timeline to manage animation
- Glib::RefPtr<Clutter::Timeline> timeline =
- Clutter::Timeline::create (1000, 60); // num frames, fps
- timeline->set_loop();
-
- // Set up some behaviours to handle scaling
- //Causes a Gobject (refcount?) warning: Glib::RefPtr<Clutter::Alpha> alpha =
- // Clutter::Alpha::create (timeline, Clutter::ALPHA_SINE);
- Glib::RefPtr<Clutter::Alpha> alpha =
- Clutter::Alpha::create (timeline, sigc::ptr_fun(&on_alpha));
-
- Glib::RefPtr<Clutter::BehaviourScale> scaler_1 =
- Clutter::BehaviourScale::create (alpha,
- 0.5, 0.5,
- 1.0, 1.0);
-
- // Show everying ( and map window )
- stage->show ();
-
- // and start it
- timeline->start ();
-
- clutter_main ();
-
- return 0;
-}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]