diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 20:53:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-13 20:53:35 (GMT) |
commit | 6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch) | |
tree | 5a7a112fe7a8a98c6fecb45b513789d15962eb3d /c++/test/tfile.cpp | |
parent | 6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff) | |
download | hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2 |
[svn-r11245] Purpose:
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
Diffstat (limited to 'c++/test/tfile.cpp')
-rw-r--r-- | c++/test/tfile.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index 5314741..db5b15d 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -84,7 +84,7 @@ const string FILE4("tfile4.h5"); * *------------------------------------------------------------------------- */ -static void +static void test_file_create(void) { // Output message about test being performed @@ -114,13 +114,13 @@ test_file_create(void) catch( FileIException E ) // catch truncating existing file {} // do nothing, FAIL expected - // Close file1 + // Close file1 delete file1; file1 = NULL; - // Try again with H5F_ACC_EXCL. This should fail because the file + // Try again with H5F_ACC_EXCL. This should fail because the file // already exists from the previous steps. - try { + try { H5File file2(FILE1, H5F_ACC_EXCL); // should throw E // Should FAIL but didn't, so throw an invalid action exception @@ -291,7 +291,7 @@ test_file_create(void) * *------------------------------------------------------------------------- */ -static void +static void test_file_open(void) { // Output message about test being performed @@ -329,7 +329,7 @@ test_file_open(void) /*------------------------------------------------------------------------- * Function: test_file_size * - * Purpose: Test file size. + * Purpose: Test file size. * * Return: None * @@ -340,7 +340,7 @@ test_file_open(void) * *------------------------------------------------------------------------- */ -static void +static void test_file_size(void) { // Output message about test being performed @@ -376,14 +376,14 @@ test_file_size(void) // use C test utility routine to close property list. H5Pclose(fapl_id); - + } // test_file_size() /*------------------------------------------------------------------------- * Function: test_file_name * - * Purpose: Test getting file's name. + * Purpose: Test getting file's name. * * Return: None * @@ -408,7 +408,7 @@ typedef struct s1_t { float b; } s1_t; -static void +static void test_file_name() { // Output message about test being performed @@ -484,7 +484,7 @@ test_file_name() * *------------------------------------------------------------------------- */ -void +void test_file(void) { // Output message about test being performed |