summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-03-17 22:46:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-03-17 22:46:27 (GMT)
commit96dd634330502cdde53905c9edbef56028323969 (patch)
tree18e95df957a1b8b78604016aa8a6108b3c85c10b /test
parent4494348eb229ae0661754c974695d8a293c6168b (diff)
downloadhdf5-96dd634330502cdde53905c9edbef56028323969.zip
hdf5-96dd634330502cdde53905c9edbef56028323969.tar.gz
hdf5-96dd634330502cdde53905c9edbef56028323969.tar.bz2
[svn-r324] Change H5A (atoms) to H5I (IDs)
Diffstat (limited to 'test')
-rw-r--r--test/dtypes.c4
-rw-r--r--test/istore.c4
-rw-r--r--test/theap.c6
-rw-r--r--test/tohdr.c6
-rw-r--r--test/tstab.c14
5 files changed, 17 insertions, 17 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 0b4ae7b..f8d3d0a 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <unistd.h>
-#include <H5Aprivate.h>
+#include <H5Iprivate.h>
#include <H5Tprivate.h>
#ifndef HAVE_FUNCTION
@@ -193,7 +193,7 @@ test_compound(void)
puts(" PASSED");
/* Just for debugging... */
- H5T_debug(H5A_object(complex_id), stdout);
+ H5T_debug(H5I_object(complex_id), stdout);
printf("\n");
return SUCCEED;
diff --git a/test/istore.c b/test/istore.c
index 68feb9c..2ba7142 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -8,7 +8,7 @@
* Purpose: Tests various aspects of indexed raw data storage.
*/
#include <H5private.h>
-#include <H5Aprivate.h>
+#include <H5Iprivate.h>
#include <H5Pprivate.h>
#include <H5Fprivate.h>
#include <H5Gprivate.h>
@@ -577,7 +577,7 @@ main(int argc, char *argv[])
*/
template_id = H5Pcreate(H5P_FILE_CREATE);
H5Pset_sizes(template_id, 8, 0);
- creation_template = H5A_object(template_id);
+ creation_template = H5I_object(template_id);
/* Create the test file */
if (NULL == (f = H5F_open(FILENAME,
diff --git a/test/theap.c b/test/theap.c
index 4a4862d..4ffc892 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -17,7 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
-#include <H5Aprivate.h>
+#include <H5Iprivate.h>
#include <H5ACprivate.h>
#include <H5Pprivate.h>
#include <H5Fprivate.h>
@@ -57,8 +57,8 @@ test_heap(void)
/* Create the file */
fid = H5Fcreate("theap.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5A_object(fid);
- CHECK(f, NULL, "H5Aatom_object");
+ f = H5I_object(fid);
+ CHECK(f, NULL, "H5I_object");
/* Create a new heap */
status = H5H_create(f, H5H_LOCAL, 0, &heap_addr /*out */ );
diff --git a/test/tohdr.c b/test/tohdr.c
index 00d4322..386a667 100644
--- a/test/tohdr.c
+++ b/test/tohdr.c
@@ -17,7 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
-#include <H5Aprivate.h>
+#include <H5Iprivate.h>
#include <H5ACprivate.h>
#include <H5Pprivate.h>
#include <H5Fprivate.h>
@@ -61,8 +61,8 @@ test_ohdr(void)
/* create the file */
fid = H5Fcreate("tohdr.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5A_object(fid);
- CHECK(f, NULL, "H5Aatom_object");
+ f = H5I_object(fid);
+ CHECK(f, NULL, "H5I_object");
/* the new object header */
MESSAGE(8, ("Creating new object header...\n"));
diff --git a/test/tstab.c b/test/tstab.c
index ca3c069..b4018ab 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -17,7 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
-#include <H5Aprivate.h>
+#include <H5Iprivate.h>
#include <H5ACprivate.h>
#include <H5Pprivate.h>
#include <H5Fprivate.h>
@@ -69,8 +69,8 @@ test_1(void)
/* create the file */
fid = H5Fcreate("tstab1.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5A_object(fid);
- CHECK(f, NULL, "H5Aatom_object");
+ f = H5I_object(fid);
+ CHECK(f, NULL, "H5I_object");
/* create the object */
status = H5O_create(f, 0, &ent1);
@@ -132,8 +132,8 @@ test_1(void)
/* create the file */
fid = H5Fcreate("tstab1.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5A_object(fid);
- CHECK(f, NULL, "H5Aatom_object");
+ f = H5I_object(fid);
+ CHECK(f, NULL, "H5I_object");
/* create the object */
status = H5O_create(f, 0, &ent1);
@@ -266,8 +266,8 @@ test_2(void)
/* create the file */
fid = H5Fcreate("tstab2.h5", H5F_ACC_TRUNC, create_plist, access_plist);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5A_object(fid);
- CHECK(f, NULL, "H5Aatom_object");
+ f = H5I_object(fid);
+ CHECK(f, NULL, "H5I_object");
f->intent |= H5F_ACC_DEBUG;
/*