summaryrefslogtreecommitdiffstats
path: root/c++/test/tobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/tobject.cpp')
-rw-r--r--c++/test/tobject.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/c++/test/tobject.cpp b/c++/test/tobject.cpp
index bfc13a0..537716f 100644
--- a/c++/test/tobject.cpp
+++ b/c++/test/tobject.cpp
@@ -545,7 +545,7 @@ static void test_getobjectinfo_same_file()
H5O_info_t oinfo1, oinfo2; /* Object info structs */
// Output message about test being performed
- SUBTEST("Group::getInfo");
+ SUBTEST("Group::getObjinfo");
try {
// Create a new HDF5 file
@@ -561,9 +561,9 @@ static void test_getobjectinfo_same_file()
// Query the info of two groups and verify that they have the same
// file number
- grp1.getInfo(oinfo1);
- grp2.getInfo(oinfo2);
- verify_val(oinfo1.fileno, oinfo2.fileno, "file number from getInfo", __LINE__, __FILE__);
+ grp1.getObjinfo(oinfo1);
+ grp2.getObjinfo(oinfo2);
+ verify_val(oinfo1.fileno, oinfo2.fileno, "file number from getObjinfo", __LINE__, __FILE__);
// Close groups and file
grp1.close();
@@ -584,17 +584,17 @@ static void test_getobjectinfo_same_file()
// Query the info of two groups and verify that they have the same
// file number
- grp1.getInfo(oinfo1);
- grp2.getInfo(oinfo2);
- verify_val(oinfo1.fileno, oinfo2.fileno, "file number from getInfo", __LINE__, __FILE__);
+ grp1.getObjinfo(oinfo1);
+ grp2.getObjinfo(oinfo2);
+ verify_val(oinfo1.fileno, oinfo2.fileno, "file number from getObjinfo", __LINE__, __FILE__);
// Reset object info
HDmemset(&oinfo1, 0, sizeof(oinfo1));
HDmemset(&oinfo2, 0, sizeof(oinfo2));
- file1.getInfo(GROUP1NAME, oinfo1);
- file1.getInfo(GROUP2NAME, oinfo2);
+ file1.getObjinfo(GROUP1NAME, oinfo1);
+ file1.getObjinfo(GROUP2NAME, oinfo2);
verify_val(oinfo1.fileno, oinfo2.fileno, "file number from getObjectInfo", __LINE__, __FILE__);
// Close groups and files