diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-01-16 15:23:34 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-01-16 15:23:34 (GMT) |
commit | dfd0b59ae63ee79c8c135d0c05fe65e77422701c (patch) | |
tree | 5ff50c1587a9053cc1283b826cdfb8a1b38f8090 /src | |
parent | 35985b6dbaad14e40146c0d1b04382a4f048e4d0 (diff) | |
download | hdf5-dfd0b59ae63ee79c8c135d0c05fe65e77422701c.zip hdf5-dfd0b59ae63ee79c8c135d0c05fe65e77422701c.tar.gz hdf5-dfd0b59ae63ee79c8c135d0c05fe65e77422701c.tar.bz2 |
[svn-r9829] Purpose: Clean up tests
Description:
+ replaced "goto error" with throw exceptions
+ properly cleanup dynamically allocated memory in failure cases,
for in some cases, the execution continues on after the failures
were reported.
+ added test utility class InvalidActionException for when an action
should cause an exception but doesn't.
Platforms tested:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
Note that there was an error due to the missing symbol H5E_LEN. To
be able to test my changes, I temporarily replaced H5E_LEN in c++/src
with a constant as in the C tests, before the problem can be fixed.
This value doesn't effect the C++ tests at all, at this time.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions