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_05.c

    r2204 r2273  
    2222*  @author  Ross Harman, MHPCC
    2323*
    24 *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
    25 *  @date  $Date: 2004-10-27 00:57:33 $
     24*  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
     25*  @date  $Date: 2004-11-04 01:05:00 $
    2626*
    2727*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    145145    }
    146146    if( psMetadataGetPrevious(metadata,"myItem3",1) == NULL) {
    147         psError(__func__,"psMetadataGetPrevious did not return an item from metadata.");
     147        psError(PS_ERR_UNKNOWN, true,"psMetadataGetPrevious did not return an item from metadata.");
    148148        return 45;
    149149    }
     
    151151    metadata->list = NULL;
    152152    if ( psMetadataGetPrevious(metadata,NULL,1) != NULL) {
    153         psError(__func__,"psMetadataGetPrevious did not return null for invalid metadata.");
     153        psError(PS_ERR_UNKNOWN, true,"psMetadataGetPrevious did not return null for invalid metadata.");
    154154        return 50;
    155155    }
     
    213213                            "Null metadata collection not allowed", 0);
    214214    if( psMetadataGetNext(NULL, "myItem2", 0) != NULL ) {
    215         psError(__func__,"psMetadataGetNext did not return null for null metadata.");
     215        psError(PS_ERR_UNKNOWN, true,"psMetadataGetNext did not return null for null metadata.");
    216216        return 40;
    217217    }
     
    219219    metadata->list = NULL;
    220220    if ( psMetadataGetNext(metadata, "myItem2", 0) != NULL ) {
    221         psError(__func__,"psMetadataGetNext did not return null for invalid metadata.");
     221        psError(PS_ERR_UNKNOWN, true,"psMetadataGetNext did not return null for invalid metadata.");
    222222        return 41;
    223223    }
     
    267267    psFree(item8);
    268268    if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) {
    269         psError(__func__,"Memory leaks detected.");
     269        psError(PS_ERR_UNKNOWN, true,"Memory leaks detected.");
    270270        return 50;
    271271    }
Note: See TracChangeset for help on using the changeset viewer.