summaryrefslogtreecommitdiffstats
path: root/test/tattr.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-14 21:14:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-14 21:14:12 (GMT)
commitbf5165c748def41aec8b1904d450b319617f5e57 (patch)
tree92ab62f31469b774c529cdb9cdca4485214221f5 /test/tattr.c
parent41b05e1ce0abd75acdf7c8b69929e3aa072ac35d (diff)
downloadhdf5-bf5165c748def41aec8b1904d450b319617f5e57.zip
hdf5-bf5165c748def41aec8b1904d450b319617f5e57.tar.gz
hdf5-bf5165c748def41aec8b1904d450b319617f5e57.tar.bz2
[svn-r489] Changed more API functions to the new names as documented. Also, added
stub for testing selections.
Diffstat (limited to 'test/tattr.c')
-rw-r--r--test/tattr.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/test/tattr.c b/test/tattr.c
index 4f4e7b4..b9cfa0f 100644
--- a/test/tattr.c
+++ b/test/tattr.c
@@ -412,10 +412,10 @@ test_attr_compound_read(void)
/* Verify Dataspace */
space=H5Aget_space(attr);
CHECK(space, FAIL, "H5Aget_space");
- rank=H5Sget_ndims(space);
- VERIFY(rank, ATTR4_RANK, "H5Sget_ndims");
- ret=H5Sget_dims(space,dims, NULL);
- CHECK(ret, FAIL, "H5Sget_dims");
+ rank=H5Sextent_ndims(space);
+ VERIFY(rank, ATTR4_RANK, "H5Sextent_ndims");
+ ret=H5Sextent_dims(space,dims, NULL);
+ CHECK(ret, FAIL, "H5Sextent_dims");
if(dims[0]!=ATTR4_DIM1) {
printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR4_DIM1);
num_errs++;
@@ -797,10 +797,10 @@ test_attr_mult_read(void)
/* Verify Dataspace */
space=H5Aget_space(attr);
CHECK(space, FAIL, "H5Aget_space");
- rank=H5Sget_ndims(space);
- VERIFY(rank, ATTR1_RANK, "H5Sget_ndims");
- ret=H5Sget_dims(space,dims, NULL);
- CHECK(ret, FAIL, "H5Sget_dims");
+ rank=H5Sextent_ndims(space);
+ VERIFY(rank, ATTR1_RANK, "H5Sextent_ndims");
+ ret=H5Sextent_dims(space,dims, NULL);
+ CHECK(ret, FAIL, "H5Sextent_dims");
if(dims[0]!=ATTR1_DIM1) {
printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR1_DIM1);
num_errs++;
@@ -858,10 +858,10 @@ test_attr_mult_read(void)
/* Verify Dataspace */
space=H5Aget_space(attr);
CHECK(space, FAIL, "H5Aget_space");
- rank=H5Sget_ndims(space);
- VERIFY(rank, ATTR2_RANK, "H5Sget_ndims");
- ret=H5Sget_dims(space,dims, NULL);
- CHECK(ret, FAIL, "H5Sget_dims");
+ rank=H5Sextent_ndims(space);
+ VERIFY(rank, ATTR2_RANK, "H5Sextent_ndims");
+ ret=H5Sextent_dims(space,dims, NULL);
+ CHECK(ret, FAIL, "H5Sextent_dims");
if(dims[0]!=ATTR2_DIM1) {
printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR2_DIM1);
num_errs++;
@@ -924,10 +924,10 @@ test_attr_mult_read(void)
/* Verify Dataspace */
space=H5Aget_space(attr);
CHECK(space, FAIL, "H5Aget_space");
- rank=H5Sget_ndims(space);
- VERIFY(rank, ATTR3_RANK, "H5Sget_ndims");
- ret=H5Sget_dims(space,dims, NULL);
- CHECK(ret, FAIL, "H5Sget_dims");
+ rank=H5Sextent_ndims(space);
+ VERIFY(rank, ATTR3_RANK, "H5Sextent_ndims");
+ ret=H5Sextent_dims(space,dims, NULL);
+ CHECK(ret, FAIL, "H5Sextent_dims");
if(dims[0]!=ATTR3_DIM1) {
printf("attribute dimensions different: dims[0]=%d, should be %d\n",(int)dims[0],ATTR3_DIM1);
num_errs++;