[MOAB-dev] r3860 - MOAB/trunk/test/h5file
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Thu May 6 18:09:37 CDT 2010
Author: kraftche
Date: 2010-05-06 18:09:37 -0500 (Thu, 06 May 2010)
New Revision: 3860
Modified:
MOAB/trunk/test/h5file/h5file_test.cpp
MOAB/trunk/test/h5file/h5sets_test.cpp
Log:
Enable use of IODebugTrack in some tests of WriteHDF5
Modified: MOAB/trunk/test/h5file/h5file_test.cpp
===================================================================
--- MOAB/trunk/test/h5file/h5file_test.cpp 2010-05-06 23:09:04 UTC (rev 3859)
+++ MOAB/trunk/test/h5file/h5file_test.cpp 2010-05-06 23:09:37 UTC (rev 3860)
@@ -61,7 +61,7 @@
// write out the dodecahedron
fprintf( stderr, "writing... " );
- rval = iface->write_mesh( filename );
+ rval = iface->write_file( filename, 0, "DEBUG_BINIO" );
if (MB_SUCCESS != rval)
{
fprintf( stderr, "Failed to write \"%s\"\n", filename );
@@ -72,7 +72,7 @@
// Read back in as a copy of the original
fprintf( stderr, "reading... " );
- rval = iface->load_mesh( filename );
+ rval = iface->load_file( filename );
if (MB_SUCCESS != rval)
{
fprintf( stderr, "Failed to read \"%s\"\n", filename );
@@ -92,7 +92,7 @@
// Write both the original and copy to a file
fprintf( stderr, "writing... " );
- rval = iface->write_mesh( filename );
+ rval = iface->write_file( filename, 0, "DEBUG_BINIO" );
if (MB_SUCCESS != rval)
{
fprintf( stderr, "Failed to write \"%s\"\n", filename );
@@ -109,7 +109,7 @@
// Read the two dodecahedrons from the file
fprintf( stderr, "reading... " );
- rval = iface->load_mesh( filename );
+ rval = iface->load_file( filename );
if (MB_SUCCESS != rval)
{
fprintf( stderr, "Failed to read \"%s\"\n", filename );
Modified: MOAB/trunk/test/h5file/h5sets_test.cpp
===================================================================
--- MOAB/trunk/test/h5file/h5sets_test.cpp 2010-05-06 23:09:04 UTC (rev 3859)
+++ MOAB/trunk/test/h5file/h5sets_test.cpp 2010-05-06 23:09:37 UTC (rev 3860)
@@ -16,7 +16,7 @@
void read_write_file( Interface& output, Interface& input, EntityHandle* input_set = 0 )
{
ErrorCode rval;
- rval = output.write_file( filename );
+ rval = output.write_file( filename, 0, "DEBUG_BINIO" );
More information about the moab-dev
mailing list