diff options
Diffstat (limited to 'test/API/H5_api_group_test.h')
-rw-r--r-- | test/API/H5_api_group_test.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/test/API/H5_api_group_test.h b/test/API/H5_api_group_test.h new file mode 100644 index 0000000..baf14c8 --- /dev/null +++ b/test/API/H5_api_group_test.h @@ -0,0 +1,65 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Copyright by The HDF Group. * + * All rights reserved. * + * * + * This file is part of HDF5. The full HDF5 copyright notice, including * + * terms governing use, modification, and redistribution, is contained in * + * the COPYING file, which can be found at the root of the source code * + * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. * + * If you do not have access to either file, you may request a copy from * + * help@hdfgroup.org. * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +#ifndef H5_API_GROUP_TEST_H +#define H5_API_GROUP_TEST_H + +#include "H5_api_test.h" + +int H5_api_group_test(void); + +/********************************************** + * * + * API Group test defines * + * * + **********************************************/ + +#define GROUP_CREATE_UNDER_ROOT_GNAME "/group_under_root" + +#define GROUP_CREATE_UNDER_GROUP_REL_GNAME "child_group" +#define GROUP_CREATE_UNDER_GROUP_ABS_GNAME "child_group/grandchild_group" + +#define GROUP_CREATE_INVALID_PARAMS_GROUP_NAME "/invalid_params_group" + +#define GROUP_CREATE_ANONYMOUS_GROUP_NAME "anon_group" + +#define GROUP_CREATE_INTMD_REL_INTMD_NAME "rel_intmd" +#define GROUP_CREATE_INTMD_REL_END_NAME "rel_end" +#define GROUP_CREATE_INTMD_ABS_INTMD_NAME "abs_intmd" +#define GROUP_CREATE_INTMD_ABS_END_NAME "abs_end" +#define GROUP_CREATE_INTMD_MULT_INTMD1_NAME "mult_intmd1" +#define GROUP_CREATE_INTMD_MULT_INTMD2_NAME "mult_intmd2" +#define GROUP_CREATE_INTMD_MULT_END_NAME "mult_end" + +#define OPEN_NONEXISTENT_GROUP_TEST_GNAME "/nonexistent_group" + +#define GROUP_PROPERTY_LIST_TEST_GROUP_NAME1 "property_list_test_group1" +#define GROUP_PROPERTY_LIST_TEST_GROUP_NAME2 "property_list_test_group2" +#define GROUP_PROPERTY_LIST_TEST_DUMMY_VAL H5P_CRT_ORDER_TRACKED + +#define GROUP_GET_INFO_TEST_GROUP_NAME "group_info_test" +#define GROUP_GET_INFO_TEST_GROUP_NUMB 16 + +#define GROUP_FLUSH_GNAME "group_flush_test" + +#define GROUP_REFRESH_GNAME "group_refresh_test" + +#define NAME_BUF_SIZE 64 +#define GROUP_NUMB 16 + +#define MANY_GROUP_CREATIONS_GNAME "home_for_many_groups" +#define GROUP_NUMB_MANY 100u + +#define DEEP_GROUP_CREATIONS_GNAME "home_for_deep_groups" +#define GROUP_DEPTH 100u + +#endif |