summaryrefslogtreecommitdiffstats
path: root/c++/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-02-04 22:50:45 (GMT)
committerGitHub <noreply@github.com>2022-02-04 22:50:45 (GMT)
commitc9347450c11edc8d73542a6244333d04f3462045 (patch)
treea45bb57589810bc7aa618663d5ab8ac3ef70ced7 /c++/test
parent36d9a165e428eb883f9fd72b6707555536292845 (diff)
downloadhdf5-c9347450c11edc8d73542a6244333d04f3462045.zip
hdf5-c9347450c11edc8d73542a6244333d04f3462045.tar.gz
hdf5-c9347450c11edc8d73542a6244333d04f3462045.tar.bz2
Implemented suggestion in #1381 for dtransform test (#1415)
* Implemented suggestion in #1380 * fix typo * Use differently named files in tests * format fix * Revise comments * fic typos * Change test display and file name
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/titerate.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/c++/test/titerate.cpp b/c++/test/titerate.cpp
index bc4d892..57761ea 100644
--- a/c++/test/titerate.cpp
+++ b/c++/test/titerate.cpp
@@ -351,7 +351,7 @@ test_iter_group(FileAccPropList &fapl)
* Purpose Open an attribute and verify that it has a the correct name
*-------------------------------------------------------------------------
*/
-const H5std_string FILE_NAME("titerate.h5");
+const H5std_string FILE_NAME("test_member_access.h5");
const H5std_string GRP_NAME("/Group_A");
const H5std_string FDATASET_NAME("file dset");
const H5std_string GDATASET_NAME("group dset");
@@ -396,6 +396,9 @@ test_HDFFV_9920()
int attr_data[2] = {100, 200};
hsize_t dims[1] = {DIM1};
+ /* Output message about test being performed */
+ SUBTEST("Member access");
+
try {
// Create a new file and a group in it
H5File file(FILE_NAME, H5F_ACC_TRUNC);
@@ -425,6 +428,7 @@ test_HDFFV_9920()
printelems(file, FDATASET_NAME, FATTR_NAME);
printelems(gr1, GDATASET_NAME, GATTR_NAME);
+ PASSED();
} // end of try block
// Catch all failures for handling in the same way
@@ -473,4 +477,5 @@ extern "C" void
cleanup_iterate()
{
HDremove(FILE_ITERATE.c_str());
+ HDremove(FILE_NAME.c_str());
} // cleanup_iterate