Changeset 4107
- Timestamp:
- Jun 3, 2005, 2:25:07 PM (21 years ago)
- Location:
- trunk/psLib/test/dataIO
- Files:
-
- 2 edited
-
tst_psFits.c (modified) (3 diffs)
-
verified/tst_psFits.stderr (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataIO/tst_psFits.c
r4104 r4107 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $9 * @date $Date: 2005-06-0 3 23:27:20$8 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2005-06-04 00:25:06 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 380 380 psFree(fits); 381 381 382 // Attempt to get ext name from null fits file 383 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for NULL fits file"); 384 if(psFitsGetExtName(NULL) != NULL) { 385 psError(PS_ERR_UNKNOWN,true,"Expected NULL return from psFitsGetExtName with NULL fits file"); 386 return 10; 387 } 388 382 389 return 0; 383 390 } … … 582 589 583 590 psFree(fits); 591 592 // Attempt to get ext name from null fits file 593 psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error for NULL fits file"); 594 if(psFitsGetExtNum(NULL) != PS_FITS_TYPE_NONE) { 595 psError(PS_ERR_UNKNOWN,true,"Expected NULL return from psFitsGetExtNum with NULL fits file"); 596 return 10; 597 } 584 598 585 599 return 0; -
trunk/psLib/test/dataIO/verified/tst_psFits.stderr
r4104 r4107 31 31 <DATE><TIME>|<HOST>|E|psFitsMoveExtName (FILE:LINENO) 32 32 Specified extension name can not be NULL. 33 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtName 34 Following should generate an error for NULL fits file 35 <DATE><TIME>|<HOST>|E|psFitsGetExtName (FILE:LINENO) 36 The input psFits object can not NULL. 33 37 34 38 ---> TESTPOINT PASSED (psImage{psFitsMoveExtName} | tst_psFits.c) … … 67 71 Following should be an error. 68 72 <DATE><TIME>|<HOST>|E|psFitsMoveExtNum (FILE:LINENO) 73 The input psFits object can not NULL. 74 <DATE><TIME>|<HOST>|I|tst_psFitsMoveExtNum 75 Following should generate an error for NULL fits file 76 <DATE><TIME>|<HOST>|E|psFitsGetExtNum (FILE:LINENO) 69 77 The input psFits object can not NULL. 70 78
Note:
See TracChangeset
for help on using the changeset viewer.
