summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dtypes.c3
-rw-r--r--test/istore.c3
-rw-r--r--test/theap.c3
-rw-r--r--test/tohdr.c3
-rw-r--r--test/tstab.c7
5 files changed, 12 insertions, 7 deletions
diff --git a/test/dtypes.c b/test/dtypes.c
index 263ebb7..056734f 100644
--- a/test/dtypes.c
+++ b/test/dtypes.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <unistd.h>
+#include <H5Aprivate.h>
#include <H5Tprivate.h>
#ifndef HAVE_FUNCTION
@@ -183,7 +184,7 @@ test_compound(void)
puts(" PASSED");
/* Just for debugging... */
- H5T_debug(H5Aatom_object(complex_id), stdout);
+ H5T_debug(H5A_object(complex_id), stdout);
printf("\n");
return SUCCEED;
diff --git a/test/istore.c b/test/istore.c
index 324cb49..25a16b6 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -8,6 +8,7 @@
* Purpose: Tests various aspects of indexed raw data storage.
*/
#include <H5private.h>
+#include <H5Aprivate.h>
#include <H5Cprivate.h>
#include <H5Fprivate.h>
#include <H5Gprivate.h>
@@ -573,7 +574,7 @@ main(int argc, char *argv[])
*/
template_id = H5Ccreate(H5C_FILE_CREATE);
H5Cset_sizes(template_id, 8, 0);
- creation_template = H5Aatom_object(template_id);
+ creation_template = H5A_object(template_id);
/* Create the test file */
if (NULL == (f = H5F_open(FILETYPE, FILENAME,
diff --git a/test/theap.c b/test/theap.c
index fc9e391..ad0ee75 100644
--- a/test/theap.c
+++ b/test/theap.c
@@ -17,6 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
+#include <H5Aprivate.h>
#include <H5ACprivate.h>
#include <H5Fprivate.h>
#include <H5Hprivate.h>
@@ -55,7 +56,7 @@ test_heap(void)
/* Create the file */
fid = H5Fcreate("theap.h5", H5ACC_OVERWRITE, 0, 0);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5Aatom_object(fid);
+ f = H5A_object(fid);
CHECK(f, NULL, "H5Aatom_object");
/* Create a new heap */
diff --git a/test/tohdr.c b/test/tohdr.c
index 161ebaa..9dded97 100644
--- a/test/tohdr.c
+++ b/test/tohdr.c
@@ -17,6 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
+#include <H5Aprivate.h>
#include <H5ACprivate.h>
#include <H5Fprivate.h>
#include <H5Gprivate.h>
@@ -59,7 +60,7 @@ test_ohdr(void)
/* create the file */
fid = H5Fcreate("tohdr.h5", H5ACC_OVERWRITE, 0, 0);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5Aatom_object(fid);
+ f = H5A_object(fid);
CHECK(f, NULL, "H5Aatom_object");
/* the new object header */
diff --git a/test/tstab.c b/test/tstab.c
index 8ad20cc..4223897 100644
--- a/test/tstab.c
+++ b/test/tstab.c
@@ -17,6 +17,7 @@
#include <testhdf5.h>
#include <H5private.h>
+#include <H5Aprivate.h>
#include <H5ACprivate.h>
#include <H5Cprivate.h>
#include <H5Fprivate.h>
@@ -68,7 +69,7 @@ test_1(void)
/* create the file */
fid = H5Fcreate("tstab1.h5", H5ACC_OVERWRITE, 0, 0);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5Aatom_object(fid);
+ f = H5A_object(fid);
CHECK(f, NULL, "H5Aatom_object");
/* create the object */
@@ -131,7 +132,7 @@ test_1(void)
/* create the file */
fid = H5Fcreate("tstab1.h5", H5ACC_OVERWRITE, 0, 0);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5Aatom_object(fid);
+ f = H5A_object(fid);
CHECK(f, NULL, "H5Aatom_object");
/* create the object */
@@ -240,7 +241,7 @@ test_2(void)
/* create the file */
fid = H5Fcreate("tstab2.h5", H5ACC_OVERWRITE, props, 0);
CHECK(fid, FAIL, "H5Fcreate");
- f = H5Aatom_object(fid);
+ f = H5A_object(fid);
CHECK(f, NULL, "H5Aatom_object");
f->intent |= H5F_ACC_DEBUG;