summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2010-05-03 16:04:45 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2010-05-03 16:04:45 (GMT)
commit8cd42a8925938657f10dfa28d69dd289adba4daf (patch)
tree879a19c7d4e64ad3b9d3b1205a1a816dec818984 /c++
parent3bfd4dd3937c2996296e93f8f248c7c30d90ce4b (diff)
downloadhdf5-8cd42a8925938657f10dfa28d69dd289adba4daf.zip
hdf5-8cd42a8925938657f10dfa28d69dd289adba4daf.tar.gz
hdf5-8cd42a8925938657f10dfa28d69dd289adba4daf.tar.bz2
[svn-r18690] Description:
Added #ifndef H5_NO_DEPRECATED_SYMBOLS to getObjTypeByIdx tests. Platforms tested: amani - with --disable-deprecated-symbols
Diffstat (limited to 'c++')
-rw-r--r--c++/test/trefer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/test/trefer.cpp b/c++/test/trefer.cpp
index d17e6e3..aeb202a 100644
--- a/c++/test/trefer.cpp
+++ b/c++/test/trefer.cpp
@@ -249,6 +249,7 @@ static void test_reference_obj(void)
verify_val(name, DSET1_NAME, "Group::getObjnameByIdx(index,(char*)buf,buf_len)", __LINE__, __FILE__);
verify_val(name_size, DSET1_LEN, "Group::getObjnameByIdx(index,(char*)buf,buf_len)", __LINE__, __FILE__);
+#ifndef H5_NO_DEPRECATED_SYMBOLS
// Test getting the type of objects
// Test getObjTypeByIdx(hsize_t idx)
@@ -269,6 +270,8 @@ static void test_reference_obj(void)
verify_val(obj_type, H5G_DATASET, "Group::getObjTypeByIdx(index, (char*)name)", __LINE__, __FILE__);
verify_val(type_name, "dataset", "Group::getObjTypeByIdx(index, (char*)name)", __LINE__, __FILE__);
+#endif // ifndef H5_NO_DEPRECATED_SYMBOLS
+
// Close group
group.close();