IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4155


Ignore:
Timestamp:
Jun 8, 2005, 9:48:16 AM (21 years ago)
Author:
evanalst
Message:

Update test case for psPixelsConcatenate from NULL input pixels.

Location:
trunk/psLib/test/collections
Files:
2 edited

Legend:

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

    r4153 r4155  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.5 $
     7 *  @version $Revision: 1.6 $
    88 *           $Name: not supported by cvs2svn $
    9  *  @date $Date: 2005-06-08 19:28:59 $
     9 *  @date $Date: 2005-06-08 19:48:15 $
    1010 *
    1111 *  Copyright 2005 Maui High Performance Computing Center, University of Hawaii
     
    488488    }
    489489
     490    // Attempt to concatenate with NULL pixels
     491    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error message for NULL pixels");
     492    if(psPixelsConcatenate(pixels2,NULL) != NULL) {
     493        psError(PS_ERR_UNKNOWN,true,"Did not expect return to be non-NULL for NULL input pixels");
     494        return 12;
     495    }
    490496
    491497    psFree(pixels3);
  • trunk/psLib/test/collections/verified/tst_psPixels.stderr

    r4153 r4155  
    6666\**********************************************************************************/
    6767
     68<DATE><TIME>|<HOST>|I|testPixelsConcatenate
     69    Following should generate an error message for NULL pixels
     70<DATE><TIME>|<HOST>|E|psPixelsConcatenate (FILE:LINENO)
     71    Input psPixels can not be NULL.
    6872
    6973---> TESTPOINT PASSED (psPixels{psPixelsConcatenate} | tst_psPixels.c)
Note: See TracChangeset for help on using the changeset viewer.