IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 1, 2004, 4:09:21 PM (22 years ago)
Author:
evanalst
Message:

Updated psImageWriteSection and psImageReadSection test cases and verified
file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/verified/tst_psImageIO.stderr

    r1221 r1942  
    55\**********************************************************************************/
    66
    7  <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as file doesn't exist.
    8  <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not open file 'foobar.fits'. (could not open the named file)
    9  <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as filename is NULL.
    10  <DATE> <TIME> |<HOST>|E|psImageReadSect|Must specify filename; it can not be NULL.
    11  <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as extnum is invalid.
    12  <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not index to HDU #4 for file tmpImages/MxN_F32.fits. (tried to move past end of file)
    13  <DATE> <TIME> |<HOST>|I|  testImageRead|Following should be an error as extname is invalid.
    14  <DATE> <TIME> |<HOST>|E|psImageReadSect|Could not index to 'bogus' HDU for file tmpImages/MxN_F32.fits. (illegal HDU number)
     7<DATE><TIME>|<HOST>|I|testImageRead
     8    Following should be an error as file doesn't exist.
     9<DATE><TIME>|<HOST>|E|psLib.image.psImageReadSection
     10    Could not open file,'foobar.fits'.
     11    CFITSIO Error: could not open the named file
     12<DATE><TIME>|<HOST>|I|testImageRead
     13    Following should be an error as filename is NULL.
     14<DATE><TIME>|<HOST>|E|psLib.image.psImageReadSection
     15    Specified filename can not be NULL.
     16<DATE><TIME>|<HOST>|I|testImageRead
     17    Following should be an error as extnum is invalid.
     18<DATE><TIME>|<HOST>|E|psLib.image.psImageReadSection
     19    Could not find HDU #4 in file tmpImages/MxN_F32.fits.
     20    CFITSIO Error: tried to move past end of file
     21<DATE><TIME>|<HOST>|I|testImageRead
     22    Following should be an error as extname is invalid.
     23<DATE><TIME>|<HOST>|E|psLib.image.psImageReadSection
     24    Could not find HDU with extension name 'bogus' in file tmpImages/MxN_F32.fits.
     25    CFITSIO Error: illegal HDU number
    1526
    1627---> TESTPOINT PASSED (psImage{psImageReadSection} | tst_psImageIO.c)
     
    2233\**********************************************************************************/
    2334
     35<DATE><TIME>|<HOST>|I|testImageWrite
     36    Following should generate an error message because input image is null.
     37<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     38    Can not operate on a NULL psImage.
     39<DATE><TIME>|<HOST>|I|testImageWrite
     40    Following should be an error for passing invalid image type.
     41<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     42    Input psImage type, psS8, is not supported.
     43<DATE><TIME>|<HOST>|I|testImageWrite
     44    Following should be an error for passing invalid image type.
     45<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     46    Could not create file,'panstarrs/writeFits.fits'.
     47    CFITSIO Error: couldn't create the named file
     48<DATE><TIME>|<HOST>|I|testImageWrite
     49    Following should be an error for passing invalid FITS file.
     50<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     51    Could not open file,'tmpImages/writeInvalidFile.fits'.
     52    CFITSIO Error: tried to move past end of file
     53<DATE><TIME>|<HOST>|I|testImageWrite
     54    Following should be an error for invalid extension name.
     55<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     56    Could not find HDU with extension name 'ext2' in file tmpImages/writeTest.fits.
     57    CFITSIO Error: illegal HDU number
     58<DATE><TIME>|<HOST>|I|testImageWrite
     59    Following should be an error for invalid extension number.
     60<DATE><TIME>|<HOST>|E|psLib.image.psImageWriteSection
     61    Specified extension number, 99, must not exceed number of HDUs, 1, by more than one.
    2462
    2563---> TESTPOINT PASSED (psImage{psImageWriteSection} | tst_psImageIO.c)
Note: See TracChangeset for help on using the changeset viewer.