summaryrefslogtreecommitdiffstats
path: root/c++/test/testhdf5.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-26 05:40:17 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-26 05:40:17 (GMT)
commitfd318bcf1fe96ff30ae83a4a1441d2600f0cf825 (patch)
treec74c83e7815461c4ce8dce5de46c5a60c01d0943 /c++/test/testhdf5.cpp
parent134352c456b2952f192e74ed3e87fb72a2d9bbd8 (diff)
downloadhdf5-fd318bcf1fe96ff30ae83a4a1441d2600f0cf825.zip
hdf5-fd318bcf1fe96ff30ae83a4a1441d2600f0cf825.tar.gz
hdf5-fd318bcf1fe96ff30ae83a4a1441d2600f0cf825.tar.bz2
[svn-r13201] Purpose: Adding test
Description: Added * tests for some generic datatype operations * tests for compound datatype operations These tests are checked in now to make sure they're safe! They can use some more comments and minor cleanups. Will do very soon. Fixed few minor typos. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
Diffstat (limited to 'c++/test/testhdf5.cpp')
-rw-r--r--c++/test/testhdf5.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp
index f157000..22d14b1 100644
--- a/c++/test/testhdf5.cpp
+++ b/c++/test/testhdf5.cpp
@@ -60,9 +60,11 @@
#include "H5Cpp.h" // C++ API header file
#ifndef H5_NO_NAMESPACE
-using namespace H5;
+ using namespace H5;
#endif /* !H5_NO_NAMESPACE */
+#include "h5cpputil.h" // C++ utilility header file
+
int
main(int argc, char *argv[])
{
@@ -79,6 +81,8 @@ main(int argc, char *argv[])
AddTest("reference", test_reference, cleanup_reference, "References", NULL);
// testing variable-length strings in tvlstr.cpp
AddTest("vlstrings", test_vlstrings, cleanup_vlstrings, "Variable-Length Strings", NULL);
+ AddTest("types", test_types, cleanup_types, "Generic Data Types", NULL);
+ AddTest("compound", test_compound, cleanup_compound, "Compound Data Types", NULL);
/* Comment out tests that are not done yet. - BMR, Feb 2001
AddTest("select", test_select, cleanup_select, "Selections", NULL);
AddTest("time", test_time, cleanup_time, "Time Datatypes", NULL);
@@ -86,8 +90,14 @@ main(int argc, char *argv[])
AddTest("iterate", test_iterate, cleanup_iterate, "Group & Attribute Iteration", NULL);
AddTest("array", test_array, cleanup_array, "Array Datatypes", NULL);
AddTest("genprop", test_genprop, cleanup_genprop, "Generic Properties", NULL);
+ AddTest("id", test_ids, NULL, "User-Created Identifiers", NULL);
+
Comment out tests that are not done yet */
+/* Tentative - BMR 2007/1/12
+ AddTest("datatypes", test_dtypes, cleanup_dtypes, "Data Types", NULL);
+ AddTest("enum", test_enum, cleanup_enum, "Enum Data Types", NULL);
+*/
/* Display testing information */
TestInfo(argv[0]);