summaryrefslogtreecommitdiffstats
path: root/hl/c++/test/ptableTest.h
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-03-28 19:55:02 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-03-28 19:55:02 (GMT)
commit73e5d04993150d7ec308c85385620fb7a4b6ce83 (patch)
tree060b4b7cabe89dd67e4806264439891d51ed1b60 /hl/c++/test/ptableTest.h
parentff428074d65e3b951fdc590b844bdb5a34d1641a (diff)
downloadhdf5-73e5d04993150d7ec308c85385620fb7a4b6ce83.zip
hdf5-73e5d04993150d7ec308c85385620fb7a4b6ce83.tar.gz
hdf5-73e5d04993150d7ec308c85385620fb7a4b6ce83.tar.bz2
[svn-r10467]
Purpose: Made the C++ Packet Table tests look like other HDF5 tests (using PASSED(), etc.). Platforms tested: sleipnir, mir, modi4, windows
Diffstat (limited to 'hl/c++/test/ptableTest.h')
-rw-r--r--hl/c++/test/ptableTest.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/hl/c++/test/ptableTest.h b/hl/c++/test/ptableTest.h
index 387a574..cc5e8eb 100644
--- a/hl/c++/test/ptableTest.h
+++ b/hl/c++/test/ptableTest.h
@@ -9,31 +9,31 @@
#define PTABLETEST
#include "H5PacketTable.h"
-#include <assert.h>
+#include "h5test.h"
static hid_t fileID;
/* Test some basic functionality; adding and getting records */
-void BasicTest(void);
+int BasicTest(void);
/* Test a compound fixed-length datatype */
-void TestCompoundDatatype(void);
+int TestCompoundDatatype(void);
/* Test the GetNext functions and their indexes */
-void TestGetNext(void);
+int TestGetNext(void);
/* Ensure that the functions return the correct errors in
* response to invalid indexes */
-void TestErrors(void);
+int TestErrors(void);
/* Test getting multiple records at once using GetPacket */
-void TestGetPacket(void);
+int TestGetPacket(void);
/* Create two packet tables at once using compound datatypes.
Test for unusual interactions between multiple packet tables. */
-void SystemTest(void);
+int SystemTest(void);
/* Test the variable length dataset functionality */
-void VariableLengthTest(void);
+int VariableLengthTest(void);
-#endif // PTABLETEST
+#endif /* PTABLETEST */