[cgma-dev] r5000 - cgm/trunk/test
jiangtao_ma at yahoo.com
jiangtao_ma at yahoo.com
Tue Jun 14 11:08:58 CDT 2011
Author: janehu
Date: 2011-06-14 11:08:58 -0500 (Tue, 14 Jun 2011)
New Revision: 5000
Added:
cgm/trunk/test/attribute_to_buffer.cpp
cgm/trunk/test/attribute_to_file.cpp
Modified:
cgm/trunk/test/Makefile.am
Log:
Added tests for exporting entities with attributes to files and to buffers.
Modified: cgm/trunk/test/Makefile.am
===================================================================
--- cgm/trunk/test/Makefile.am 2011-06-14 15:45:46 UTC (rev 4999)
+++ cgm/trunk/test/Makefile.am 2011-06-14 16:08:58 UTC (rev 5000)
@@ -22,7 +22,7 @@
endif
endif
if build_OCC
- TESTS += modify subtract makept r_w test_occ operation brick_occ merge_occ
+ TESTS += attribute_to_file attribute_to_buffer modify subtract makept r_w test_occ operation brick_occ merge_occ
endif
check_PROGRAMS = $(TESTS)
@@ -40,6 +40,10 @@
test_occ_SOURCES = test_occ.cpp
operation_SOURCES = operation.cpp
init_SOURCES = init.cpp
+attribute_to_file_SOURCES = attribute_to_file.cpp
+attribute_to_file_CPPFLAGS = $(CPPFLAGS) $(AM_CPPFLAGS) -DTEST_OCC
+attribute_to_buffer_SOURCES = attribute_to_buffer.cpp
+attribute_to_buffer_CPPFLAGS = $(CPPFLAGS) $(AM_CPPFLAGS) -DTEST_OCC
brick_sources = brick.cpp
brick_acis_SOURCES = $(brick_sources)
@@ -129,6 +133,7 @@
glue.occ \
after_webcut.brep \
webcut_sweep.brep \
+ bricks2.occ \
mmgr.log
Added: cgm/trunk/test/attribute_to_buffer.cpp
===================================================================
--- cgm/trunk/test/attribute_to_buffer.cpp (rev 0)
+++ cgm/trunk/test/attribute_to_buffer.cpp 2011-06-14 16:08:58 UTC (rev 5000)
@@ -0,0 +1,144 @@
+#include "InitCGMA.hpp"
+#include "GeometryModifyTool.hpp"
+#include "GeometryQueryTool.hpp"
+#include "Body.hpp"
+#include "CGMApp.hpp"
+#include "CubitAttribManager.hpp"
+#include "CADefines.hpp"
+#include "TDParallel.hpp"
+#include "CABodies.hpp"
+
+#include <stdio.h>
+#include <stdlib.h>
+
More information about the cgma-dev
mailing list