hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

Add tests for H5R get name APIs

Open bmribler opened this issue 1 year ago • 0 comments

This PR adds functionality tests for the following APIs: H5Rget_file_name H5Rget_obj_name H5Rget_attr_name

It also removes a "+1" when returning a name length in H5R__get_attr_name(). This extra "+1" gave an incorrect value for the length of the referenced object's attribute name. In addition, the PR provides some minor improvement in readability and maintainability.

(Fixed GH-4447)

bmribler avatar Jul 17 '24 04:07 bmribler