IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 3, 2004, 3:05:00 PM (22 years ago)
Author:
desonia
Message:

changed the psError signature to match SDRS. Also made misc. cleanups as
I was combing the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/tst_psMetadata_01.c

    r2204 r2273  
    1717*  @author  Ross Harman, MHPCC
    1818*
    19 *  @version $Revision: 1.13 $  $Name: not supported by cvs2svn $
    20 *  @date  $Date: 2004-10-27 00:57:33 $
     19*  @version $Revision: 1.14 $  $Name: not supported by cvs2svn $
     20*  @date  $Date: 2004-11-04 01:05:00 $
    2121*
    2222*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    227227    metadata1 = psMetadataReadHeader(metadata1, NULL, 22, "header_2.fits");
    228228    if (metadata1 != NULL ) {
    229         psError(__func__,"psMetadataReadHeader did not return null when invalid ext given.");
     229        psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null when invalid ext given.");
    230230        return 10;
    231231    }
     
    238238    metadata1 = psMetadataReadHeader(NULL, "AARGH", -1, "header_2.fits");
    239239    if (metadata1 != NULL ) {
    240         psError(__func__,"psMetadataReadHeader did not return null invalid extname give.");
     240        psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null invalid extname give.");
    241241        return 11;
    242242    }
     
    249249    metadata1 = psMetadataReadHeader(NULL, "MY_DATA_2", 0, "header_2.fits");
    250250    if (metadata1 != NULL ) {
    251         psError(__func__,"psMetadataReadHeader did not return null w/ valid extname, invalid extnum");
     251        psError(PS_ERR_UNKNOWN, true,"psMetadataReadHeader did not return null w/ valid extname, invalid extnum");
    252252        return 12;
    253253    }
Note: See TracChangeset for help on using the changeset viewer.