summaryrefslogtreecommitdiffstats
path: root/c++/test/tattr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r28218] Merge of r28138, 28196, and 28204 from trunk.Dana Robinson2015-10-261-1/+1
| | | | | | | | hbool_t changes Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2 serial w/ Fortran and C++ parallel (MPICH 3.1.4) w/ Fortran
* [svn-r27979] Merge of r27961, 27962, and 27966 from trunk.Dana Robinson2015-10-071-19/+266
| | | | | | | C++ changes to address HDFFV-9169 and HDFFV-9167. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2 (serial only)
* [svn-r26894] Bring revisions #26459 - #26785 from trunk to revise_chunks.Vailin Choi2015-04-221-1/+15
| | | | h5committested.
* [svn-r26861] Bring revisions #26401 - #26459 from trunk to revise_chunks.Vailin Choi2015-04-211-26/+26
| | | | h5committested.
* [svn-r25333] Bring revisions #24948 - #25120 from trunk to revise_chunks.Vailin Choi2014-06-191-14/+35
| | | | Tested on jam, ostrich, koala, platypus.
* [svn-r25328] Bring revisions #24851 - 24948 from trunk to revise_chunks.Vailin Choi2014-06-191-0/+118
| | | | Tested on jam, koala, ostrich, platypus.
* [svn-r23601] Bring revisions #23341 - 23597 from trunk to revise_chunks.Vailin Choi2013-04-191-6/+72
| | | | h5committtested.
* [svn-r23599] Bring revisions 22802 : 23085 from trunk to revise_chunks.Vailin Choi2013-04-181-39/+96
| | | | h5committested.
* [svn-r18451] Description:Quincey Koziol2010-03-251-13/+13
| | | | | | | | | | | | | | | | | | Bring r18172:18446 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r16825] Description:Quincey Koziol2009-04-211-10/+80
| | | | | | | | | Bring revisions 16636:16821 from trunk to revise_chunks branch Tested on: FreeBSD/32 6.3 (duty) Mac OS X/32 10.5.6 (amazon) (h5committest not needed on this branch)
* [svn-r15825] Description:Quincey Koziol2008-10-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix various problems with a the core & sec2 VFDs. Improve the h5_get_file_size() routine to handle files created with VFDs that use multiple files. Tested on: Mac OS X/32 10.5.5 (amazon) in debug mode Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r15628] Description:Quincey Koziol2008-09-161-1/+1
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15395] When an attribute was opened twice and data was written with ↵Raymond Lu2008-07-221-13/+14
| | | | | | | | | | | one of the handles, the file didn't have the data. It happened because each handle had its own object structure, and the empty one overwrote the data with fill value. This is fixed by making some attribute information like the data be shared in the attribute structure. Tested on smirom, kagiso, and linew.
* [svn-r14144] Description:Quincey Koziol2007-09-131-0/+16
| | | | | | | | | | | | | | | | Move H5Gget_objinfo() to deprecated symbols section and retarget internal usage to H5Lget_info()/H5Oget_info(). Misc. other code cleanups... Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 2.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r13954] Purpose: Fix testBinh-Minh Ribler2007-07-081-0/+8
| | | | | | | | | | | | | | | | | 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)
* [svn-r13524] Purpose: Cleanup testsBinh-Minh Ribler2007-03-171-73/+82
| | | | | | | | | | | Description: Added extern "C" to cleanup functions as well, forgot last time. Cleaned up/Added comments to some of the newly added tests. Platforms tested AIX 5.1 (copper) Linux 2.6 (kagiso) SunOS 5.8 64-bit (sol)
* [svn-r13474] Purpose: Fixed bugsBinh-Minh Ribler2007-03-081-2/+4
| | | | | | | | | | | | | | | | | Description: VMS revealed a problem in calling C++ test functions from C AddTest. Solution: Per Quincey's suggestion, added #ifdef __cplusplus extern "C" #endif to the called C++ functions. Platforms tested AIX 5.1 (copper) Linux 2.6 (kagiso) On pending: waiting for Elena to test on VMS when she comes back.
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13093] Purpose: Adding testBinh-Minh Ribler2007-01-021-1/+1
| | | | | | | | | | Description: Added variable-length string tests. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
* [svn-r13082] Purpose: Code cleanupBinh-Minh Ribler2006-12-201-2/+2
| | | | | | | | | Description: Changed from hsize_t to int for rank constants to fix errors on Windows. Platform tested: Linux 2.6 (kagiso) Visual 6.0 on Windows XP
* [svn-r13050] Purpose: Code cleanupBinh-Minh Ribler2006-12-121-15/+15
| | | | | | | | | | Description: Fixed several mismatched types causing daily test to fail on tg-login. Platforms tested: Linux 2.6 (kagiso) - just to make sure no ill effects. I cannot login to tg-login3 so am going to watch for it on daily test tonight.
* [svn-r13039] Purpose: Add testBinh-Minh Ribler2006-12-111-0/+55
| | | | | | | | | | Description: Added test_string_attr to partially test recent fix of Attribute::read. Platforms tested: AIX 5.1 (copper) Linux 2.6 (kagiso) SunOS 5.8 64-bit (sol)
* [svn-r12751] Purpose:Albert Cheng2006-10-121-1/+1
| | | | | | | | | | | | | | | | Bug fix (related to 544) Description: h5_get_file_size() was coded to return 0 if failed but file size can be 0. Changed the failure return value to -1 which is allowed by the returned type of off_t which is a signed type. Also changed the checking code of the stat call to just == 0 since that is how it is defined. Test: Could test it in heping only. Both Sol and Copper failed to compiled due to error in the Direct IO VFD code.
* [svn-r12440] Purpose:Quincey Koziol2006-06-271-1/+1
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12369] Purpose: Fixed bugBinh-Minh Ribler2006-05-231-5/+5
| | | | | | | | | | | | | | | | | Description: Shanti compiler destroy unnamed objects later than others, which caused some reference counting test fail. Revised the test so that destructors are called at the same time, regardless the differences of compiler implementation. Revised some constructors, close, operator=, and destructors to make sure that all the object ids are handled properly. Platforms tested: Linux 2.4 (heping) SunOS 5.9 (shanti) HPUX 11.00 (kelgia) AIX 5.1 (copper)
* [svn-r12296] Purpose: MaintenanceBinh-Minh Ribler2006-04-251-32/+32
| | | | | | | | | | | Description: dsets.cpp: added a missing PASSED call to line up output better. tattr.cpp: casted parameters to verify_val properly to fix compilation errors on Windows, introduced from the previous checkin. Platforms tested: Linux 2.4 (heping) - very minor Windows XP
* [svn-r12286] Purpose: Fix bugBinh-Minh Ribler2006-04-201-2/+2
| | | | | | | | | | | | | | | | | Description: The file size test in C++ library failed on Copper because the value returned by h5_get_file_size was intepreted incorrectly due to different interger sizes. Solution: H5private.h: Added check to use stat64 and off64_t where appropriate. h5test.c and h5test.h: used h5_stat_size_t in place of off_t. tattr.cpp: used h5_stat_size_t in place of off_t. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper) SunOS 5.8 64-bit (sol) - still on going
* [svn-r12254] Purpose:Quincey Koziol2006-04-141-7/+7
| | | | | | | | | | | | | | Anti-feature Description: Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x branch again. The information that was added to the H5G_stat_t struct will be reported through other API routines. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ Linux 2.4/64 (mir) w/C++ & Fortran Solaris 2.9 (shanti)
* [svn-r12202] Purpose: MaintenanceBinh-Minh Ribler2006-04-051-23/+22
| | | | | | | | | | | | Description: Changed to alias string instead of std, i.e. H5std_string instead of H5std, because the old way wasn't working when std didn't exist. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia) - this was the problematic platform but I wasn't able to test before.
* [svn-r12180] Purpose: MaintenanceBinh-Minh Ribler2006-03-301-3/+4
| | | | | | | | | | | Description: Added alias H5_std so either the global or std namespace can be used, depending on H5_NO_STD. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) AIX 5.1 (copper)
* [svn-r11771] Purpose:Quincey Koziol2005-12-081-1/+0
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11763] Purpose: Adding testsBinh-Minh Ribler2005-12-051-17/+154
| | | | | | | | | | Description: Added tests for openFile and new getObjinfo. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
* [svn-r11756] Purpose: Test improvementBinh-Minh Ribler2005-12-031-2/+7
| | | | | | | | | | Description: Improved the use of std members. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) Linux 2.4 w/PGI (colonelk)
* [svn-r11487] Purpose:Quincey Koziol2005-10-011-12/+12
| | | | | | | | | | | Code cleanup Description: Tweak copyright on C++ source files to reduce whining by copyright checking script. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-60/+60
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11152] Purpose: Removed some compiler warningsBinh-Minh Ribler2005-07-251-4/+1
| | | | | | | | | | Description: Removed defined but unused variables. Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
* [svn-r10245] Purpose: Cleanup testBinh-Minh Ribler2005-03-211-30/+23
| | | | | | | | | | Description: Used C++ PredType instead of the C types to avoid unresolved symbol errors on Windows. Platforms tested: Windows XP Linux 2.4 (heping)
* [svn-r10243] Purpose: Minor bug fixBinh-Minh Ribler2005-03-201-3/+5
| | | | | | | | Description: Removed a redefinition of a variable. Platforms: Linux 2.4 (heping) - very minor
* [svn-r10240] Purpose: Adding more tests to C++ APIBinh-Minh Ribler2005-03-201-0/+1059
Description: Added C++ tests for attribute functionality, tattr.cpp. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper)