grim/gplate

03e066487151
Parents 7f8e0e4f250f
Children 613427473cf2
the start of moving variables to the new testing setup
--- a/tests/CMakeLists.txt Tue Sep 04 01:27:17 2012 -0500
+++ b/tests/CMakeLists.txt Wed Sep 05 00:54:11 2012 -0500
@@ -1,5 +1,6 @@
add_subdirectory(functions)
add_subdirectory(tags)
+add_subdirectory(variables)
add_executable(test-gplate test-gplate.c)
@@ -8,6 +9,7 @@
gplate
test-gplate-functions
test-gplate-tags
+ test-gplate-variables
)
###############################################################################
--- a/tests/test-gplate.c Tue Sep 04 01:27:17 2012 -0500
+++ b/tests/test-gplate.c Wed Sep 05 00:54:11 2012 -0500
@@ -30,6 +30,7 @@
test_gplate_functions_add_tests();
test_gplate_tag_add_tests();
+ test_gplate_variables_add_tests();
return g_test_run();
}
--- a/tests/variables/CMakeLists.txt Tue Sep 04 01:27:17 2012 -0500
+++ b/tests/variables/CMakeLists.txt Wed Sep 05 00:54:11 2012 -0500
@@ -6,7 +6,7 @@
test-gplate-variables.c
)
-add_library(test-gplate-tags STATIC
+add_library(test-gplate-variables STATIC
${TEST_GPLATE_VARIABLES_HEADERS}
${TEST_GPLATE_VARIABLES_SOURCES}
)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/variables/test-gplate-variables.h Wed Sep 05 00:54:11 2012 -0500
@@ -0,0 +1,30 @@
+/*
+ * GPlate - GObject based templating library
+ * Copyright (C) 2007-2012 Gary Kramlich <grim@reaperworld.com>
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+#ifndef TEST_GPLATE_VARIABLES_H
+#define TEST_GPLATE_VARIABLES_H
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+void test_gplate_variables_add_tests(void);
+
+G_END_DECLS
+
+#endif /* TEST_GPLATE_VARIABLES_H */
+