diff --git a/test/API/H5_api_async_test.c b/test/API/H5_api_async_test.c index 353d97cf040..318438a6306 100644 --- a/test/API/H5_api_async_test.c +++ b/test/API/H5_api_async_test.c @@ -2695,37 +2695,29 @@ void H5_api_async_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_async_test_header", print_async_test_header, NULL, NULL, - NULL, 0, "Prints header for async tests"); - - AddTest("test_one_dataset_io", test_one_dataset_io, NULL, NULL, - NULL, 0, "single dataset I/O"); - AddTest("test_multi_dataset_io", test_multi_dataset_io, NULL, NULL, - NULL, 0, "multi dataset I/O"); - AddTest("test_multi_file_dataset_io", test_multi_file_dataset_io, NULL, NULL, - NULL, 0, "multi file dataset I/O"); - AddTest("test_multi_file_grp_dset_io", test_multi_file_grp_dset_io, NULL, NULL, - NULL, 0, "multi file dataset I/O with groups"); - AddTest("test_set_extent", test_set_extent, NULL, NULL, NULL, 0, - "H5Dset_extent() and H5Dget_space()"); - AddTest("test_attribute_exists", test_attribute_exists, NULL, NULL, - NULL, 0, "H5Aexists()"); - AddTest("test_attribute_io", test_attribute_io, NULL, NULL, - NULL, 0, "attribute I/O"); - AddTest("test_attribute_io_tconv", test_attribute_io_tconv, NULL, NULL, - NULL, 0, "attribute I/O with type conversion"); - AddTest("test_attribute_io_compound", test_attribute_io_compound, NULL, NULL, - NULL, 0, "attribute I/O with compound type conversion"); + AddTest("print_async_test_header", print_async_test_header, NULL, NULL, NULL, 0, + "Prints header for async tests"); + + AddTest("test_one_dataset_io", test_one_dataset_io, NULL, NULL, NULL, 0, "single dataset I/O"); + AddTest("test_multi_dataset_io", test_multi_dataset_io, NULL, NULL, NULL, 0, "multi dataset I/O"); + AddTest("test_multi_file_dataset_io", test_multi_file_dataset_io, NULL, NULL, NULL, 0, + "multi file dataset I/O"); + AddTest("test_multi_file_grp_dset_io", test_multi_file_grp_dset_io, NULL, NULL, NULL, 0, + "multi file dataset I/O with groups"); + AddTest("test_set_extent", test_set_extent, NULL, NULL, NULL, 0, "H5Dset_extent() and H5Dget_space()"); + AddTest("test_attribute_exists", test_attribute_exists, NULL, NULL, NULL, 0, "H5Aexists()"); + AddTest("test_attribute_io", test_attribute_io, NULL, NULL, NULL, 0, "attribute I/O"); + AddTest("test_attribute_io_tconv", test_attribute_io_tconv, NULL, NULL, NULL, 0, + "attribute I/O with type conversion"); + AddTest("test_attribute_io_compound", test_attribute_io_compound, NULL, NULL, NULL, 0, + "attribute I/O with compound type conversion"); AddTest("test_group", test_group, NULL, NULL, NULL, 0, "group operations"); AddTest("test_link", test_link, NULL, NULL, NULL, 0, "link operations"); - AddTest("test_ocopy_orefresh", test_ocopy_orefresh, NULL, NULL, NULL, 0, - "H5Ocopy() and H5Orefresh()"); - AddTest("test_file_reopen", test_file_reopen, NULL, NULL, - NULL, 0, "H5Freopen()"); + AddTest("test_ocopy_orefresh", test_ocopy_orefresh, NULL, NULL, NULL, 0, "H5Ocopy() and H5Orefresh()"); + AddTest("test_file_reopen", test_file_reopen, NULL, NULL, NULL, 0, "H5Freopen()"); /* Add a fake test to cleanup test files due to current test interdependencies */ - AddTest("test_file_cleanup", test_file_cleanup, NULL, NULL, - NULL, 0, "cleanup test files"); + AddTest("test_file_cleanup", test_file_cleanup, NULL, NULL, NULL, 0, "cleanup test files"); } #else /* H5_API_TEST_HAVE_ASYNC */ @@ -2734,8 +2726,8 @@ void H5_api_async_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_async_test_header", print_async_test_header, NULL, NULL, - NULL, 0, "Prints header for async tests"); + AddTest("print_async_test_header", print_async_test_header, NULL, NULL, NULL, 0, + "Prints header for async tests"); } #endif /* H5_API_TEST_HAVE_ASYNC */ diff --git a/test/API/H5_api_attribute_test.c b/test/API/H5_api_attribute_test.c index 8dc052208ce..d508889ae31 100644 --- a/test/API/H5_api_attribute_test.c +++ b/test/API/H5_api_attribute_test.c @@ -11555,85 +11555,83 @@ void H5_api_attribute_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_attribute_test_header", print_attribute_test_header, - NULL, NULL, NULL, 0, "Prints header for attribute tests"); - - AddTest("test_create_attribute_on_root", test_create_attribute_on_root, - NULL, NULL, NULL, 0, "attribute creation on the root group"); - AddTest("test_create_attribute_on_dataset", test_create_attribute_on_dataset, - NULL, NULL, NULL, 0, "attribute creation on a dataset"); - AddTest("test_create_attribute_on_datatype", test_create_attribute_on_datatype, - NULL, NULL, NULL, 0, "attribute creation on a committed datatype"); - AddTest("test_create_attribute_with_null_space", test_create_attribute_with_null_space, - NULL, NULL, NULL, 0, "attribute creation with a NULL dataspace"); - AddTest("test_create_attribute_with_scalar_space", test_create_attribute_with_scalar_space, - NULL, NULL, NULL, 0, "attribute creation with a SCALAR dataspace"); - AddTest("test_create_attribute_with_space_in_name", test_create_attribute_with_space_in_name, - NULL, NULL, NULL, 0, "attribute creation with a space in attribute's name"); - AddTest("test_create_attribute_invalid_params", test_create_attribute_invalid_params, - NULL, NULL, NULL, 0, "attribute creation with invalid parameters"); + AddTest("print_attribute_test_header", print_attribute_test_header, NULL, NULL, NULL, 0, + "Prints header for attribute tests"); + + AddTest("test_create_attribute_on_root", test_create_attribute_on_root, NULL, NULL, NULL, 0, + "attribute creation on the root group"); + AddTest("test_create_attribute_on_dataset", test_create_attribute_on_dataset, NULL, NULL, NULL, 0, + "attribute creation on a dataset"); + AddTest("test_create_attribute_on_datatype", test_create_attribute_on_datatype, NULL, NULL, NULL, 0, + "attribute creation on a committed datatype"); + AddTest("test_create_attribute_with_null_space", test_create_attribute_with_null_space, NULL, NULL, NULL, + 0, "attribute creation with a NULL dataspace"); + AddTest("test_create_attribute_with_scalar_space", test_create_attribute_with_scalar_space, NULL, NULL, + NULL, 0, "attribute creation with a SCALAR dataspace"); + AddTest("test_create_attribute_with_space_in_name", test_create_attribute_with_space_in_name, NULL, NULL, + NULL, 0, "attribute creation with a space in attribute's name"); + AddTest("test_create_attribute_invalid_params", test_create_attribute_invalid_params, NULL, NULL, NULL, 0, + "attribute creation with invalid parameters"); AddTest("test_open_attribute", test_open_attribute, NULL, NULL, NULL, 0, "attribute opening"); - AddTest("test_open_attribute_invalid_params", test_open_attribute_invalid_params, - NULL, NULL, NULL, 0, "attribute opening with invalid parameters"); + AddTest("test_open_attribute_invalid_params", test_open_attribute_invalid_params, NULL, NULL, NULL, 0, + "attribute opening with invalid parameters"); AddTest("test_write_attribute", test_write_attribute, NULL, NULL, NULL, 0, "H5Awrite"); - AddTest("test_write_attribute_invalid_params", test_write_attribute_invalid_params, - NULL, NULL, NULL, 0, "H5Awrite with invalid parameters"); + AddTest("test_write_attribute_invalid_params", test_write_attribute_invalid_params, NULL, NULL, NULL, 0, + "H5Awrite with invalid parameters"); AddTest("test_read_attribute", test_read_attribute, NULL, NULL, NULL, 0, "H5Aread"); - AddTest("test_read_attribute_invalid_params", test_read_attribute_invalid_params, - NULL, NULL, NULL, 0, "H5Aread with invalid parameters"); - AddTest("test_read_empty_attribute", test_read_empty_attribute, - NULL, NULL, NULL, 0, "reading an empty attribute"); - AddTest("test_close_attribute_invalid_id", test_close_attribute_invalid_id, - NULL, NULL, NULL, 0, "H5Aclose with an invalid attribute ID"); - AddTest("test_get_attribute_space_and_type", test_get_attribute_space_and_type, - NULL, NULL, NULL, 0, "retrieval of an attribute's dataspace and datatype"); + AddTest("test_read_attribute_invalid_params", test_read_attribute_invalid_params, NULL, NULL, NULL, 0, + "H5Aread with invalid parameters"); + AddTest("test_read_empty_attribute", test_read_empty_attribute, NULL, NULL, NULL, 0, + "reading an empty attribute"); + AddTest("test_close_attribute_invalid_id", test_close_attribute_invalid_id, NULL, NULL, NULL, 0, + "H5Aclose with an invalid attribute ID"); + AddTest("test_get_attribute_space_and_type", test_get_attribute_space_and_type, NULL, NULL, NULL, 0, + "retrieval of an attribute's dataspace and datatype"); AddTest("test_get_attribute_space_and_type_invalid_params", - test_get_attribute_space_and_type_invalid_params, - NULL, NULL, NULL, 0, "H5Aget_type/H5Aget_space with invalid parameters"); - AddTest("test_attribute_property_lists", test_attribute_property_lists, - NULL, NULL, NULL, 0, "attribute property list operations"); - AddTest("test_get_attribute_name", test_get_attribute_name, NULL, NULL, - NULL, 0, "retrieval of an attribute's name"); - AddTest("test_get_attribute_name_invalid_params", test_get_attribute_name_invalid_params, - NULL, NULL, NULL, 0, "retrieval of an attribute's name with invalid parameters"); - AddTest("test_get_attribute_storage_size", test_get_attribute_storage_size, - NULL, NULL, NULL, 0, "H5Aget_storage_size"); + test_get_attribute_space_and_type_invalid_params, NULL, NULL, NULL, 0, + "H5Aget_type/H5Aget_space with invalid parameters"); + AddTest("test_attribute_property_lists", test_attribute_property_lists, NULL, NULL, NULL, 0, + "attribute property list operations"); + AddTest("test_get_attribute_name", test_get_attribute_name, NULL, NULL, NULL, 0, + "retrieval of an attribute's name"); + AddTest("test_get_attribute_name_invalid_params", test_get_attribute_name_invalid_params, NULL, NULL, + NULL, 0, "retrieval of an attribute's name with invalid parameters"); + AddTest("test_get_attribute_storage_size", test_get_attribute_storage_size, NULL, NULL, NULL, 0, + "H5Aget_storage_size"); AddTest("test_get_attribute_info", test_get_attribute_info, NULL, NULL, NULL, 0, "retrieval of attribute info"); - AddTest("test_get_attribute_info_invalid_params", test_get_attribute_info_invalid_params, - NULL, NULL, NULL, 0, "retrieval of attribute info with invalid parameters"); - AddTest("test_rename_attribute", test_rename_attribute, NULL, NULL, NULL, 0, - "attribute renaming"); - AddTest("test_rename_attribute_invalid_params", test_rename_attribute_invalid_params, - NULL, NULL, NULL, 0, "attribute renaming with invalid parameters"); - AddTest("test_attribute_iterate_group", test_attribute_iterate_group, - NULL, NULL, NULL, 0, "attribute iteration on a group"); - AddTest("test_attribute_iterate_dataset", test_attribute_iterate_dataset, - NULL, NULL, NULL, 0, "attribute iteration on a dataset"); - AddTest("test_attribute_iterate_datatype", test_attribute_iterate_datatype, - NULL, NULL, NULL, 0, "attribute iteration on a committed datatype"); - AddTest("test_attribute_iterate_index_saving", test_attribute_iterate_index_saving, - NULL, NULL, NULL, 0, "attribute iteration index saving capability"); - AddTest("test_attribute_iterate_invalid_params", test_attribute_iterate_invalid_params, - NULL, NULL, NULL, 0, "attribute iteration with invalid parameters"); - AddTest("test_attribute_iterate_0_attributes", test_attribute_iterate_0_attributes, - NULL, NULL, NULL, 0, "attribute iteration on object with 0 attributes"); - AddTest("test_attribute_compound_subset", test_attribute_compound_subset, - NULL, NULL, NULL, 0, + AddTest("test_get_attribute_info_invalid_params", test_get_attribute_info_invalid_params, NULL, NULL, + NULL, 0, "retrieval of attribute info with invalid parameters"); + AddTest("test_rename_attribute", test_rename_attribute, NULL, NULL, NULL, 0, "attribute renaming"); + AddTest("test_rename_attribute_invalid_params", test_rename_attribute_invalid_params, NULL, NULL, NULL, 0, + "attribute renaming with invalid parameters"); + AddTest("test_attribute_iterate_group", test_attribute_iterate_group, NULL, NULL, NULL, 0, + "attribute iteration on a group"); + AddTest("test_attribute_iterate_dataset", test_attribute_iterate_dataset, NULL, NULL, NULL, 0, + "attribute iteration on a dataset"); + AddTest("test_attribute_iterate_datatype", test_attribute_iterate_datatype, NULL, NULL, NULL, 0, + "attribute iteration on a committed datatype"); + AddTest("test_attribute_iterate_index_saving", test_attribute_iterate_index_saving, NULL, NULL, NULL, 0, + "attribute iteration index saving capability"); + AddTest("test_attribute_iterate_invalid_params", test_attribute_iterate_invalid_params, NULL, NULL, NULL, + 0, "attribute iteration with invalid parameters"); + AddTest("test_attribute_iterate_0_attributes", test_attribute_iterate_0_attributes, NULL, NULL, NULL, 0, + "attribute iteration on object with 0 attributes"); + AddTest("test_attribute_compound_subset", test_attribute_compound_subset, NULL, NULL, NULL, 0, "verification of attribute data using H5Awrite then H5Aread with compound type subsets"); - AddTest("test_attribute_string_encodings", test_attribute_string_encodings, - NULL, NULL, NULL, 0, "string encoding read/write correctness on attributes"); + AddTest("test_attribute_string_encodings", test_attribute_string_encodings, NULL, NULL, NULL, 0, + "string encoding read/write correctness on attributes"); AddTest("test_delete_attribute", test_delete_attribute, NULL, NULL, NULL, 0, "attribute deletion"); - AddTest("test_delete_attribute_invalid_params", test_delete_attribute_invalid_params, - NULL, NULL, NULL, 0, "attribute deletion with invalid parameters"); + AddTest("test_delete_attribute_invalid_params", test_delete_attribute_invalid_params, NULL, NULL, NULL, 0, + "attribute deletion with invalid parameters"); AddTest("test_attribute_exists", test_attribute_exists, NULL, NULL, NULL, 0, "attribute existence"); - AddTest("test_attribute_exists_invalid_params", test_attribute_exists_invalid_params, - NULL, NULL, NULL, 0, "attribute existence with invalid parameters"); - AddTest("test_attribute_duplicate_id", test_attribute_duplicate_id, - NULL, NULL, NULL, 0, "duplicated IDs for an attribute"); + AddTest("test_attribute_exists_invalid_params", test_attribute_exists_invalid_params, NULL, NULL, NULL, 0, + "attribute existence with invalid parameters"); + AddTest("test_attribute_duplicate_id", test_attribute_duplicate_id, NULL, NULL, NULL, 0, + "duplicated IDs for an attribute"); AddTest("test_attribute_many", test_attribute_many, NULL, NULL, NULL, 0, "creating many attributes"); - AddTest("test_get_number_attributes", test_get_number_attributes, - NULL, NULL, NULL, 0, "retrieval of the number of attributes on an object"); + AddTest("test_get_number_attributes", test_get_number_attributes, NULL, NULL, NULL, 0, + "retrieval of the number of attributes on an object"); AddTest("test_attr_shared_dtype", test_attr_shared_dtype, NULL, NULL, NULL, 0, "shared datatype for attributes"); } diff --git a/test/API/H5_api_dataset_test.c b/test/API/H5_api_dataset_test.c index 104f9d1778d..c88288bfd01 100644 --- a/test/API/H5_api_dataset_test.c +++ b/test/API/H5_api_dataset_test.c @@ -14261,155 +14261,151 @@ void H5_api_dataset_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_dataset_test_header", print_dataset_test_header, - NULL, NULL, NULL, 0, "Prints header for dataset tests"); - - AddTest("test_create_dataset_under_root", test_create_dataset_under_root, - NULL, NULL, NULL, 0, "dataset creation under root group"); - AddTest("test_create_dataset_under_existing_group", test_create_dataset_under_existing_group, - NULL, NULL, NULL, 0, "dataset creation under an existing group"); - AddTest("test_create_dataset_invalid_params", test_create_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dcreate with invalid parameters"); - AddTest("test_create_anonymous_dataset", test_create_anonymous_dataset, - NULL, NULL, NULL, 0, "anonymous dataset creation"); + AddTest("print_dataset_test_header", print_dataset_test_header, NULL, NULL, NULL, 0, + "Prints header for dataset tests"); + + AddTest("test_create_dataset_under_root", test_create_dataset_under_root, NULL, NULL, NULL, 0, + "dataset creation under root group"); + AddTest("test_create_dataset_under_existing_group", test_create_dataset_under_existing_group, NULL, NULL, + NULL, 0, "dataset creation under an existing group"); + AddTest("test_create_dataset_invalid_params", test_create_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dcreate with invalid parameters"); + AddTest("test_create_anonymous_dataset", test_create_anonymous_dataset, NULL, NULL, NULL, 0, + "anonymous dataset creation"); AddTest("test_create_anonymous_dataset_invalid_params", test_create_anonymous_dataset_invalid_params, NULL, NULL, NULL, 0, "anonymous dataset creation with invalid parameters"); - AddTest("test_create_dataset_null_space", test_create_dataset_null_space, - NULL, NULL, NULL, 0, "dataset creation with a NULL dataspace"); - AddTest("test_create_dataset_scalar_space", test_create_dataset_scalar_space, - NULL, NULL, NULL, 0, "dataset creation with a SCALAR dataspace"); - AddTest("test_create_zero_dim_dset", test_create_zero_dim_dset, - NULL, NULL, NULL, 0, "creation of 0-sized dataset"); - AddTest("test_create_dataset_random_shapes", test_create_dataset_random_shapes, - NULL, NULL, NULL, 0, "dataset creation with random dimension sizes"); - AddTest("test_create_dataset_predefined_types", test_create_dataset_predefined_types, - NULL, NULL, NULL, 0, "dataset creation with predefined datatypes"); - AddTest("test_create_dataset_string_types", test_create_dataset_string_types, - NULL, NULL, NULL, 0, "dataset creation with string types"); - AddTest("test_create_dataset_compound_types", test_create_dataset_compound_types, - NULL, NULL, NULL, 0, "dataset creation with compound datatypes"); - AddTest("test_create_dataset_enum_types", test_create_dataset_enum_types, - NULL, NULL, NULL, 0, "dataset creation with enum types"); - AddTest("test_create_dataset_array_types", test_create_dataset_array_types, - NULL, NULL, NULL, 0, "dataset creation with array types"); - AddTest("test_create_dataset_creation_properties", test_create_dataset_creation_properties, - NULL, NULL, NULL, 0, "dataset creation properties"); - AddTest("test_create_many_dataset", test_create_many_dataset, - NULL, NULL, NULL, 0, "creating many datasets"); + AddTest("test_create_dataset_null_space", test_create_dataset_null_space, NULL, NULL, NULL, 0, + "dataset creation with a NULL dataspace"); + AddTest("test_create_dataset_scalar_space", test_create_dataset_scalar_space, NULL, NULL, NULL, 0, + "dataset creation with a SCALAR dataspace"); + AddTest("test_create_zero_dim_dset", test_create_zero_dim_dset, NULL, NULL, NULL, 0, + "creation of 0-sized dataset"); + AddTest("test_create_dataset_random_shapes", test_create_dataset_random_shapes, NULL, NULL, NULL, 0, + "dataset creation with random dimension sizes"); + AddTest("test_create_dataset_predefined_types", test_create_dataset_predefined_types, NULL, NULL, NULL, 0, + "dataset creation with predefined datatypes"); + AddTest("test_create_dataset_string_types", test_create_dataset_string_types, NULL, NULL, NULL, 0, + "dataset creation with string types"); + AddTest("test_create_dataset_compound_types", test_create_dataset_compound_types, NULL, NULL, NULL, 0, + "dataset creation with compound datatypes"); + AddTest("test_create_dataset_enum_types", test_create_dataset_enum_types, NULL, NULL, NULL, 0, + "dataset creation with enum types"); + AddTest("test_create_dataset_array_types", test_create_dataset_array_types, NULL, NULL, NULL, 0, + "dataset creation with array types"); + AddTest("test_create_dataset_creation_properties", test_create_dataset_creation_properties, NULL, NULL, + NULL, 0, "dataset creation properties"); + AddTest("test_create_many_dataset", test_create_many_dataset, NULL, NULL, NULL, 0, + "creating many datasets"); AddTest("test_open_dataset", test_open_dataset, NULL, NULL, NULL, 0, "H5Dopen"); - AddTest("test_open_dataset_invalid_params", test_open_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dopen with invalid parameters"); - AddTest("test_close_dataset_invalid_params", test_close_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dclose with an invalid dataset ID"); - AddTest("test_get_dataset_space_and_type", test_get_dataset_space_and_type, - NULL, NULL, NULL, 0, "retrieval of a dataset's dataspace and datatype"); + AddTest("test_open_dataset_invalid_params", test_open_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dopen with invalid parameters"); + AddTest("test_close_dataset_invalid_params", test_close_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dclose with an invalid dataset ID"); + AddTest("test_get_dataset_space_and_type", test_get_dataset_space_and_type, NULL, NULL, NULL, 0, + "retrieval of a dataset's dataspace and datatype"); AddTest("test_get_dataset_space_and_type_invalid_params", test_get_dataset_space_and_type_invalid_params, NULL, NULL, NULL, 0, "H5Dget_type/H5Dget_space with invalid parameters"); - AddTest("test_get_dataset_space_status", test_get_dataset_space_status, - NULL, NULL, NULL, 0, "H5Dget_space_status"); + AddTest("test_get_dataset_space_status", test_get_dataset_space_status, NULL, NULL, NULL, 0, + "H5Dget_space_status"); AddTest("test_get_dataset_space_status_invalid_params", test_get_dataset_space_status_invalid_params, NULL, NULL, NULL, 0, "H5Dget_space_status with invalid parameters"); - AddTest("test_dataset_property_lists", test_dataset_property_lists, - NULL, NULL, NULL, 0, "dataset property list operations"); - AddTest("test_get_dataset_storage_size", test_get_dataset_storage_size, - NULL, NULL, NULL, 0, "H5Dget_storage_size"); + AddTest("test_dataset_property_lists", test_dataset_property_lists, NULL, NULL, NULL, 0, + "dataset property list operations"); + AddTest("test_get_dataset_storage_size", test_get_dataset_storage_size, NULL, NULL, NULL, 0, + "H5Dget_storage_size"); AddTest("test_get_dataset_storage_size_invalid_params", test_get_dataset_storage_size_invalid_params, NULL, NULL, NULL, 0, "H5Dget_storage_size with invalid parameters"); - AddTest("test_get_dataset_chunk_storage_size", test_get_dataset_chunk_storage_size, - NULL, NULL, NULL, 0, "H5Dget_chunk_storage_size"); + AddTest("test_get_dataset_chunk_storage_size", test_get_dataset_chunk_storage_size, NULL, NULL, NULL, 0, + "H5Dget_chunk_storage_size"); AddTest("test_get_dataset_chunk_storage_size_invalid_params", - test_get_dataset_chunk_storage_size_invalid_params, - NULL, NULL, NULL, 0, "H5Dget_chunk_storage_size with invalid parameters"); + test_get_dataset_chunk_storage_size_invalid_params, NULL, NULL, NULL, 0, + "H5Dget_chunk_storage_size with invalid parameters"); AddTest("test_get_dataset_offset", test_get_dataset_offset, NULL, NULL, NULL, 0, "H5Dget_offset"); - AddTest("test_get_dataset_offset_invalid_params", test_get_dataset_offset_invalid_params, - NULL, NULL, NULL, 0, "H5Dget_offset with invalid parameters"); - AddTest("test_read_dataset_small_all", test_read_dataset_small_all, - NULL, NULL, NULL, 0, "small read from dataset with H5S_ALL"); - AddTest("test_read_dataset_small_hyperslab", test_read_dataset_small_hyperslab, - NULL, NULL, NULL, 0, "small read from dataset with a hyperslab selection"); - AddTest("test_read_dataset_small_point_selection", test_read_dataset_small_point_selection, - NULL, NULL, NULL, 0, "small read from dataset with a point selection"); - AddTest("test_read_multi_dataset_small_all", test_read_multi_dataset_small_all, - NULL, NULL, NULL, 0, "small multi read from datasets with H5S_ALL"); - AddTest("test_read_multi_dataset_small_hyperslab", test_read_multi_dataset_small_hyperslab, - NULL, NULL, NULL, 0, "small multi read from datasets with a hyperslab selection"); + AddTest("test_get_dataset_offset_invalid_params", test_get_dataset_offset_invalid_params, NULL, NULL, + NULL, 0, "H5Dget_offset with invalid parameters"); + AddTest("test_read_dataset_small_all", test_read_dataset_small_all, NULL, NULL, NULL, 0, + "small read from dataset with H5S_ALL"); + AddTest("test_read_dataset_small_hyperslab", test_read_dataset_small_hyperslab, NULL, NULL, NULL, 0, + "small read from dataset with a hyperslab selection"); + AddTest("test_read_dataset_small_point_selection", test_read_dataset_small_point_selection, NULL, NULL, + NULL, 0, "small read from dataset with a point selection"); + AddTest("test_read_multi_dataset_small_all", test_read_multi_dataset_small_all, NULL, NULL, NULL, 0, + "small multi read from datasets with H5S_ALL"); + AddTest("test_read_multi_dataset_small_hyperslab", test_read_multi_dataset_small_hyperslab, NULL, NULL, + NULL, 0, "small multi read from datasets with a hyperslab selection"); AddTest("test_read_multi_dataset_small_point_selection", test_read_multi_dataset_small_point_selection, NULL, NULL, NULL, 0, "small multi read from datasets with point selections"); - AddTest("test_dataset_io_point_selections", test_dataset_io_point_selections, - NULL, NULL, NULL, 0, "point selection I/O with all selection in memory and points in file"); - AddTest("test_read_dataset_invalid_params", test_read_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dread with invalid parameters"); - AddTest("test_dataset_string_encodings", test_dataset_string_encodings, - NULL, NULL, NULL, 0, "string encoding read/write correctness on datasets"); - AddTest("test_write_dataset_small_all", test_write_dataset_small_all, - NULL, NULL, NULL, 0, "small write to dataset with H5S_ALL"); - AddTest("test_write_dataset_small_hyperslab", test_write_dataset_small_hyperslab, - NULL, NULL, NULL, 0, "small write to dataset with a hyperslab selection"); - AddTest("test_write_dataset_small_point_selection", test_write_dataset_small_point_selection, - NULL, NULL, NULL, 0, "small write to dataset with a point selection"); - AddTest("test_write_dataset_data_verification", test_write_dataset_data_verification, - NULL, NULL, NULL, 0, "verification of dataset data using H5Dwrite then H5Dread"); - AddTest("test_write_multi_dataset_small_all", test_write_multi_dataset_small_all, - NULL, NULL, NULL, 0, "small multi write to datasets with H5S_ALL"); - AddTest("test_write_multi_dataset_small_hyperslab", test_write_multi_dataset_small_hyperslab, - NULL, NULL, NULL, 0, "small multi write to datasets with hyperslab selections"); + AddTest("test_dataset_io_point_selections", test_dataset_io_point_selections, NULL, NULL, NULL, 0, + "point selection I/O with all selection in memory and points in file"); + AddTest("test_read_dataset_invalid_params", test_read_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dread with invalid parameters"); + AddTest("test_dataset_string_encodings", test_dataset_string_encodings, NULL, NULL, NULL, 0, + "string encoding read/write correctness on datasets"); + AddTest("test_write_dataset_small_all", test_write_dataset_small_all, NULL, NULL, NULL, 0, + "small write to dataset with H5S_ALL"); + AddTest("test_write_dataset_small_hyperslab", test_write_dataset_small_hyperslab, NULL, NULL, NULL, 0, + "small write to dataset with a hyperslab selection"); + AddTest("test_write_dataset_small_point_selection", test_write_dataset_small_point_selection, NULL, NULL, + NULL, 0, "small write to dataset with a point selection"); + AddTest("test_write_dataset_data_verification", test_write_dataset_data_verification, NULL, NULL, NULL, 0, + "verification of dataset data using H5Dwrite then H5Dread"); + AddTest("test_write_multi_dataset_small_all", test_write_multi_dataset_small_all, NULL, NULL, NULL, 0, + "small multi write to datasets with H5S_ALL"); + AddTest("test_write_multi_dataset_small_hyperslab", test_write_multi_dataset_small_hyperslab, NULL, NULL, + NULL, 0, "small multi write to datasets with hyperslab selections"); AddTest("test_write_multi_dataset_small_point_selection", test_write_multi_dataset_small_point_selection, NULL, NULL, NULL, 0, "small multi write to datasets with point selections"); - AddTest("test_write_multi_dataset_data_verification", test_write_multi_dataset_data_verification, - NULL, NULL, NULL, 0, "verification of datasets' data using H5Dwrite_multi then H5Dread_multi"); - AddTest("test_write_dataset_invalid_params", test_write_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dwrite with invalid parameters"); - AddTest("test_dataset_builtin_type_conversion", test_dataset_builtin_type_conversion, - NULL, NULL, NULL, 0, + AddTest("test_write_multi_dataset_data_verification", test_write_multi_dataset_data_verification, NULL, + NULL, NULL, 0, "verification of datasets' data using H5Dwrite_multi then H5Dread_multi"); + AddTest("test_write_dataset_invalid_params", test_write_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dwrite with invalid parameters"); + AddTest("test_dataset_builtin_type_conversion", test_dataset_builtin_type_conversion, NULL, NULL, NULL, 0, "verification of dataset data using H5Dwrite then H5Dread with type conversion of builtin types"); - AddTest("test_dataset_real_to_int_conversion", test_dataset_real_to_int_conversion, - NULL, NULL, NULL, 0, + AddTest("test_dataset_real_to_int_conversion", test_dataset_real_to_int_conversion, NULL, NULL, NULL, 0, "verification of dataset data using H5Dwrite then H5Dread with real <-> integer type conversion"); - AddTest("test_dataset_compound_partial_io", test_dataset_compound_partial_io, - NULL, NULL, NULL, 0, - "verification of dataset data using H5Dwrite then H5Dread with partial element compound type I/O"); - AddTest("test_dataset_vlen_io", test_dataset_vlen_io, - NULL, NULL, NULL, 0, - "verification of dataset data with H5Dwrite and then H5D read with variable length sequence data"); - AddTest("test_dataset_set_extent_chunked_unlimited", test_dataset_set_extent_chunked_unlimited, - NULL, NULL, NULL, 0, "H5Dset_extent on chunked dataset with unlimited dimensions"); - AddTest("test_dataset_set_extent_chunked_fixed", test_dataset_set_extent_chunked_fixed, - NULL, NULL, NULL, 0, "H5Dset_extent on chunked dataset with fixed dimensions"); - AddTest("test_dataset_set_extent_data", test_dataset_set_extent_data, - NULL, NULL, NULL, 0, "H5Dset_extent on data correctness"); - AddTest("test_dataset_set_extent_double_handles", test_dataset_set_extent_double_handles, - NULL, NULL, NULL, 0, "H5Dset_extent on double dataset handles"); - AddTest("test_dataset_set_extent_invalid_params", test_dataset_set_extent_invalid_params, - NULL, NULL, NULL, 0, "H5Dset_extent with invalid parameters"); + AddTest( + "test_dataset_compound_partial_io", test_dataset_compound_partial_io, NULL, NULL, NULL, 0, + "verification of dataset data using H5Dwrite then H5Dread with partial element compound type I/O"); + AddTest( + "test_dataset_vlen_io", test_dataset_vlen_io, NULL, NULL, NULL, 0, + "verification of dataset data with H5Dwrite and then H5D read with variable length sequence data"); + AddTest("test_dataset_set_extent_chunked_unlimited", test_dataset_set_extent_chunked_unlimited, NULL, + NULL, NULL, 0, "H5Dset_extent on chunked dataset with unlimited dimensions"); + AddTest("test_dataset_set_extent_chunked_fixed", test_dataset_set_extent_chunked_fixed, NULL, NULL, NULL, + 0, "H5Dset_extent on chunked dataset with fixed dimensions"); + AddTest("test_dataset_set_extent_data", test_dataset_set_extent_data, NULL, NULL, NULL, 0, + "H5Dset_extent on data correctness"); + AddTest("test_dataset_set_extent_double_handles", test_dataset_set_extent_double_handles, NULL, NULL, + NULL, 0, "H5Dset_extent on double dataset handles"); + AddTest("test_dataset_set_extent_invalid_params", test_dataset_set_extent_invalid_params, NULL, NULL, + NULL, 0, "H5Dset_extent with invalid parameters"); AddTest("test_flush_dataset", test_flush_dataset, NULL, NULL, NULL, 0, "H5Dflush"); - AddTest("test_flush_dataset_invalid_params", test_flush_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Dflush with invalid parameters"); + AddTest("test_flush_dataset_invalid_params", test_flush_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Dflush with invalid parameters"); AddTest("test_refresh_dataset", test_refresh_dataset, NULL, NULL, NULL, 0, "H5Drefresh"); - AddTest("test_refresh_dataset_invalid_params", test_refresh_dataset_invalid_params, - NULL, NULL, NULL, 0, "H5Drefresh with invalid parameters"); - AddTest("test_create_single_chunk_dataset", test_create_single_chunk_dataset, - NULL, NULL, NULL, 0, "creation of dataset with single chunk"); - AddTest("test_write_single_chunk_dataset", test_write_single_chunk_dataset, - NULL, NULL, NULL, 0, "write to dataset with single chunk"); - AddTest("test_create_multi_chunk_dataset", test_create_multi_chunk_dataset, - NULL, NULL, NULL, 0, "creation of dataset with multiple chunks"); + AddTest("test_refresh_dataset_invalid_params", test_refresh_dataset_invalid_params, NULL, NULL, NULL, 0, + "H5Drefresh with invalid parameters"); + AddTest("test_create_single_chunk_dataset", test_create_single_chunk_dataset, NULL, NULL, NULL, 0, + "creation of dataset with single chunk"); + AddTest("test_write_single_chunk_dataset", test_write_single_chunk_dataset, NULL, NULL, NULL, 0, + "write to dataset with single chunk"); + AddTest("test_create_multi_chunk_dataset", test_create_multi_chunk_dataset, NULL, NULL, NULL, 0, + "creation of dataset with multiple chunks"); AddTest("test_write_multi_chunk_dataset_same_shape_read", test_write_multi_chunk_dataset_same_shape_read, NULL, NULL, NULL, 0, "write to dataset with multiple chunks using same shaped dataspaces"); AddTest("test_write_multi_chunk_dataset_diff_shape_read", test_write_multi_chunk_dataset_diff_shape_read, NULL, NULL, NULL, 0, "write to dataset with multiple chunks using differently shaped dataspaces"); AddTest("test_overwrite_multi_chunk_dataset_same_shape_read", - test_overwrite_multi_chunk_dataset_same_shape_read, - NULL, NULL, NULL, 0, + test_overwrite_multi_chunk_dataset_same_shape_read, NULL, NULL, NULL, 0, "several overwrites to dataset with multiple chunks using same shaped dataspaces"); AddTest("test_overwrite_multi_chunk_dataset_diff_shape_read", - test_overwrite_multi_chunk_dataset_diff_shape_read, - NULL, NULL, NULL, 0, + test_overwrite_multi_chunk_dataset_diff_shape_read, NULL, NULL, NULL, 0, "several overwrites to dataset with multiple chunks using differently shaped dataspaces"); - AddTest("test_read_partial_chunk_all_selection", test_read_partial_chunk_all_selection, - NULL, NULL, NULL, 0, "reading a partial chunk using H5S_ALL for file dataspace"); - AddTest("test_read_partial_chunk_hyperslab_selection", test_read_partial_chunk_hyperslab_selection, - NULL, NULL, NULL, 0, "reading a partial chunk using a hyperslab selection in file dataspace"); - AddTest("test_read_partial_chunk_point_selection", test_read_partial_chunk_point_selection, - NULL, NULL, NULL, 0, "reading a partial chunk using a point selection in file dataspace"); + AddTest("test_read_partial_chunk_all_selection", test_read_partial_chunk_all_selection, NULL, NULL, NULL, + 0, "reading a partial chunk using H5S_ALL for file dataspace"); + AddTest("test_read_partial_chunk_hyperslab_selection", test_read_partial_chunk_hyperslab_selection, NULL, + NULL, NULL, 0, "reading a partial chunk using a hyperslab selection in file dataspace"); + AddTest("test_read_partial_chunk_point_selection", test_read_partial_chunk_point_selection, NULL, NULL, + NULL, 0, "reading a partial chunk using a point selection in file dataspace"); AddTest("test_get_vlen_buf_size", test_get_vlen_buf_size, NULL, NULL, NULL, 0, "H5Dvlen_get_buf_size"); } diff --git a/test/API/H5_api_datatype_test.c b/test/API/H5_api_datatype_test.c index 32dae16206d..968729df33e 100644 --- a/test/API/H5_api_datatype_test.c +++ b/test/API/H5_api_datatype_test.c @@ -2643,58 +2643,56 @@ void H5_api_datatype_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_datatype_test_header", print_datatype_test_header, - NULL, NULL, NULL, 0, "Prints header for datatype tests"); + AddTest("print_datatype_test_header", print_datatype_test_header, NULL, NULL, NULL, 0, + "Prints header for datatype tests"); - AddTest("test_create_committed_datatype", test_create_committed_datatype, - NULL, NULL, NULL, 0, "creation of a committed datatype"); + AddTest("test_create_committed_datatype", test_create_committed_datatype, NULL, NULL, NULL, 0, + "creation of a committed datatype"); AddTest("test_create_committed_datatype_invalid_params", test_create_committed_datatype_invalid_params, NULL, NULL, NULL, 0, "H5Tcommit2 with invalid parameters"); - AddTest("test_create_anonymous_committed_datatype", test_create_anonymous_committed_datatype, - NULL, NULL, NULL, 0, "creation of anonymous committed datatype"); + AddTest("test_create_anonymous_committed_datatype", test_create_anonymous_committed_datatype, NULL, NULL, + NULL, 0, "creation of anonymous committed datatype"); AddTest("test_create_anonymous_committed_datatype_invalid_params", - test_create_anonymous_committed_datatype_invalid_params, - NULL, NULL, NULL, 0, "H5Tcommit_anon with invalid parameters"); + test_create_anonymous_committed_datatype_invalid_params, NULL, NULL, NULL, 0, + "H5Tcommit_anon with invalid parameters"); #ifndef PROBLEMATIC_TESTS - AddTest("test_create_committed_datatype_empty_types", test_create_committed_datatype_empty_types, - NULL, NULL, NULL, 0, "creation of committed datatype with empty types"); + AddTest("test_create_committed_datatype_empty_types", test_create_committed_datatype_empty_types, NULL, + NULL, NULL, 0, "creation of committed datatype with empty types"); #endif - AddTest("test_recommit_committed_type", test_recommit_committed_type, - NULL, NULL, NULL, 0, "inability to re-commit a committed datatype"); - AddTest("test_open_committed_datatype", test_open_committed_datatype, - NULL, NULL, NULL, 0, "H5Topen2"); - AddTest("test_open_committed_datatype_invalid_params", test_open_committed_datatype_invalid_params, - NULL, NULL, NULL, 0, "H5Topen2 with invalid parameters"); - AddTest("test_reopen_committed_datatype_indirect", test_reopen_committed_datatype_indirect, - NULL, NULL, NULL, 0, "reopening open committed datatypes using H5Dget_type"); - AddTest("test_close_committed_datatype_invalid_id", test_close_committed_datatype_invalid_id, - NULL, NULL, NULL, 0, "H5Tclose with an invalid committed datatype ID"); - AddTest("test_datatype_property_lists", test_datatype_property_lists, - NULL, NULL, NULL, 0, "datatype property list operations"); - AddTest("test_create_dataset_with_committed_type", test_create_dataset_with_committed_type, - NULL, NULL, NULL, 0, "dataset creation with a committed datatype"); - AddTest("test_create_attribute_with_committed_type", test_create_attribute_with_committed_type, - NULL, NULL, NULL, 0, "attribute creation with a committed datatype"); - AddTest("test_delete_committed_type", test_delete_committed_type, NULL, NULL, - NULL, 0, "committed datatype deletion"); - AddTest("test_resurrect_datatype", test_resurrect_datatype, NULL, NULL, - NULL, 0, "resurrecting datatype after deletion"); - AddTest("test_flush_committed_datatype", test_flush_committed_datatype, - NULL, NULL, NULL, 0, "H5Tflush"); + AddTest("test_recommit_committed_type", test_recommit_committed_type, NULL, NULL, NULL, 0, + "inability to re-commit a committed datatype"); + AddTest("test_open_committed_datatype", test_open_committed_datatype, NULL, NULL, NULL, 0, "H5Topen2"); + AddTest("test_open_committed_datatype_invalid_params", test_open_committed_datatype_invalid_params, NULL, + NULL, NULL, 0, "H5Topen2 with invalid parameters"); + AddTest("test_reopen_committed_datatype_indirect", test_reopen_committed_datatype_indirect, NULL, NULL, + NULL, 0, "reopening open committed datatypes using H5Dget_type"); + AddTest("test_close_committed_datatype_invalid_id", test_close_committed_datatype_invalid_id, NULL, NULL, + NULL, 0, "H5Tclose with an invalid committed datatype ID"); + AddTest("test_datatype_property_lists", test_datatype_property_lists, NULL, NULL, NULL, 0, + "datatype property list operations"); + AddTest("test_create_dataset_with_committed_type", test_create_dataset_with_committed_type, NULL, NULL, + NULL, 0, "dataset creation with a committed datatype"); + AddTest("test_create_attribute_with_committed_type", test_create_attribute_with_committed_type, NULL, + NULL, NULL, 0, "attribute creation with a committed datatype"); + AddTest("test_delete_committed_type", test_delete_committed_type, NULL, NULL, NULL, 0, + "committed datatype deletion"); + AddTest("test_resurrect_datatype", test_resurrect_datatype, NULL, NULL, NULL, 0, + "resurrecting datatype after deletion"); + AddTest("test_flush_committed_datatype", test_flush_committed_datatype, NULL, NULL, NULL, 0, "H5Tflush"); AddTest("test_flush_committed_datatype_invalid_params", test_flush_committed_datatype_invalid_params, NULL, NULL, NULL, 0, "H5Tflush with invalid parameters"); - AddTest("test_refresh_committed_datatype", test_refresh_committed_datatype, - NULL, NULL, NULL, 0, "H5Trefresh"); + AddTest("test_refresh_committed_datatype", test_refresh_committed_datatype, NULL, NULL, NULL, 0, + "H5Trefresh"); AddTest("test_refresh_committed_datatype_invalid_params", test_refresh_committed_datatype_invalid_params, NULL, NULL, NULL, 0, "H5Trefresh with invalid parameters"); #ifndef PROBLEMATIC_TESTS - AddTest("test_cant_commit_predefined", test_cant_commit_predefined, - NULL, NULL, NULL, 0, "inability to commit predefined types directly"); + AddTest("test_cant_commit_predefined", test_cant_commit_predefined, NULL, NULL, NULL, 0, + "inability to commit predefined types directly"); #endif - AddTest("test_cant_modify_committed_type", test_cant_modify_committed_type, - NULL, NULL, NULL, 0, "inability to modify a committed datatype"); + AddTest("test_cant_modify_committed_type", test_cant_modify_committed_type, NULL, NULL, NULL, 0, + "inability to modify a committed datatype"); } diff --git a/test/API/H5_api_file_test.c b/test/API/H5_api_file_test.c index f51b70330bf..bdcb9e8f9a7 100644 --- a/test/API/H5_api_file_test.c +++ b/test/API/H5_api_file_test.c @@ -2537,35 +2537,33 @@ void H5_api_file_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_file_test_header", print_file_test_header, NULL, NULL, - NULL, 0, "Prints header for file tests"); + AddTest("print_file_test_header", print_file_test_header, NULL, NULL, NULL, 0, + "Prints header for file tests"); AddTest("test_create_file", test_create_file, NULL, NULL, NULL, 0, "H5Fcreate"); - AddTest("test_create_file_invalid_params", test_create_file_invalid_params, - NULL, NULL, NULL, 0, "H5Fcreate with invalid parameters"); - AddTest("test_create_file_excl", test_create_file_excl, NULL, NULL, - NULL, 0, "H5Fcreate with H5F_ACC_EXCL/H5F_ACC_TRUNC flag"); + AddTest("test_create_file_invalid_params", test_create_file_invalid_params, NULL, NULL, NULL, 0, + "H5Fcreate with invalid parameters"); + AddTest("test_create_file_excl", test_create_file_excl, NULL, NULL, NULL, 0, + "H5Fcreate with H5F_ACC_EXCL/H5F_ACC_TRUNC flag"); AddTest("test_open_file", test_open_file, NULL, NULL, NULL, 0, "H5Fopen"); - AddTest("test_open_file_invalid_params", test_open_file_invalid_params, - NULL, NULL, NULL, 0, "H5Fopen with invalid parameters"); - AddTest("test_open_nonexistent_file", test_open_nonexistent_file, - NULL, NULL, NULL, 0, "for invalid opening of a non-existent file"); - AddTest("test_file_open_overlap", test_file_open_overlap, NULL, NULL, - NULL, 0, "overlapping file opens"); - AddTest("test_file_permission", test_file_permission, NULL, NULL, - NULL, 0, "file permissions (invalid creation of objects in read-only file)"); + AddTest("test_open_file_invalid_params", test_open_file_invalid_params, NULL, NULL, NULL, 0, + "H5Fopen with invalid parameters"); + AddTest("test_open_nonexistent_file", test_open_nonexistent_file, NULL, NULL, NULL, 0, + "for invalid opening of a non-existent file"); + AddTest("test_file_open_overlap", test_file_open_overlap, NULL, NULL, NULL, 0, "overlapping file opens"); + AddTest("test_file_permission", test_file_permission, NULL, NULL, NULL, 0, + "file permissions (invalid creation of objects in read-only file)"); AddTest("test_reopen_file", test_reopen_file, NULL, NULL, NULL, 0, "re-open of a file with H5Freopen"); - AddTest("test_close_file_invalid_id", test_close_file_invalid_id, NULL, NULL, - NULL, 0, "H5Fclose with an invalid ID"); + AddTest("test_close_file_invalid_id", test_close_file_invalid_id, NULL, NULL, NULL, 0, + "H5Fclose with an invalid ID"); AddTest("test_flush_file", test_flush_file, NULL, NULL, NULL, 0, "H5Fflush"); - AddTest("test_file_is_accessible", test_file_is_accessible, NULL, NULL, - NULL, 0, "H5Fis_accessible"); - AddTest("test_file_property_lists", test_file_property_lists, NULL, NULL, - NULL, 0, "file property list operations"); - AddTest("test_get_file_intent", test_get_file_intent, NULL, NULL, - NULL, 0, "retrieval of file intent with H5Fget_intent"); - AddTest("test_get_file_obj_count", test_get_file_obj_count, NULL, NULL, - NULL, 0, "retrieval of open object number and IDs"); + AddTest("test_file_is_accessible", test_file_is_accessible, NULL, NULL, NULL, 0, "H5Fis_accessible"); + AddTest("test_file_property_lists", test_file_property_lists, NULL, NULL, NULL, 0, + "file property list operations"); + AddTest("test_get_file_intent", test_get_file_intent, NULL, NULL, NULL, 0, + "retrieval of file intent with H5Fget_intent"); + AddTest("test_get_file_obj_count", test_get_file_obj_count, NULL, NULL, NULL, 0, + "retrieval of open object number and IDs"); AddTest("test_file_mounts", test_file_mounts, NULL, NULL, NULL, 0, "file mounting/unmounting"); AddTest("test_get_file_name", test_get_file_name, NULL, NULL, NULL, 0, "retrieval of file name"); } diff --git a/test/API/H5_api_group_test.c b/test/API/H5_api_group_test.c index 2d762ac74d3..ce784e0c04f 100644 --- a/test/API/H5_api_group_test.c +++ b/test/API/H5_api_group_test.c @@ -2374,41 +2374,39 @@ void H5_api_group_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_group_test_header", print_group_test_header, NULL, NULL, - NULL, 0, "Prints header for group tests"); - - AddTest("test_create_group_under_root", test_create_group_under_root, - NULL, NULL, NULL, 0, "creation of group under the root group"); - AddTest("test_create_group_under_existing_group", test_create_group_under_existing_group, - NULL, NULL, NULL, 0, "creation of group under existing group using a relative path"); - AddTest("test_create_many_groups", test_create_many_groups, NULL, NULL, - NULL, 0, "H5Gcreate many groups"); - AddTest("test_create_deep_groups", test_create_deep_groups, NULL, NULL, - NULL, 0, "H5Gcreate groups of great depths"); - AddTest("test_create_intermediate_group", test_create_intermediate_group, - NULL, NULL, NULL, 0, "H5Gcreate group with intermediate group creation"); - AddTest("test_create_group_invalid_params", test_create_group_invalid_params, - NULL, NULL, NULL, 0, "H5Gcreate with invalid parameters"); - AddTest("test_create_anonymous_group", test_create_anonymous_group, NULL, NULL, - NULL, 0, "creation of anonymous group"); - AddTest("test_create_anonymous_group_invalid_params", test_create_anonymous_group_invalid_params, - NULL, NULL, NULL, 0, "H5Gcreate_anon with invalid parameters"); - AddTest("test_open_nonexistent_group", test_open_nonexistent_group, NULL, NULL, - NULL, 0, "for invalid opening of a nonexistent group"); - AddTest("test_open_group_invalid_params", test_open_group_invalid_params, - NULL, NULL, NULL, 0, "H5Gopen with invalid parameters"); - AddTest("test_close_group_invalid_id", test_close_group_invalid_id, NULL, NULL, - NULL, 0, "H5Gclose with an invalid group ID"); - AddTest("test_group_property_lists", test_group_property_lists, NULL, NULL, - NULL, 0, "group property list operations"); - AddTest("test_get_group_info", test_get_group_info, NULL, NULL, - NULL, 0, "retrieval of group info"); - AddTest("test_get_group_info_invalid_params", test_get_group_info_invalid_params, - NULL, NULL, NULL, 0, "retrieval of group info with invalid parameters"); + AddTest("print_group_test_header", print_group_test_header, NULL, NULL, NULL, 0, + "Prints header for group tests"); + + AddTest("test_create_group_under_root", test_create_group_under_root, NULL, NULL, NULL, 0, + "creation of group under the root group"); + AddTest("test_create_group_under_existing_group", test_create_group_under_existing_group, NULL, NULL, + NULL, 0, "creation of group under existing group using a relative path"); + AddTest("test_create_many_groups", test_create_many_groups, NULL, NULL, NULL, 0, "H5Gcreate many groups"); + AddTest("test_create_deep_groups", test_create_deep_groups, NULL, NULL, NULL, 0, + "H5Gcreate groups of great depths"); + AddTest("test_create_intermediate_group", test_create_intermediate_group, NULL, NULL, NULL, 0, + "H5Gcreate group with intermediate group creation"); + AddTest("test_create_group_invalid_params", test_create_group_invalid_params, NULL, NULL, NULL, 0, + "H5Gcreate with invalid parameters"); + AddTest("test_create_anonymous_group", test_create_anonymous_group, NULL, NULL, NULL, 0, + "creation of anonymous group"); + AddTest("test_create_anonymous_group_invalid_params", test_create_anonymous_group_invalid_params, NULL, + NULL, NULL, 0, "H5Gcreate_anon with invalid parameters"); + AddTest("test_open_nonexistent_group", test_open_nonexistent_group, NULL, NULL, NULL, 0, + "for invalid opening of a nonexistent group"); + AddTest("test_open_group_invalid_params", test_open_group_invalid_params, NULL, NULL, NULL, 0, + "H5Gopen with invalid parameters"); + AddTest("test_close_group_invalid_id", test_close_group_invalid_id, NULL, NULL, NULL, 0, + "H5Gclose with an invalid group ID"); + AddTest("test_group_property_lists", test_group_property_lists, NULL, NULL, NULL, 0, + "group property list operations"); + AddTest("test_get_group_info", test_get_group_info, NULL, NULL, NULL, 0, "retrieval of group info"); + AddTest("test_get_group_info_invalid_params", test_get_group_info_invalid_params, NULL, NULL, NULL, 0, + "retrieval of group info with invalid parameters"); AddTest("test_flush_group", test_flush_group, NULL, NULL, NULL, 0, "H5Gflush"); - AddTest("test_flush_group_invalid_params", test_flush_group_invalid_params, - NULL, NULL, NULL, 0, "H5Gflush with invalid parameters"); + AddTest("test_flush_group_invalid_params", test_flush_group_invalid_params, NULL, NULL, NULL, 0, + "H5Gflush with invalid parameters"); AddTest("test_refresh_group", test_refresh_group, NULL, NULL, NULL, 0, "H5Grefresh"); - AddTest("test_refresh_group_invalid_params", test_refresh_group_invalid_params, - NULL, NULL, NULL, 0, "H5Grefresh with invalid parameters"); + AddTest("test_refresh_group_invalid_params", test_refresh_group_invalid_params, NULL, NULL, NULL, 0, + "H5Grefresh with invalid parameters"); } diff --git a/test/API/H5_api_link_test.c b/test/API/H5_api_link_test.c index 0adca92e7c7..25249976a53 100644 --- a/test/API/H5_api_link_test.c +++ b/test/API/H5_api_link_test.c @@ -27440,113 +27440,112 @@ void H5_api_link_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_link_test_header", print_link_test_header, NULL, NULL, - NULL, 0, "Prints header for link tests"); - - AddTest("test_create_hard_link", test_create_hard_link, NULL, NULL, - NULL, 0, "hard link creation"); - AddTest("test_create_hard_link_long_name", test_create_hard_link_long_name, - NULL, NULL, NULL, 0, "hard link creation with a long name"); - AddTest("test_create_hard_link_many", test_create_hard_link_many, - NULL, NULL, NULL, 0, "hard link creation of many links"); - AddTest("test_create_hard_link_same_loc", test_create_hard_link_same_loc, - NULL, NULL, NULL, 0, "hard link creation with H5L_SAME_LOC"); - AddTest("test_create_hard_link_invalid_params", test_create_hard_link_invalid_params, - NULL, NULL, NULL, 0, "hard link creation with invalid parameters"); - AddTest("test_create_soft_link_existing_relative", test_create_soft_link_existing_relative, - NULL, NULL, NULL, 0, "soft link creation to existing object by relative path"); - AddTest("test_create_soft_link_existing_absolute", test_create_soft_link_existing_absolute, - NULL, NULL, NULL, 0, "soft link creation to existing object by absolute path"); - AddTest("test_create_soft_link_dangling_relative", test_create_soft_link_dangling_relative, - NULL, NULL, NULL, 0, "dangling soft link creation to object by relative path"); - AddTest("test_create_soft_link_dangling_absolute", test_create_soft_link_dangling_absolute, - NULL, NULL, NULL, 0, "dangling soft link creation to object by absolute path"); - AddTest("test_create_soft_link_long_name", test_create_soft_link_long_name, - NULL, NULL, NULL, 0, "soft link creation with a long name"); - AddTest("test_create_soft_link_many", test_create_soft_link_many, - NULL, NULL, NULL, 0, "soft link creation of many links"); - AddTest("test_create_soft_link_invalid_params", test_create_soft_link_invalid_params, - NULL, NULL, NULL, 0, "soft link creation with invalid parameters"); - AddTest("test_create_external_link", test_create_external_link, - NULL, NULL, NULL, 0, "external link creation to existing object"); - AddTest("test_create_external_link_dangling", test_create_external_link_dangling, - NULL, NULL, NULL, 0, "dangling external link creation"); - AddTest("test_create_external_link_multi", test_create_external_link_multi, - NULL, NULL, NULL, 0, "external link creation to an object across several files"); - AddTest("test_create_external_link_ping_pong", test_create_external_link_ping_pong, - NULL, NULL, NULL, 0, "external link creation to an object in ping pong style"); - AddTest("test_create_external_link_invalid_params", test_create_external_link_invalid_params, - NULL, NULL, NULL, 0, "H5Lcreate_external with invalid parameters"); - AddTest("test_create_user_defined_link", test_create_user_defined_link, - NULL, NULL, NULL, 0, "user-defined link creation"); + AddTest("print_link_test_header", print_link_test_header, NULL, NULL, NULL, 0, + "Prints header for link tests"); + + AddTest("test_create_hard_link", test_create_hard_link, NULL, NULL, NULL, 0, "hard link creation"); + AddTest("test_create_hard_link_long_name", test_create_hard_link_long_name, NULL, NULL, NULL, 0, + "hard link creation with a long name"); + AddTest("test_create_hard_link_many", test_create_hard_link_many, NULL, NULL, NULL, 0, + "hard link creation of many links"); + AddTest("test_create_hard_link_same_loc", test_create_hard_link_same_loc, NULL, NULL, NULL, 0, + "hard link creation with H5L_SAME_LOC"); + AddTest("test_create_hard_link_invalid_params", test_create_hard_link_invalid_params, NULL, NULL, NULL, 0, + "hard link creation with invalid parameters"); + AddTest("test_create_soft_link_existing_relative", test_create_soft_link_existing_relative, NULL, NULL, + NULL, 0, "soft link creation to existing object by relative path"); + AddTest("test_create_soft_link_existing_absolute", test_create_soft_link_existing_absolute, NULL, NULL, + NULL, 0, "soft link creation to existing object by absolute path"); + AddTest("test_create_soft_link_dangling_relative", test_create_soft_link_dangling_relative, NULL, NULL, + NULL, 0, "dangling soft link creation to object by relative path"); + AddTest("test_create_soft_link_dangling_absolute", test_create_soft_link_dangling_absolute, NULL, NULL, + NULL, 0, "dangling soft link creation to object by absolute path"); + AddTest("test_create_soft_link_long_name", test_create_soft_link_long_name, NULL, NULL, NULL, 0, + "soft link creation with a long name"); + AddTest("test_create_soft_link_many", test_create_soft_link_many, NULL, NULL, NULL, 0, + "soft link creation of many links"); + AddTest("test_create_soft_link_invalid_params", test_create_soft_link_invalid_params, NULL, NULL, NULL, 0, + "soft link creation with invalid parameters"); + AddTest("test_create_external_link", test_create_external_link, NULL, NULL, NULL, 0, + "external link creation to existing object"); + AddTest("test_create_external_link_dangling", test_create_external_link_dangling, NULL, NULL, NULL, 0, + "dangling external link creation"); + AddTest("test_create_external_link_multi", test_create_external_link_multi, NULL, NULL, NULL, 0, + "external link creation to an object across several files"); + AddTest("test_create_external_link_ping_pong", test_create_external_link_ping_pong, NULL, NULL, NULL, 0, + "external link creation to an object in ping pong style"); + AddTest("test_create_external_link_invalid_params", test_create_external_link_invalid_params, NULL, NULL, + NULL, 0, "H5Lcreate_external with invalid parameters"); + AddTest("test_create_user_defined_link", test_create_user_defined_link, NULL, NULL, NULL, 0, + "user-defined link creation"); AddTest("test_create_user_defined_link_invalid_params", test_create_user_defined_link_invalid_params, NULL, NULL, NULL, 0, "H5Lcreate_ud with invalid parameters"); AddTest("test_delete_link", test_delete_link, NULL, NULL, NULL, 0, "link deletion"); - AddTest("test_delete_link_reset_grp_max_crt_order", test_delete_link_reset_grp_max_crt_order, - NULL, NULL, NULL, 0, "H5Ldelete of all links in group resets group's maximum link creation order value"); - AddTest("test_delete_link_invalid_params", test_delete_link_invalid_params, - NULL, NULL, NULL, 0, "H5Ldelete with invalid parameters"); + AddTest("test_delete_link_reset_grp_max_crt_order", test_delete_link_reset_grp_max_crt_order, NULL, NULL, + NULL, 0, "H5Ldelete of all links in group resets group's maximum link creation order value"); + AddTest("test_delete_link_invalid_params", test_delete_link_invalid_params, NULL, NULL, NULL, 0, + "H5Ldelete with invalid parameters"); AddTest("test_copy_link", test_copy_link, NULL, NULL, NULL, 0, "link copying"); - AddTest("test_copy_links_into_group_with_links", test_copy_links_into_group_with_links, - NULL, NULL, NULL, 0, "H5Lcopy adjusting creation order values for copied links"); - AddTest("test_copy_link_across_files", test_copy_link_across_files, - NULL, NULL, NULL, 0, "link copying across files"); - AddTest("test_copy_link_invalid_params", test_copy_link_invalid_params, - NULL, NULL, NULL, 0, "H5Lcopy with invalid parameters"); + AddTest("test_copy_links_into_group_with_links", test_copy_links_into_group_with_links, NULL, NULL, NULL, + 0, "H5Lcopy adjusting creation order values for copied links"); + AddTest("test_copy_link_across_files", test_copy_link_across_files, NULL, NULL, NULL, 0, + "link copying across files"); + AddTest("test_copy_link_invalid_params", test_copy_link_invalid_params, NULL, NULL, NULL, 0, + "H5Lcopy with invalid parameters"); AddTest("test_move_link", test_move_link, NULL, NULL, NULL, 0, "link moving"); - AddTest("test_move_links_into_group_with_links", test_move_links_into_group_with_links, - NULL, NULL, NULL, 0, "H5Lmove adjusting creation order values for moved links"); - AddTest("test_move_link_across_files", test_move_link_across_files, - NULL, NULL, NULL, 0, "link moving across files"); - AddTest("test_move_link_reset_grp_max_crt_order", test_move_link_reset_grp_max_crt_order, - NULL, NULL, NULL, 0, "H5Lmove of all links out of group resets group's maximum link creation order value"); - AddTest("test_move_link_invalid_params", test_move_link_invalid_params, - NULL, NULL, NULL, 0, "H5Lmove with invalid parameters"); + AddTest("test_move_links_into_group_with_links", test_move_links_into_group_with_links, NULL, NULL, NULL, + 0, "H5Lmove adjusting creation order values for moved links"); + AddTest("test_move_link_across_files", test_move_link_across_files, NULL, NULL, NULL, 0, + "link moving across files"); + AddTest("test_move_link_reset_grp_max_crt_order", test_move_link_reset_grp_max_crt_order, NULL, NULL, + NULL, 0, "H5Lmove of all links out of group resets group's maximum link creation order value"); + AddTest("test_move_link_invalid_params", test_move_link_invalid_params, NULL, NULL, NULL, 0, + "H5Lmove with invalid parameters"); AddTest("test_get_link_val", test_get_link_val, NULL, NULL, NULL, 0, "link value retrieval"); - AddTest("test_get_link_val_invalid_params", test_get_link_val_invalid_params, - NULL, NULL, NULL, 0, "link value retrieval with invalid parameters"); + AddTest("test_get_link_val_invalid_params", test_get_link_val_invalid_params, NULL, NULL, NULL, 0, + "link value retrieval with invalid parameters"); AddTest("test_get_link_info", test_get_link_info, NULL, NULL, NULL, 0, "link info retrieval"); - AddTest("test_get_link_info_invalid_params", test_get_link_info_invalid_params, - NULL, NULL, NULL, 0, "link info retrieval with invalid parameters"); + AddTest("test_get_link_info_invalid_params", test_get_link_info_invalid_params, NULL, NULL, NULL, 0, + "link info retrieval with invalid parameters"); AddTest("test_get_link_name", test_get_link_name, NULL, NULL, NULL, 0, "link name retrieval"); - AddTest("test_get_link_name_invalid_params", test_get_link_name_invalid_params, - NULL, NULL, NULL, 0, "link name retrieval with invalid parameters"); - AddTest("test_link_iterate_hard_links", test_link_iterate_hard_links, - NULL, NULL, NULL, 0, "link iteration (only hard links)"); - AddTest("test_link_iterate_soft_links", test_link_iterate_soft_links, - NULL, NULL, NULL, 0, "link iteration (only soft links)"); - AddTest("test_link_iterate_external_links", test_link_iterate_external_links, - NULL, NULL, NULL, 0, "link iteration (only external links)"); - AddTest("test_link_iterate_ud_links", test_link_iterate_ud_links, - NULL, NULL, NULL, 0, "link iteration (only user-defined links)"); - AddTest("test_link_iterate_mixed_links", test_link_iterate_mixed_links, - NULL, NULL, NULL, 0, "link iteration (mixed link types)"); - AddTest("test_link_iterate_invalid_params", test_link_iterate_invalid_params, - NULL, NULL, NULL, 0, "link iteration with invalid parameters"); - AddTest("test_link_iterate_0_links", test_link_iterate_0_links, - NULL, NULL, NULL, 0, "link iteration on group with 0 links"); - AddTest("test_link_visit_hard_links_no_cycles", test_link_visit_hard_links_no_cycles, - NULL, NULL, NULL, 0, "link visiting without cycles (only hard links)"); - AddTest("test_link_visit_soft_links_no_cycles", test_link_visit_soft_links_no_cycles, - NULL, NULL, NULL, 0, "link visiting without cycles (only soft links)"); - AddTest("test_link_visit_external_links_no_cycles", test_link_visit_external_links_no_cycles, - NULL, NULL, NULL, 0, "link visiting without cycles (only external links)"); - AddTest("test_link_visit_ud_links_no_cycles", test_link_visit_ud_links_no_cycles, - NULL, NULL, NULL, 0, "link visiting without cycles (only user-defined links)"); - AddTest("test_link_visit_mixed_links_no_cycles", test_link_visit_mixed_links_no_cycles, - NULL, NULL, NULL, 0, "link visiting without cycles (mixed link types)"); - AddTest("test_link_visit_hard_links_cycles", test_link_visit_hard_links_cycles, - NULL, NULL, NULL, 0, "link visiting with cycles (only hard links)"); - AddTest("test_link_visit_soft_links_cycles", test_link_visit_soft_links_cycles, - NULL, NULL, NULL, 0, "link visiting with cycles (only soft links)"); - AddTest("test_link_visit_external_links_cycles", test_link_visit_external_links_cycles, - NULL, NULL, NULL, 0, "link visiting with cycles (only external links)"); - AddTest("test_link_visit_ud_links_cycles", test_link_visit_ud_links_cycles, - NULL, NULL, NULL, 0, "link visiting with cycles (only user-defined links)"); - AddTest("test_link_visit_mixed_links_cycles", test_link_visit_mixed_links_cycles, - NULL, NULL, NULL, 0, "link visiting with cycles (mixed link types)"); - AddTest("test_link_visit_invalid_params", test_link_visit_invalid_params, - NULL, NULL, NULL, 0, "link visiting with invalid parameters"); - AddTest("test_link_visit_0_links", test_link_visit_0_links, - NULL, NULL, NULL, 0, "link visiting on group with subgroups containing 0 links"); + AddTest("test_get_link_name_invalid_params", test_get_link_name_invalid_params, NULL, NULL, NULL, 0, + "link name retrieval with invalid parameters"); + AddTest("test_link_iterate_hard_links", test_link_iterate_hard_links, NULL, NULL, NULL, 0, + "link iteration (only hard links)"); + AddTest("test_link_iterate_soft_links", test_link_iterate_soft_links, NULL, NULL, NULL, 0, + "link iteration (only soft links)"); + AddTest("test_link_iterate_external_links", test_link_iterate_external_links, NULL, NULL, NULL, 0, + "link iteration (only external links)"); + AddTest("test_link_iterate_ud_links", test_link_iterate_ud_links, NULL, NULL, NULL, 0, + "link iteration (only user-defined links)"); + AddTest("test_link_iterate_mixed_links", test_link_iterate_mixed_links, NULL, NULL, NULL, 0, + "link iteration (mixed link types)"); + AddTest("test_link_iterate_invalid_params", test_link_iterate_invalid_params, NULL, NULL, NULL, 0, + "link iteration with invalid parameters"); + AddTest("test_link_iterate_0_links", test_link_iterate_0_links, NULL, NULL, NULL, 0, + "link iteration on group with 0 links"); + AddTest("test_link_visit_hard_links_no_cycles", test_link_visit_hard_links_no_cycles, NULL, NULL, NULL, 0, + "link visiting without cycles (only hard links)"); + AddTest("test_link_visit_soft_links_no_cycles", test_link_visit_soft_links_no_cycles, NULL, NULL, NULL, 0, + "link visiting without cycles (only soft links)"); + AddTest("test_link_visit_external_links_no_cycles", test_link_visit_external_links_no_cycles, NULL, NULL, + NULL, 0, "link visiting without cycles (only external links)"); + AddTest("test_link_visit_ud_links_no_cycles", test_link_visit_ud_links_no_cycles, NULL, NULL, NULL, 0, + "link visiting without cycles (only user-defined links)"); + AddTest("test_link_visit_mixed_links_no_cycles", test_link_visit_mixed_links_no_cycles, NULL, NULL, NULL, + 0, "link visiting without cycles (mixed link types)"); + AddTest("test_link_visit_hard_links_cycles", test_link_visit_hard_links_cycles, NULL, NULL, NULL, 0, + "link visiting with cycles (only hard links)"); + AddTest("test_link_visit_soft_links_cycles", test_link_visit_soft_links_cycles, NULL, NULL, NULL, 0, + "link visiting with cycles (only soft links)"); + AddTest("test_link_visit_external_links_cycles", test_link_visit_external_links_cycles, NULL, NULL, NULL, + 0, "link visiting with cycles (only external links)"); + AddTest("test_link_visit_ud_links_cycles", test_link_visit_ud_links_cycles, NULL, NULL, NULL, 0, + "link visiting with cycles (only user-defined links)"); + AddTest("test_link_visit_mixed_links_cycles", test_link_visit_mixed_links_cycles, NULL, NULL, NULL, 0, + "link visiting with cycles (mixed link types)"); + AddTest("test_link_visit_invalid_params", test_link_visit_invalid_params, NULL, NULL, NULL, 0, + "link visiting with invalid parameters"); + AddTest("test_link_visit_0_links", test_link_visit_0_links, NULL, NULL, NULL, 0, + "link visiting on group with subgroups containing 0 links"); } diff --git a/test/API/H5_api_misc_test.c b/test/API/H5_api_misc_test.c index b1dc981c523..14611a001eb 100644 --- a/test/API/H5_api_misc_test.c +++ b/test/API/H5_api_misc_test.c @@ -1043,19 +1043,19 @@ void H5_api_misc_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_misc_test_header", print_misc_test_header, NULL, NULL, - NULL, 0, "Prints header for miscellaneous tests"); - - AddTest("test_open_link_without_leading_slash", test_open_link_without_leading_slash, - NULL, NULL, NULL, 0, "opening a link without a leading slash"); - AddTest("test_object_creation_by_absolute_path", test_object_creation_by_absolute_path, - NULL, NULL, NULL, 0, "object creation by absolute path"); - AddTest("test_absolute_vs_relative_path", test_absolute_vs_relative_path, - NULL, NULL, NULL, 0, "absolute vs. relative pathnames"); - AddTest("test_dot_for_object_name", test_dot_for_object_name, - NULL, NULL, NULL, 0, "creating objects with \".\" as the name"); - AddTest("test_symbols_in_compound_field_name", test_symbols_in_compound_field_name, - NULL, NULL, NULL, 0, "usage of '{', '}' and '\\\"' symbols in compound field name"); - AddTest("test_double_init_term", test_double_init_term, - NULL, NULL, NULL, 0, "double init/term correctness"); + AddTest("print_misc_test_header", print_misc_test_header, NULL, NULL, NULL, 0, + "Prints header for miscellaneous tests"); + + AddTest("test_open_link_without_leading_slash", test_open_link_without_leading_slash, NULL, NULL, NULL, 0, + "opening a link without a leading slash"); + AddTest("test_object_creation_by_absolute_path", test_object_creation_by_absolute_path, NULL, NULL, NULL, + 0, "object creation by absolute path"); + AddTest("test_absolute_vs_relative_path", test_absolute_vs_relative_path, NULL, NULL, NULL, 0, + "absolute vs. relative pathnames"); + AddTest("test_dot_for_object_name", test_dot_for_object_name, NULL, NULL, NULL, 0, + "creating objects with \".\" as the name"); + AddTest("test_symbols_in_compound_field_name", test_symbols_in_compound_field_name, NULL, NULL, NULL, 0, + "usage of '{', '}' and '\\\"' symbols in compound field name"); + AddTest("test_double_init_term", test_double_init_term, NULL, NULL, NULL, 0, + "double init/term correctness"); } diff --git a/test/API/H5_api_object_test.c b/test/API/H5_api_object_test.c index 555997fc969..85714f2ed1f 100644 --- a/test/API/H5_api_object_test.c +++ b/test/API/H5_api_object_test.c @@ -7350,58 +7350,57 @@ void H5_api_object_test_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_object_test_header", print_object_test_header, - NULL, NULL, NULL, 0, "Prints header for object tests"); + AddTest("print_object_test_header", print_object_test_header, NULL, NULL, NULL, 0, + "Prints header for object tests"); AddTest("test_open_object", test_open_object, NULL, NULL, NULL, 0, "object opening"); - AddTest("test_open_object_invalid_params", test_open_object_invalid_params, - NULL, NULL, NULL, 0, "object opening with invalid parameters"); + AddTest("test_open_object_invalid_params", test_open_object_invalid_params, NULL, NULL, NULL, 0, + "object opening with invalid parameters"); AddTest("test_object_exists", test_object_exists, NULL, NULL, NULL, 0, "object existence"); - AddTest("test_object_exists_invalid_params", test_object_exists_invalid_params, - NULL, NULL, NULL, 0, "object existence with invalid parameters"); + AddTest("test_object_exists_invalid_params", test_object_exists_invalid_params, NULL, NULL, NULL, 0, + "object existence with invalid parameters"); AddTest("test_get_object_info", test_get_object_info, NULL, NULL, NULL, 0, "object info retrieval"); - AddTest("test_get_object_info_invalid_params", test_get_object_info_invalid_params, - NULL, NULL, NULL, 0, "object info retrieval with invalid parameters"); + AddTest("test_get_object_info_invalid_params", test_get_object_info_invalid_params, NULL, NULL, NULL, 0, + "object info retrieval with invalid parameters"); AddTest("test_link_object", test_link_object, NULL, NULL, NULL, 0, "object linking"); - AddTest("test_link_object_invalid_params", test_link_object_invalid_params, - NULL, NULL, NULL, 0, "object linking with invalid parameters"); - AddTest("test_incr_decr_object_refcount", test_incr_decr_object_refcount, - NULL, NULL, NULL, 0, "increment/decrement the reference count of object"); + AddTest("test_link_object_invalid_params", test_link_object_invalid_params, NULL, NULL, NULL, 0, + "object linking with invalid parameters"); + AddTest("test_incr_decr_object_refcount", test_incr_decr_object_refcount, NULL, NULL, NULL, 0, + "increment/decrement the reference count of object"); AddTest("test_incr_decr_object_refcount_invalid_params", test_incr_decr_object_refcount_invalid_params, NULL, NULL, NULL, 0, "object reference count incr./decr. with an invalid parameter"); - AddTest("test_object_copy_basic", test_object_copy_basic, NULL, NULL, NULL, 0, - "basic object copying"); - AddTest("test_object_copy_already_existing", test_object_copy_already_existing, - NULL, NULL, NULL, 0, "object copying to location where objects already exist"); - AddTest("test_object_copy_shallow_group_copy", test_object_copy_shallow_group_copy, - NULL, NULL, NULL, 0, "object copying with H5O_COPY_SHALLOW_HIERARCHY_FLAG flag"); - AddTest("test_object_copy_no_attributes", test_object_copy_no_attributes, - NULL, NULL, NULL, 0, "object copying with H5O_COPY_WITHOUT_ATTR_FLAG flag"); - AddTest("test_object_copy_by_soft_link", test_object_copy_by_soft_link, - NULL, NULL, NULL, 0, "object copying through use of soft links"); - AddTest("test_object_copy_group_with_soft_links", test_object_copy_group_with_soft_links, - NULL, NULL, NULL, 0, "group copying when group contains soft links"); - AddTest("test_object_copy_between_files", test_object_copy_between_files, - NULL, NULL, NULL, 0, "object copying between files"); - AddTest("test_object_copy_invalid_params", test_object_copy_invalid_params, - NULL, NULL, NULL, 0, "object copying with invalid parameters"); + AddTest("test_object_copy_basic", test_object_copy_basic, NULL, NULL, NULL, 0, "basic object copying"); + AddTest("test_object_copy_already_existing", test_object_copy_already_existing, NULL, NULL, NULL, 0, + "object copying to location where objects already exist"); + AddTest("test_object_copy_shallow_group_copy", test_object_copy_shallow_group_copy, NULL, NULL, NULL, 0, + "object copying with H5O_COPY_SHALLOW_HIERARCHY_FLAG flag"); + AddTest("test_object_copy_no_attributes", test_object_copy_no_attributes, NULL, NULL, NULL, 0, + "object copying with H5O_COPY_WITHOUT_ATTR_FLAG flag"); + AddTest("test_object_copy_by_soft_link", test_object_copy_by_soft_link, NULL, NULL, NULL, 0, + "object copying through use of soft links"); + AddTest("test_object_copy_group_with_soft_links", test_object_copy_group_with_soft_links, NULL, NULL, + NULL, 0, "group copying when group contains soft links"); + AddTest("test_object_copy_between_files", test_object_copy_between_files, NULL, NULL, NULL, 0, + "object copying between files"); + AddTest("test_object_copy_invalid_params", test_object_copy_invalid_params, NULL, NULL, NULL, 0, + "object copying with invalid parameters"); AddTest("test_object_comments", test_object_comments, NULL, NULL, NULL, 0, "object comments"); - AddTest("test_object_comments_invalid_params", test_object_comments_invalid_params, - NULL, NULL, NULL, 0, "object comments with invalid parameters"); + AddTest("test_object_comments_invalid_params", test_object_comments_invalid_params, NULL, NULL, NULL, 0, + "object comments with invalid parameters"); AddTest("test_object_visit", test_object_visit, NULL, NULL, NULL, 0, "object visiting"); - AddTest("test_object_visit_soft_link", test_object_visit_soft_link, - NULL, NULL, NULL, 0, "object visiting with soft links"); - AddTest("test_object_visit_invalid_params", test_object_visit_invalid_params, - NULL, NULL, NULL, 0, "object visiting with invalid parameters"); + AddTest("test_object_visit_soft_link", test_object_visit_soft_link, NULL, NULL, NULL, 0, + "object visiting with soft links"); + AddTest("test_object_visit_invalid_params", test_object_visit_invalid_params, NULL, NULL, NULL, 0, + "object visiting with invalid parameters"); AddTest("test_close_object", test_close_object, NULL, NULL, NULL, 0, "H5Oclose"); - AddTest("test_close_object_invalid_params", test_close_object_invalid_params, - NULL, NULL, NULL, 0, "H5Oclose with an invalid object ID"); + AddTest("test_close_object_invalid_params", test_close_object_invalid_params, NULL, NULL, NULL, 0, + "H5Oclose with an invalid object ID"); AddTest("test_close_invalid_objects", test_close_invalid_objects, NULL, NULL, NULL, 0, "H5Oclose invalid objects"); AddTest("test_flush_object", test_flush_object, NULL, NULL, NULL, 0, "H5Oflush"); - AddTest("test_flush_object_invalid_params", test_flush_object_invalid_params, - NULL, NULL, NULL, 0, "H5Oflush with invalid parameters"); + AddTest("test_flush_object_invalid_params", test_flush_object_invalid_params, NULL, NULL, NULL, 0, + "H5Oflush with invalid parameters"); AddTest("test_refresh_object", test_refresh_object, NULL, NULL, NULL, 0, "H5Orefresh"); - AddTest("test_refresh_object_invalid_params", test_refresh_object_invalid_params, - NULL, NULL, NULL, 0, "H5Orefresh with invalid parameters"); + AddTest("test_refresh_object_invalid_params", test_refresh_object_invalid_params, NULL, NULL, NULL, 0, + "H5Orefresh with invalid parameters"); } diff --git a/testpar/API/H5_api_async_test_parallel.c b/testpar/API/H5_api_async_test_parallel.c index 6abd61d9dc4..450b69f1464 100644 --- a/testpar/API/H5_api_async_test_parallel.c +++ b/testpar/API/H5_api_async_test_parallel.c @@ -3621,105 +3621,88 @@ H5_api_async_test_parallel_add(void) bool coll_metadata_read = true; /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_async_test_header (coll)", print_async_test_header, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), "Prints header for async tests"); + AddTest("print_async_test_header (coll)", print_async_test_header, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "Prints header for async tests"); /* Add tests using collective metadata reads */ - AddTest("test_async_one_dataset_io (coll)", test_async_one_dataset_io, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async single dataset I/O (collective metadata reads)"); + AddTest("test_async_one_dataset_io (coll)", test_async_one_dataset_io, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async single dataset I/O (collective metadata reads)"); AddTest("test_async_multi_dataset_io (coll)", test_async_multi_dataset_io, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), "async multi dataset I/O (collective metadata reads)"); - AddTest("test_async_multi_file_dataset_io (coll)", test_async_multi_file_dataset_io, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), + AddTest("test_async_multi_file_dataset_io (coll)", test_async_multi_file_dataset_io, NULL, NULL, + &coll_metadata_read, sizeof(coll_metadata_read), "async multi file dataset I/O (collective metadata reads)"); - AddTest("test_async_multi_file_grp_dset_io (coll)", test_async_multi_file_grp_dset_io, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async multi file dataset I/O with groups (collective metadata reads)"); - AddTest("test_async_set_extent (coll)", test_async_set_extent, NULL, NULL, + AddTest("test_async_multi_file_grp_dset_io (coll)", test_async_multi_file_grp_dset_io, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async extending dataset (collective metadata reads)"); - AddTest("test_async_attribute_exists (coll)", test_async_attribute_exists, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Aexists() (collective metadata reads)"); - AddTest("test_async_attribute_io (coll)", test_async_attribute_io, NULL, NULL, + "async multi file dataset I/O with groups (collective metadata reads)"); + AddTest("test_async_set_extent (coll)", test_async_set_extent, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async extending dataset (collective metadata reads)"); + AddTest("test_async_attribute_exists (coll)", test_async_attribute_exists, NULL, NULL, + &coll_metadata_read, sizeof(coll_metadata_read), "async H5Aexists() (collective metadata reads)"); + AddTest("test_async_attribute_io (coll)", test_async_attribute_io, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async attribute I/O (collective metadata reads)"); + AddTest("test_async_attribute_io_tconv (coll)", test_async_attribute_io_tconv, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async attribute I/O (collective metadata reads)"); - AddTest("test_async_attribute_io_tconv (coll)", test_async_attribute_io_tconv, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), "async attribute I/O with type conversion (collective metadata reads)"); - AddTest("test_async_attribute_io_compound (coll)", test_async_attribute_io_compound, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async attribute I/O with compound type conversion (collective metadata reads)"); - AddTest("test_async_group (coll)", test_async_group, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async group operations (collective metadata reads)"); - AddTest("test_async_link (coll)", test_async_link, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async link operations (collective metadata reads)"); - AddTest("test_async_ocopy_orefresh (coll)", test_async_ocopy_orefresh, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Ocopy() and H5Orefresh() (collective metadata reads)"); - AddTest("test_async_file_reopen (coll)", test_async_file_reopen, NULL, NULL, + AddTest("test_async_attribute_io_compound (coll)", test_async_attribute_io_compound, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Freopen() (collective metadata reads)"); + "async attribute I/O with compound type conversion (collective metadata reads)"); + AddTest("test_async_group (coll)", test_async_group, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async group operations (collective metadata reads)"); + AddTest("test_async_link (coll)", test_async_link, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async link operations (collective metadata reads)"); + AddTest("test_async_ocopy_orefresh (coll)", test_async_ocopy_orefresh, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async H5Ocopy() and H5Orefresh() (collective metadata reads)"); + AddTest("test_async_file_reopen (coll)", test_async_file_reopen, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async H5Freopen() (collective metadata reads)"); /* Add a fake test to cleanup test files due to current test interdependencies */ - AddTest("test_async_file_cleanup (coll)", test_async_file_cleanup, NULL, NULL, - NULL, 0, "cleanup async test files"); + AddTest("test_async_file_cleanup (coll)", test_async_file_cleanup, NULL, NULL, NULL, 0, + "cleanup async test files"); /* Re-run tests with independent metadata reads */ coll_metadata_read = false; /* Add a fake test to print out that tests are being re-run with independent metadata reads */ - AddTest("print_async_test_header (ind)", print_async_test_header, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), "Prints header for async tests"); + AddTest("print_async_test_header (ind)", print_async_test_header, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "Prints header for async tests"); /* Add tests using independent metadata reads */ - AddTest("test_async_one_dataset_io (ind)", test_async_one_dataset_io, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async single dataset I/O (independent metadata reads)"); - AddTest("test_async_multi_dataset_io (ind)", test_async_multi_dataset_io, NULL, NULL, + AddTest("test_async_one_dataset_io (ind)", test_async_one_dataset_io, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async single dataset I/O (independent metadata reads)"); + AddTest("test_async_multi_dataset_io (ind)", test_async_multi_dataset_io, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async multi dataset I/O (independent metadata reads)"); + AddTest("test_async_multi_file_dataset_io (ind)", test_async_multi_file_dataset_io, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async multi dataset I/O (independent metadata reads)"); - AddTest("test_async_multi_file_dataset_io (ind)", test_async_multi_file_dataset_io, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), "async multi file dataset I/O (independent metadata reads)"); - AddTest("test_async_multi_file_grp_dset_io (ind)", test_async_multi_file_grp_dset_io, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async multi file dataset I/O with groups (independent metadata reads)"); - AddTest("test_async_set_extent (ind)", test_async_set_extent, NULL, NULL, + AddTest("test_async_multi_file_grp_dset_io (ind)", test_async_multi_file_grp_dset_io, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async extending dataset (independent metadata reads)"); - AddTest("test_async_attribute_exists (ind)", test_async_attribute_exists, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Aexists() (independent metadata reads)"); - AddTest("test_async_attribute_io (ind)", test_async_attribute_io, NULL, NULL, + "async multi file dataset I/O with groups (independent metadata reads)"); + AddTest("test_async_set_extent (ind)", test_async_set_extent, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async extending dataset (independent metadata reads)"); + AddTest("test_async_attribute_exists (ind)", test_async_attribute_exists, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async H5Aexists() (independent metadata reads)"); + AddTest("test_async_attribute_io (ind)", test_async_attribute_io, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async attribute I/O (independent metadata reads)"); + AddTest("test_async_attribute_io_tconv (ind)", test_async_attribute_io_tconv, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async attribute I/O (independent metadata reads)"); - AddTest("test_async_attribute_io_tconv (ind)", test_async_attribute_io_tconv, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), "async attribute I/O with type conversion (independent metadata reads)"); - AddTest("test_async_attribute_io_compound (ind)", test_async_attribute_io_compound, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async attribute I/O with compound type conversion (independent metadata reads)"); - AddTest("test_async_group (ind)", test_async_group, NULL, NULL, - &coll_metadata_read, sizeof(coll_metadata_read), - "async group operations (independent metadata reads)"); - AddTest("test_async_link (ind)", test_async_link, NULL, NULL, + AddTest("test_async_attribute_io_compound (ind)", test_async_attribute_io_compound, NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async link operations (independent metadata reads)"); - AddTest("test_async_ocopy_orefresh (ind)", test_async_ocopy_orefresh, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Ocopy() and H5Orefresh() (independent metadata reads)"); - AddTest("test_async_file_reopen (ind)", test_async_file_reopen, - NULL, NULL, &coll_metadata_read, sizeof(coll_metadata_read), - "async H5Freopen() (independent metadata reads)"); + "async attribute I/O with compound type conversion (independent metadata reads)"); + AddTest("test_async_group (ind)", test_async_group, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async group operations (independent metadata reads)"); + AddTest("test_async_link (ind)", test_async_link, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async link operations (independent metadata reads)"); + AddTest("test_async_ocopy_orefresh (ind)", test_async_ocopy_orefresh, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async H5Ocopy() and H5Orefresh() (independent metadata reads)"); + AddTest("test_async_file_reopen (ind)", test_async_file_reopen, NULL, NULL, &coll_metadata_read, + sizeof(coll_metadata_read), "async H5Freopen() (independent metadata reads)"); /* Add a fake test to cleanup test files due to current test interdependencies */ - AddTest("test_async_file_cleanup (ind)", test_async_file_cleanup, NULL, NULL, - NULL, 0, "cleanup async test files"); + AddTest("test_async_file_cleanup (ind)", test_async_file_cleanup, NULL, NULL, NULL, 0, + "cleanup async test files"); } #else /* H5_API_TEST_HAVE_ASYNC */ @@ -3728,8 +3711,8 @@ void H5_api_async_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_async_test_header", print_async_test_header, NULL, NULL, - NULL, 0, "Prints header for async tests"); + AddTest("print_async_test_header", print_async_test_header, NULL, NULL, NULL, 0, + "Prints header for async tests"); } #endif diff --git a/testpar/API/H5_api_attribute_test_parallel.c b/testpar/API/H5_api_attribute_test_parallel.c index 37f271837ca..c06ac918147 100644 --- a/testpar/API/H5_api_attribute_test_parallel.c +++ b/testpar/API/H5_api_attribute_test_parallel.c @@ -31,8 +31,8 @@ void H5_api_attribute_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_attribute_test_header", print_attribute_test_header, NULL, NULL, - NULL, 0, "Prints header for attribute tests"); + AddTest("print_attribute_test_header", print_attribute_test_header, NULL, NULL, NULL, 0, + "Prints header for attribute tests"); /* No tests yet */ } diff --git a/testpar/API/H5_api_dataset_test_parallel.c b/testpar/API/H5_api_dataset_test_parallel.c index f52c0598cef..d4e208aaee9 100644 --- a/testpar/API/H5_api_dataset_test_parallel.c +++ b/testpar/API/H5_api_dataset_test_parallel.c @@ -8082,49 +8082,49 @@ void H5_api_dataset_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_dataset_test_header", print_dataset_test_header, NULL, NULL, - NULL, 0, "Prints header for dataset tests"); - - AddTest("test_write_dataset_data_verification", test_write_dataset_data_verification, - NULL, NULL, NULL, 0, "verification of dataset data using H5Dwrite then H5Dread"); - AddTest("test_write_dataset_independent", test_write_dataset_independent, - NULL, NULL, NULL, 0, "independent writing to different datasets by different ranks"); - AddTest("test_write_dataset_one_proc_0_selection", test_write_dataset_one_proc_0_selection, - NULL, NULL, NULL, 0, "write to dataset with one rank selecting 0 rows"); - AddTest("test_write_dataset_one_proc_none_selection", test_write_dataset_one_proc_none_selection, - NULL, NULL, NULL, 0, "write to dataset with one rank using 'none' selection"); - AddTest("test_write_dataset_one_proc_all_selection", test_write_dataset_one_proc_all_selection, - NULL, NULL, NULL, 0, "write to dataset with one rank using all selection; others none selection"); - AddTest("test_write_dataset_hyper_file_all_mem", test_write_dataset_hyper_file_all_mem, - NULL, NULL, NULL, 0, "write to dataset with hyperslab sel. for file space; all sel. for memory"); - AddTest("test_write_dataset_all_file_hyper_mem", test_write_dataset_all_file_hyper_mem, - NULL, NULL, NULL, 0, "write to dataset with all sel. for file space; hyperslab sel. for memory"); - AddTest("test_write_dataset_point_file_all_mem", test_write_dataset_point_file_all_mem, - NULL, NULL, NULL, 0, "write to dataset with point sel. for file space; all sel. for memory"); - AddTest("test_write_dataset_all_file_point_mem", test_write_dataset_all_file_point_mem, - NULL, NULL, NULL, 0, "write to dataset with all sel. for file space; point sel. for memory"); - AddTest("test_write_dataset_hyper_file_point_mem", test_write_dataset_hyper_file_point_mem, - NULL, NULL, NULL, 0, "write to dataset with hyperslab sel. for file space; point sel. for memory"); - AddTest("test_write_dataset_point_file_hyper_mem", test_write_dataset_point_file_hyper_mem, - NULL, NULL, NULL, 0, "write to dataset with point sel. for file space; hyperslab sel. for memory"); - AddTest("test_read_dataset_one_proc_0_selection", test_read_dataset_one_proc_0_selection, - NULL, NULL, NULL, 0, "read from dataset with one rank selecting 0 rows"); - AddTest("test_read_dataset_one_proc_none_selection", test_read_dataset_one_proc_none_selection, - NULL, NULL, NULL, 0, "read from dataset with one rank using 'none' selection"); - AddTest("test_read_dataset_one_proc_all_selection", test_read_dataset_one_proc_all_selection, - NULL, NULL, NULL, 0, "read from dataset with one rank using all selection; others none selection"); - AddTest("test_read_dataset_hyper_file_all_mem", test_read_dataset_hyper_file_all_mem, - NULL, NULL, NULL, 0, "read from dataset with hyperslab sel. for file space; all sel. for memory"); - AddTest("test_read_dataset_all_file_hyper_mem", test_read_dataset_all_file_hyper_mem, - NULL, NULL, NULL, 0, "read from dataset with all sel. for file space; hyperslab sel. for memory"); - AddTest("test_read_dataset_point_file_all_mem", test_read_dataset_point_file_all_mem, - NULL, NULL, NULL, 0, "read from dataset with point sel. for file space; all sel. for memory"); - AddTest("test_read_dataset_all_file_point_mem", test_read_dataset_all_file_point_mem, - NULL, NULL, NULL, 0, "read from dataset with all sel. for file space; point sel. for memory"); - AddTest("test_read_dataset_hyper_file_point_mem", test_read_dataset_hyper_file_point_mem, - NULL, NULL, NULL, 0, "read from dataset with hyperslab sel. for file space; point sel. for memory"); - AddTest("test_read_dataset_point_file_hyper_mem", test_read_dataset_point_file_hyper_mem, - NULL, NULL, NULL, 0, "read from dataset with point sel. for file space; hyperslab sel. for memory"); + AddTest("print_dataset_test_header", print_dataset_test_header, NULL, NULL, NULL, 0, + "Prints header for dataset tests"); + + AddTest("test_write_dataset_data_verification", test_write_dataset_data_verification, NULL, NULL, NULL, 0, + "verification of dataset data using H5Dwrite then H5Dread"); + AddTest("test_write_dataset_independent", test_write_dataset_independent, NULL, NULL, NULL, 0, + "independent writing to different datasets by different ranks"); + AddTest("test_write_dataset_one_proc_0_selection", test_write_dataset_one_proc_0_selection, NULL, NULL, + NULL, 0, "write to dataset with one rank selecting 0 rows"); + AddTest("test_write_dataset_one_proc_none_selection", test_write_dataset_one_proc_none_selection, NULL, + NULL, NULL, 0, "write to dataset with one rank using 'none' selection"); + AddTest("test_write_dataset_one_proc_all_selection", test_write_dataset_one_proc_all_selection, NULL, + NULL, NULL, 0, "write to dataset with one rank using all selection; others none selection"); + AddTest("test_write_dataset_hyper_file_all_mem", test_write_dataset_hyper_file_all_mem, NULL, NULL, NULL, + 0, "write to dataset with hyperslab sel. for file space; all sel. for memory"); + AddTest("test_write_dataset_all_file_hyper_mem", test_write_dataset_all_file_hyper_mem, NULL, NULL, NULL, + 0, "write to dataset with all sel. for file space; hyperslab sel. for memory"); + AddTest("test_write_dataset_point_file_all_mem", test_write_dataset_point_file_all_mem, NULL, NULL, NULL, + 0, "write to dataset with point sel. for file space; all sel. for memory"); + AddTest("test_write_dataset_all_file_point_mem", test_write_dataset_all_file_point_mem, NULL, NULL, NULL, + 0, "write to dataset with all sel. for file space; point sel. for memory"); + AddTest("test_write_dataset_hyper_file_point_mem", test_write_dataset_hyper_file_point_mem, NULL, NULL, + NULL, 0, "write to dataset with hyperslab sel. for file space; point sel. for memory"); + AddTest("test_write_dataset_point_file_hyper_mem", test_write_dataset_point_file_hyper_mem, NULL, NULL, + NULL, 0, "write to dataset with point sel. for file space; hyperslab sel. for memory"); + AddTest("test_read_dataset_one_proc_0_selection", test_read_dataset_one_proc_0_selection, NULL, NULL, + NULL, 0, "read from dataset with one rank selecting 0 rows"); + AddTest("test_read_dataset_one_proc_none_selection", test_read_dataset_one_proc_none_selection, NULL, + NULL, NULL, 0, "read from dataset with one rank using 'none' selection"); + AddTest("test_read_dataset_one_proc_all_selection", test_read_dataset_one_proc_all_selection, NULL, NULL, + NULL, 0, "read from dataset with one rank using all selection; others none selection"); + AddTest("test_read_dataset_hyper_file_all_mem", test_read_dataset_hyper_file_all_mem, NULL, NULL, NULL, 0, + "read from dataset with hyperslab sel. for file space; all sel. for memory"); + AddTest("test_read_dataset_all_file_hyper_mem", test_read_dataset_all_file_hyper_mem, NULL, NULL, NULL, 0, + "read from dataset with all sel. for file space; hyperslab sel. for memory"); + AddTest("test_read_dataset_point_file_all_mem", test_read_dataset_point_file_all_mem, NULL, NULL, NULL, 0, + "read from dataset with point sel. for file space; all sel. for memory"); + AddTest("test_read_dataset_all_file_point_mem", test_read_dataset_all_file_point_mem, NULL, NULL, NULL, 0, + "read from dataset with all sel. for file space; point sel. for memory"); + AddTest("test_read_dataset_hyper_file_point_mem", test_read_dataset_hyper_file_point_mem, NULL, NULL, + NULL, 0, "read from dataset with hyperslab sel. for file space; point sel. for memory"); + AddTest("test_read_dataset_point_file_hyper_mem", test_read_dataset_point_file_hyper_mem, NULL, NULL, + NULL, 0, "read from dataset with point sel. for file space; hyperslab sel. for memory"); AddTest("test_write_multi_chunk_dataset_same_shape_read", test_write_multi_chunk_dataset_same_shape_read, NULL, NULL, NULL, 0, "write to dataset with multiple chunks using same shaped dataspaces"); AddTest("test_write_multi_chunk_dataset_diff_shape_read", test_write_multi_chunk_dataset_diff_shape_read, diff --git a/testpar/API/H5_api_datatype_test_parallel.c b/testpar/API/H5_api_datatype_test_parallel.c index ce24db88bad..6b5faf2d04e 100644 --- a/testpar/API/H5_api_datatype_test_parallel.c +++ b/testpar/API/H5_api_datatype_test_parallel.c @@ -31,8 +31,8 @@ void H5_api_datatype_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_datatype_test_header", print_datatype_test_header, NULL, NULL, - NULL, 0, "Prints header for datatype tests"); + AddTest("print_datatype_test_header", print_datatype_test_header, NULL, NULL, NULL, 0, + "Prints header for datatype tests"); /* No tests yet */ } diff --git a/testpar/API/H5_api_file_test_parallel.c b/testpar/API/H5_api_file_test_parallel.c index 06981469c43..c86517c7347 100644 --- a/testpar/API/H5_api_file_test_parallel.c +++ b/testpar/API/H5_api_file_test_parallel.c @@ -322,11 +322,11 @@ void H5_api_file_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_file_test_header", print_file_test_header, NULL, NULL, - NULL, 0, "Prints header for file tests"); + AddTest("print_file_test_header", print_file_test_header, NULL, NULL, NULL, 0, + "Prints header for file tests"); AddTest("test_create_file", test_create_file, NULL, NULL, NULL, 0, "H5Fcreate"); AddTest("test_open_file", test_open_file, NULL, NULL, NULL, 0, "H5Fopen"); - AddTest("test_split_comm_file_access", test_split_comm_file_access, NULL, NULL, - NULL, 0, "file access with a split communicator"); + AddTest("test_split_comm_file_access", test_split_comm_file_access, NULL, NULL, NULL, 0, + "file access with a split communicator"); } diff --git a/testpar/API/H5_api_group_test_parallel.c b/testpar/API/H5_api_group_test_parallel.c index 1460253f634..ffacc870ac0 100644 --- a/testpar/API/H5_api_group_test_parallel.c +++ b/testpar/API/H5_api_group_test_parallel.c @@ -31,8 +31,8 @@ void H5_api_group_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_group_test_header", print_group_test_header, NULL, NULL, - NULL, 0, "Prints header for group tests"); + AddTest("print_group_test_header", print_group_test_header, NULL, NULL, NULL, 0, + "Prints header for group tests"); /* No tests yet */ } diff --git a/testpar/API/H5_api_link_test_parallel.c b/testpar/API/H5_api_link_test_parallel.c index 77aa1346c46..8df1d74ba24 100644 --- a/testpar/API/H5_api_link_test_parallel.c +++ b/testpar/API/H5_api_link_test_parallel.c @@ -31,8 +31,8 @@ void H5_api_link_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_link_test_header", print_link_test_header, NULL, NULL, - NULL, 0, "Prints header for link tests"); + AddTest("print_link_test_header", print_link_test_header, NULL, NULL, NULL, 0, + "Prints header for link tests"); /* No tests yet */ } diff --git a/testpar/API/H5_api_object_test_parallel.c b/testpar/API/H5_api_object_test_parallel.c index fb809aba2da..e7b3804281a 100644 --- a/testpar/API/H5_api_object_test_parallel.c +++ b/testpar/API/H5_api_object_test_parallel.c @@ -31,8 +31,8 @@ void H5_api_object_test_parallel_add(void) { /* Add a fake test to print out a header to distinguish different test interfaces */ - AddTest("print_object_test_header", print_object_test_header, NULL, NULL, - NULL, 0, "Prints header for object tests"); + AddTest("print_object_test_header", print_object_test_header, NULL, NULL, NULL, 0, + "Prints header for object tests"); /* No tests yet */ }