summaryrefslogtreecommitdiffstats
path: root/c++/test/trefer.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2010-02-26 16:55:49 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2010-02-26 16:55:49 (GMT)
commitc90711e71362716cd9ab25d6b9167ca49edccfe8 (patch)
treeea7dc293ef04279362e74c014934fe0bc18c6c51 /c++/test/trefer.cpp
parent9f514c2b7de0d07cfcb26d3e2355e070033f7a11 (diff)
downloadhdf5-c90711e71362716cd9ab25d6b9167ca49edccfe8.zip
hdf5-c90711e71362716cd9ab25d6b9167ca49edccfe8.tar.gz
hdf5-c90711e71362716cd9ab25d6b9167ca49edccfe8.tar.bz2
[svn-r18335] Description:
Removed header file testhdf5.h from C++ tests to eliminate a non-standard problem on OpenVMS. It wasn't essential. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) Ray agreed to test on OpenVMS.
Diffstat (limited to 'c++/test/trefer.cpp')
-rw-r--r--c++/test/trefer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/test/trefer.cpp b/c++/test/trefer.cpp
index c4ac93b..3875dfd 100644
--- a/c++/test/trefer.cpp
+++ b/c++/test/trefer.cpp
@@ -34,7 +34,6 @@
#endif // H5_NO_STD
#endif
-#include "testhdf5.h" // C test header file
#include "H5Cpp.h" // C++ API header file
#ifndef H5_NO_NAMESPACE
@@ -82,7 +81,7 @@ static void test_reference_obj(void)
const H5std_string write_comment="Foo!"; // Comments for group
// Output message about test being performed
- SUBTEST("Testing Object Reference Functions");
+ SUBTEST("Object Reference Functions");
H5File* file1 = NULL;
try {
@@ -205,7 +204,7 @@ static void test_reference_obj(void)
dset2.read(tbuf, PredType::NATIVE_UINT);
for(tu32=(unsigned *)tbuf,i=0; i<SPACE1_DIM1; i++,tu32++)
- VERIFY(*tu32, (uint32_t)(i*3), "Data");
+ verify_val(*tu32, (uint32_t)(i*3), "DataSpace::getSimpleExtentNpoints", __LINE__, __FILE__);
// Close dereferenced dataset
dset2.close();
@@ -290,6 +289,7 @@ extern "C"
void test_reference(void)
{
// Output message about test being performed
+ //MESSAGE("Testing References\n");
MESSAGE(5, ("Testing References\n"));
test_reference_obj(); // Test basic object reference functionality