IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3288


Ignore:
Timestamp:
Feb 18, 2005, 12:32:49 PM (21 years ago)
Author:
evanalst
Message:

Add addition test case for increased code coverage for psBitSetNot.

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

Legend:

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

    r3287 r3288  
    1717 *  @author  Ross Harman, MHPCC
    1818 *
    19  *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
    20  *  @date  $Date: 2005-02-18 22:27:42 $
     19 *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
     20 *  @date  $Date: 2005-02-18 22:32:49 $
    2121 *
    2222 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    583583    outbs = NULL;
    584584
     585    psLogMsg(__func__,PS_LOG_INFO,"Following should generate an error");
     586    if(psBitSetNot(NULL,NULL) != NULL) {
     587        psError(PS_ERR_UNKNOWN,true,"psBitSetNot did not return NULL with NULL input");
     588        return 30;
     589    }
     590
    585591    psFree(bs1);
    586592    psFree(not);
  • trunk/psLib/test/collections/verified/tst_psBitSet.stderr

    r3287 r3288  
    151151<DATE><TIME>|<HOST>|I|testBitSet05
    152152    Perform binary NOT and auto allocate output
     153<DATE><TIME>|<HOST>|I|testBitSet05
     154    Following should generate an error
     155<DATE><TIME>|<HOST>|E|psBitSetNot (FILE:LINENO)
     156    Operand can not be NULL.
    153157
    154158---> TESTPOINT PASSED (psBitSet{psBitSetNot} | tst_psBitSet.c)
Note: See TracChangeset for help on using the changeset viewer.