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.cpp27
1 files changed, 6 insertions, 21 deletions
diff --git a/c++/test/tobject.cpp b/c++/test/tobject.cpp
index 696783d..741c628 100644
--- a/c++/test/tobject.cpp
+++ b/c++/test/tobject.cpp
@@ -57,9 +57,6 @@ const H5std_string DSET_IN_GRP1_2_PATH("/Top Group/Sub-Group 1.2/Dataset_in_Grou
*
* Return Success: 0
* Failure: -1
- *
- * Programmer Binh-Minh Ribler
- * Friday, March 4, 2014
*-------------------------------------------------------------------------
*/
static void
@@ -159,9 +156,6 @@ test_get_objname()
*
* Return Success: 0
* Failure: -1
- *
- * Programmer Binh-Minh Ribler
- * Friday, March 4, 2014
*-------------------------------------------------------------------------
*/
static void
@@ -242,9 +236,6 @@ test_existance()
*
* Return Success: 0
* Failure: -1
- *
- * Programmer Binh-Minh Ribler
- * March 4, 2014
*-------------------------------------------------------------------------
*/
static void
@@ -341,9 +332,6 @@ test_get_objname_ontypes()
*
* Return Success: 0
* Failure: -1
- *
- * Programmer Binh-Minh Ribler
- * Friday, March 4, 2014
*-------------------------------------------------------------------------
*/
static void
@@ -406,9 +394,6 @@ test_get_objtype()
* Purpose Test Group::getObjId function.
*
* Return None
- *
- * Programmer Binh-Minh Ribler (use C version)
- * March, 2017
*-------------------------------------------------------------------------
*/
const H5std_string GROUPNAME("group");
@@ -551,8 +536,8 @@ test_getobjectinfo_same_file()
Group grp2(file1.createGroup(GROUP2NAME));
// Reset object info
- HDmemset(&oinfo1, 0, sizeof(oinfo1));
- HDmemset(&oinfo2, 0, sizeof(oinfo2));
+ memset(&oinfo1, 0, sizeof(oinfo1));
+ memset(&oinfo2, 0, sizeof(oinfo2));
// Query the info of two groups and verify that they have the same
// file number
@@ -574,8 +559,8 @@ test_getobjectinfo_same_file()
grp2 = file2.openGroup(GROUP2NAME);
// Reset object info
- HDmemset(&oinfo1, 0, sizeof(oinfo1));
- HDmemset(&oinfo2, 0, sizeof(oinfo2));
+ memset(&oinfo1, 0, sizeof(oinfo1));
+ memset(&oinfo2, 0, sizeof(oinfo2));
// Query the info of two groups and verify that they have the same
// file number
@@ -584,8 +569,8 @@ test_getobjectinfo_same_file()
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));
+ memset(&oinfo1, 0, sizeof(oinfo1));
+ memset(&oinfo2, 0, sizeof(oinfo2));
file1.getObjinfo(GROUP1NAME, oinfo1);
file1.getObjinfo(GROUP2NAME, oinfo2);