summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-22 16:41:32 (GMT)
commita0ee2c57e934c5ff2269e345238a6ee019f6c294 (patch)
tree08a553617329401737ddff6af60ccd11a13cc6a3 /test
parentfdfb6dfd26410b931b4452f832b5a4aedec283e0 (diff)
downloadhdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.zip
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.gz
hdf5-a0ee2c57e934c5ff2269e345238a6ee019f6c294.tar.bz2
[svn-r164] Changes since 19980122
---------------------- ./src/*.h Fixed indentation where indent(1) screwed up. This isn't by any means the final say, but it's better than it was. ./src/H5A.c ./src/H5Aprivate.h ./src/H5Apublic.h ./src/H5C.c ./src/H5D.c ./src/H5E.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c ./src/H5Tconv.c ./src/debug.c ./test/dtypes.c ./test/istore.c ./test/theap.c ./test/tohdr.c ./test/tstab.c Removed some atom functions from the API and made them library-scope. Also changed some names by removing the redundant `atom' from the name and by adding a `_' after the `H5A'.
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;