Changeset 2273 for trunk/psLib/test/astronomy/tst_psMetadata_05.c
- Timestamp:
- Nov 3, 2004, 3:05:00 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psMetadata_05.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psMetadata_05.c
r2204 r2273 22 22 * @author Ross Harman, MHPCC 23 23 * 24 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $25 * @date $Date: 2004-1 0-27 00:57:33$24 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 25 * @date $Date: 2004-11-04 01:05:00 $ 26 26 * 27 27 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 145 145 } 146 146 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."); 148 148 return 45; 149 149 } … … 151 151 metadata->list = NULL; 152 152 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."); 154 154 return 50; 155 155 } … … 213 213 "Null metadata collection not allowed", 0); 214 214 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."); 216 216 return 40; 217 217 } … … 219 219 metadata->list = NULL; 220 220 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."); 222 222 return 41; 223 223 } … … 267 267 psFree(item8); 268 268 if ( psMemCheckLeaks(0, NULL, stdout) != 0 ) { 269 psError( __func__,"Memory leaks detected.");269 psError(PS_ERR_UNKNOWN, true,"Memory leaks detected."); 270 270 return 50; 271 271 }
Note:
See TracChangeset
for help on using the changeset viewer.
