hdf5/c++/test
Binh-Minh Ribler f6ebd743d8 [svn-r13954] Purpose: Fix test
Description:
    Compilers don't destroy temporary objects at the same time, some do
    immediately after use, some delay until the end of the scope.  The
    delay makes it difficult to test the reference count functionality.

Solution:
    Enclosed the operations on objects and check reference count after
    getting out of the enclosed block.  This only works for the test!
    I'm assuming that checking reference count is just for the library
    to test that functionality; the user will not need to do that. :-/

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
2007-07-08 15:28:59 -05:00
..
dsets.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
h5cpputil.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
h5cpputil.h [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
Makefile.am [svn-r13264] Updated Makefile.am with new THG copyright notice. 2007-02-07 17:28:58 -05:00
Makefile.in [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to src/H5pubconf.h file. 2007-06-29 15:52:56 -05:00
tattr.cpp [svn-r13954] Purpose: Fix test 2007-07-08 15:28:59 -05:00
tcompound.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
testhdf5.cpp [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice. 2007-02-07 09:56:24 -05:00
tfile.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
tfilter.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
th5s.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
th5s.h5 [svn-r3639] 2001-03-14 21:55:33 -05:00
trefer.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00
ttypes.cpp [svn-r13536] Added source files to Windows C++ test project files. Both testhdf5_cpp.dsp and testhdf5_cppdll.dsp received: 2007-03-22 14:45:33 -05:00
tvlstr.cpp [svn-r13524] Purpose: Cleanup tests 2007-03-17 11:26:53 -05:00