summaryrefslogtreecommitdiffstats
path: root/c++/test/trefer.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2010-03-17 03:40:01 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2010-03-17 03:40:01 (GMT)
commitb78157094308e0dbe1d76c11f769aee7bca92079 (patch)
tree5ab7b64ade08e0194bc4f6b77d3cd6219f0226f3 /c++/test/trefer.cpp
parentdcf0727a9e3bb1c453efa51518c0133e5b4aed8b (diff)
downloadhdf5-b78157094308e0dbe1d76c11f769aee7bca92079.zip
hdf5-b78157094308e0dbe1d76c11f769aee7bca92079.tar.gz
hdf5-b78157094308e0dbe1d76c11f769aee7bca92079.tar.bz2
[svn-r18409] Description:
Removed header file testhdf5.h from C++ tests to eliminate a non-standard problem on OpenVMS. It wasn't essential. Also, moved dsets.cpp from a standalone program into testhdf5.cpp to be consistent with the rest of the tests. Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew) Will ask Ray 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