[opengtl-commits] [193] add a test for "region" which doesn't do anything |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 193
Author: cyrille
Date: 2008-06-14 11:08:04 +0200 (Sat, 14 Jun 2008)
Log Message:
-----------
add a test for "region" which doesn't do anything
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/tests/CMakeLists.txt
Added Paths:
-----------
trunk/OpenGTL/OpenShiva/tests/structures/
trunk/OpenGTL/OpenShiva/tests/structures/CMakeLists.txt
trunk/OpenGTL/OpenShiva/tests/structures/region.shiva
Modified: trunk/OpenGTL/OpenShiva/tests/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/CMakeLists.txt 2008-06-14 09:07:23 UTC (rev 192)
+++ trunk/OpenGTL/OpenShiva/tests/CMakeLists.txt 2008-06-14 09:08:04 UTC (rev 193)
@@ -1,2 +1,3 @@
add_subdirectory(parse)
-add_subdirectory(library)
\ No newline at end of file
+add_subdirectory(library)
+add_subdirectory(structures)
\ No newline at end of file
Added: trunk/OpenGTL/OpenShiva/tests/structures/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/structures/CMakeLists.txt (rev 0)
+++ trunk/OpenGTL/OpenShiva/tests/structures/CMakeLists.txt 2008-06-14 09:08:04 UTC (rev 193)
@@ -0,0 +1,8 @@
+
+set( TESTS_FILES
+ region.shiva
+ )
+
+FOREACH( TEST_FILE ${TESTS_FILES} )
+ ADD_TEST(${TEST_FILE} ${SHIVATESTER} ${CMAKE_CURRENT_SOURCE_DIR}/${TEST_FILE})
+ENDFOREACH( TEST_FILE )
Added: trunk/OpenGTL/OpenShiva/tests/structures/region.shiva
===================================================================
--- trunk/OpenGTL/OpenShiva/tests/structures/region.shiva (rev 0)
+++ trunk/OpenGTL/OpenShiva/tests/structures/region.shiva 2008-06-14 09:08:04 UTC (rev 193)
@@ -0,0 +1,11 @@
+kernel MyKernel
+{
+ int runTest()
+ {
+// region r;
+// region r2;
+// r.union(r2);
+// r.intersect(r2);
+ return 0;
+ }
+}