mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r18690] Description:
Added #ifndef H5_NO_DEPRECATED_SYMBOLS to getObjTypeByIdx tests. Platforms tested: amani - with --disable-deprecated-symbols
This commit is contained in:
parent
3bfd4dd393
commit
8cd42a8925
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user