summaryrefslogtreecommitdiffstats
path: root/c++/test/tfile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r24356] Bring revision #24337 from revise_chunks.Vailin Choi2013-10-241-28/+27
| | | | h5committested.
* [svn-r23601] Bring revisions #23341 - 23597 from trunk to revise_chunks.Vailin Choi2013-04-191-8/+4
| | | | h5committtested.
* [svn-r23599] Bring revisions 22802 : 23085 from trunk to revise_chunks.Vailin Choi2013-04-181-8/+129
| | | | h5committested.
* [svn-r22600] Description:Quincey Koziol2012-07-251-2/+11
| | | | | | | | Bring r22251:22599 from trunk to revise_chunks branch. Tested on: Mac OSX/64 10.7.4 (amazon) w/gcc 4.7.1, C++ & FORTRAN (Not h5committested yet, as this branch doesn't require it)
* [svn-r18451] Description:Quincey Koziol2010-03-251-5/+5
| | | | | | | | | | | | | | | | | | 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-r13524] Purpose: Cleanup testsBinh-Minh Ribler2007-03-171-26/+28
| | | | | | | | | | | 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-r12326] Elena Pourmal2006-05-031-1/+1
| | | | | | | | | | | | | | | | Purpose: Bug fix for VMS Description: I am not sure why I didn't see this bug before ;-O. H5_HAVE_FILE_VERSIONS macro was added (by me) to the wrong place causing test program to get creation property list from a non-existing file object. As a result test program failed with access violation error. Solution: Fixed. Platforms tested: VMS server and copper (just in case) Misc. update:
* [svn-r12252] Purpose: MaintenanceElena Pourmal2006-04-141-3/+4
| | | | | | | | | | | | | | | | Description: Brought VMS changes back (very minor): In tfile.cpp file some tests for open and creation should fail on UNIX, but this is not true on VMS since it has versioning of the files. In dsets.cpp std::count was used, but it is not available on VMS; also VMS didn't like "bogus" name for the filter function. Solution: Used H5_HAVE_FILE_VERSIONS and H5_VMS variables to control the tests; replaced "bogus" function with "filter_bogus" function Platforms tested: VMS server, heping Misc. update:
* [svn-r12202] Purpose: MaintenanceBinh-Minh Ribler2006-04-051-10/+9
| | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | 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-r11756] Purpose: Test improvementBinh-Minh Ribler2005-12-031-2/+9
| | | | | | | | | | 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-11/+11
| | | | | | | | | | | | | | | | | | | | 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-r10953] Purpose: Updating C++ testsBinh-Minh Ribler2005-06-191-68/+65
| | | | | | | | | Description: Updated various comments/headers. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper)
* [svn-r10242] Purpose: Updating C++ testsBinh-Minh Ribler2005-03-201-4/+5
| | | | | | | | | | Description: Added an overloaded function for the template function verify_val. Updated various comments/headers. Platforms tested: Linux 2.4 (heping) AIX 5.1 (copper)
* [svn-r9890] Purpose: Clean up testsBinh-Minh Ribler2005-01-311-41/+47
| | | | | | | | | | | | | | | | Description: + C tests' macro VERIFY casts values to 'long' for all cases. Since there are no operator<< for 'long long' or int64 in VS C++ ostream, I casted the hsize_t/hssize_t values passed to verify_val to 'long' as well. If problems arise later, this may have to be specificly handled with an overload - th5s.cpp + Added the use of InvalidActionException for when an action should cause an exception but didn't - th5s.cpp and tfile.cpp + Small changes to improve failure reports Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9789] Purpose: Tests cleanupBinh-Minh Ribler2005-01-101-24/+48
| | | | | | | | | | | | | Description: C tests' macro VERIFY casts values to 'long' for all cases. Since there are no operator<< for 'long long' or int64 in VS C++ ostream, I casted the hsize_t/hssize_t values passed to verify_val to 'long' as well. If problems arise later, this may have to be specificly handled with an overload. Platforms tested: Linux 2.4 (eirene) Windows 2000
* [svn-r9737] Purpose: Clean up testsBinh-Minh Ribler2005-01-031-2/+2
| | | | | | | | | Description: Corrected a misuse of a variable causing access violation. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9696] Purpose: Clean up testsBinh-Minh Ribler2004-12-201-93/+177
| | | | | | | | | | | | Description: Replaced cout's with cerr's. Replaced macro VERIFY with template function verify_val to verify read data/info. Cleanup various places in the tests to make them more consistent. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r8850] Purpose: Fixing minor bugBinh-Minh Ribler2004-07-091-3/+1
| | | | | | | | | | | Description: Changed call to H5File::getFileSize according to C library and removed CHECK for this call because failure will be handled by exception. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (eirene)
* [svn-r8820] Purpose: Bug fixRaymond Lu2004-07-071-2/+3
| | | | | | | Description: After changing H5Fget_filesize, forgot to update C++. Platforms tested: Tested for 1.6
* [svn-r8765] Purpose: New feature and its test.Raymond Lu2004-06-301-0/+3
| | | | | | | | | | | Description: Added new API H5Fget_name and new test program called filename.c. This function returns the name of the file by object ID(file, group, dataset, named datatype, and attribute) which belongs to the file. Platforms tested: h5committest and fuss. Misc. update: MANIFEST and RELEASE.txt
* [svn-r8740] See checkin message for H5File.cpp and H5File.hRaymond Lu2004-06-241-0/+59
|
* [svn-r7201] Purpose:Quincey Koziol2003-07-101-6/+3
| | | | | | | | | | | | | Code cleanup Description: Finish converting the B-tree 'K' values to use unsigned integers, rather than signed ones, since negative amounts of entries in a B-tree node aren't meaningful. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7181] Purpose:Quincey Koziol2003-07-071-12/+0
| | | | | | | | | | | Version update Description: Removed 1.4 compatibility code in the library. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7012] Purpose:Binh-Minh Ribler2003-06-101-4/+3
| | | | | | | | | | | | Text cleanup Description: Re-worded some informative and error messages. Remove/Updated outdated comments. Platforms: Linux 2.4 (eirene) IRIX 6.5.11 (modi4)
* [svn-r6484] Purpose:Bill Wendling2003-03-171-0/+5
| | | | | | | | | | | Bug Fix Description: Kelgia needs the old header file format for #includes. Solution: Conditionally include the old header file format if OLD_HEADER_FILENAME is defined. Platforms tested: Kelgia
* [svn-r6236] Purpose: CopyrightBinh-Minh Ribler2003-01-071-13/+26
| | | | | | | | | Description: Added copyright notice to C++ API files, including *.h, *.cpp, and Makefile.in Platforms: Linux 6.2 (eirene)
* [svn-r4670] Purpose:Quincey Koziol2001-12-051-0/+12
| | | | | | | | | | | | | | | | Backward Compatibility Fix Description: One of H5P[gs]et_sym_k's parameters changed between v1.4 and the development branch. Solution: Added v1.4 compat stuff around H5P[gs]et_sym_k implementation and testing to allow v1.4.x users to continue to use their source code without modification. These changes are for everything except the FORTRAN wrappers - I spoke with Elena and she will make the FORTRAN wrapper changes. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4553] Purpose:Quincey Koziol2001-10-171-3/+6
| | | | | | | | Bug fix. Description: Fix int/unsigned problem in C++ wrapper API Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r3625] Binh-Minh Ribler2001-03-141-37/+47
| | | | | | | | | Purpose: Format and typos mostly Description: Changed the "Copyright" header of some files so they will be consistent. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3582] Binh-Minh Ribler2001-03-091-20/+12
| | | | | | | | | | | | | Purpose: Test code improvement Description: - Added H5_HAVE_ZLIB_H and H5_HAVE_LIBZ to dsets.cpp - Added the use of new API Exception::getCFuncName to obtain the name of the function where failure occurs, to various places in the test code. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3549] Purpose:Bill Wendling2001-03-051-59/+50
| | | | | | | | | | | | | | | | | | | Adding Test Description: - Add the tests to the Makefile so that they'll be executed. - Fixed a few bugs in dsets.cpp * Some buffers should have been char *'s instead of void *'s. * An iterator for a loop wasn't declared properly. - Formatting changes Solution: - Changed the void *'s to char *'s. - Declared the loop iterator. NOTE: Doesn't work just yet. There's a conflict with a C++ keyword (delete) in the H5Pprivate.h header file. Quincey's looking into this. Platforms tested: Linux
* [svn-r3532] Purpose:Binh-Minh Ribler2001-03-011-0/+332
Adding tests to the C++ API Description: The C++ API has no formal testing yet. Solution: Added tests for file and dataset interfaces. I'm still working on other tests. Platforms tested: Linux (gcc version egcs-2.91.66) I temporarily modified the Makefile on my local Linux machine and these tests work. I need Bill to help adding them permanently before I can test on an NCSA machine. I checked the files in now so Bill can do that.