[MOAB-dev] r3930 - MOAB/trunk/test

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu May 20 12:51:11 CDT 2010


Author: kraftche
Date: 2010-05-20 12:51:11 -0500 (Thu, 20 May 2010)
New Revision: 3930

Modified:
   MOAB/trunk/test/MBTest.cpp
Log:
clarify which tests really rely on exodus files

Modified: MOAB/trunk/test/MBTest.cpp
===================================================================
--- MOAB/trunk/test/MBTest.cpp	2010-05-20 17:21:23 UTC (rev 3929)
+++ MOAB/trunk/test/MBTest.cpp	2010-05-20 17:51:11 UTC (rev 3930)
@@ -642,8 +642,10 @@
 
   return MB_SUCCESS;
 }
-ErrorCode mb_temporary_test( Interface *gMB )
+ErrorCode mb_temporary_test( Interface * )
 {
+  Core moab;
+  Interface* gMB = &moab;
 
   double array[3] = {0.0, 0.0, 0.0};
   EntityHandle h_node1;
@@ -892,10 +894,10 @@
 
 }
   
-ErrorCode mb_adjacencies_create_delete_test(Interface *mb) 
+ErrorCode mb_adjacencies_create_delete_test(Interface *) 
 {
   Core moab;
-  mb = &moab;
+  Interface* mb = &moab;
   ErrorCode rval;
 
   double coords[] = { 0, 0, 0, 2, 0, 0, 1, 2, 0 };
@@ -1066,11 +1068,11 @@
 }
 
 
-ErrorCode mb_upward_adjacencies_test(Interface *mb) 
+ErrorCode mb_upward_adjacencies_test(Interface *) 
 {
   ErrorCode rval;
   Core moab;
-  mb = &moab;
+  Interface* mb = &moab;
   
   // create a simple mesh containing 2 hexes
   EntityHandle vertices[12], hexes[2], hex1_faces[6], hex2_faces[6], hex1_edges[12], hex2_edges[12];
@@ -1713,8 +1715,11 @@
 }
 
     //Test parent/child stuff in meshsets
-ErrorCode mb_mesh_set_parent_child_test(Interface *MB)
+ErrorCode mb_mesh_set_parent_child_test(Interface *)
 {
+  Core moab;


More information about the moab-dev mailing list