diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-01-18 15:06:51 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-01-18 15:06:51 (GMT) |
commit | 4d6662e86c03e783c8d574dd50941edb607a07ca (patch) | |
tree | 1cdd35a160bebf4ba981b2f439e2780db354bc1c /c++/test/testhdf5.cpp | |
parent | 7c2b004f25da184a59fc4892eb6dec2997e96154 (diff) | |
download | hdf5-4d6662e86c03e783c8d574dd50941edb607a07ca.zip hdf5-4d6662e86c03e783c8d574dd50941edb607a07ca.tar.gz hdf5-4d6662e86c03e783c8d574dd50941edb607a07ca.tar.bz2 |
[svn-r28926] Purpose: Fix user reported problem
Description:
User Adam Rosenberger reported a failure when using the member function
AbstractDs::getArrayType(). This problem was caused by missing
initialization of the ArrayType's members in some cases.
Solution:
- Added ArrayType::setArrayInfo() to retrieve rank and dimensions of
an array and store them in memory for easy access.
- Re-factored a few functions to use the new function.
- We'll give him 1.8.16 patch
Merged from trunk r28905
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/test/testhdf5.cpp')
-rw-r--r-- | c++/test/testhdf5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/test/testhdf5.cpp b/c++/test/testhdf5.cpp index 19b4f0d..16648c9 100644 --- a/c++/test/testhdf5.cpp +++ b/c++/test/testhdf5.cpp @@ -91,6 +91,7 @@ main(int argc, char *argv[]) // testing variable-length strings in tvlstr.cpp AddTest("tvlstr", test_vlstrings, cleanup_vlstrings, "Variable-Length Strings", NULL); AddTest("ttypes", test_types, cleanup_types, "Generic Data Types", NULL); + AddTest("tarray", test_array, cleanup_array, "Array Datatypes", NULL); AddTest("tcompound", test_compound, cleanup_compound, "Compound Data Types", NULL); AddTest("tdspl", test_dsproplist, cleanup_dsproplist, "Dataset Property List", NULL); AddTest("tfilter", test_filters, cleanup_filters, "Various Filters", NULL); @@ -100,7 +101,6 @@ main(int argc, char *argv[]) AddTest("time", test_time, cleanup_time, "Time Datatypes", NULL); AddTest("vltypes", test_vltypes, cleanup_vltypes, "Variable-Length Datatypes", NULL); AddTest("iterate", test_iterate, cleanup_iterate, "Group & Attribute Iteration", NULL); - AddTest("array", test_array, cleanup_array, "Array Datatypes", NULL); AddTest("genprop", test_genprop, cleanup_genprop, "Generic Properties", NULL); AddTest("id", test_ids, NULL, "User-Created Identifiers", NULL); |